web-development

Tools and Techniques for Reviewing a Website's Content and Structure

Can the stackoverflow community recommend tools, techniques, and processes for checking the structure and content of a moderately large, collaboratively edited, evolving website? This process is time consuming to do manually, and it would be desirable to automate this to the fullest extent possible via software. I am interested in check...

How to access images on a directory outside of the web application

I'm using Apache and Windows and I'm writing an application that needs to display the images of parts that are on a different server, not in the path of the application directory. There are too many images to move and other applications use these same images. What is the best way to deal with this problem? The back end is php and myslq...

How to view object's data in php

Hello when I want to test php array I use the following code print_r($myarray); but know I want to see the data of an object my object is $xpath = new DOMXPath($doc); $myobject = $xpath->query('//*[ancestor-or-self::a]'); when I use print_r($myobject); I get that output DOMNodeList Object ( ) I want to i...

Managing Wordpress blog on development and live environment

I have basically three environments that I use to work on my main site. I have my local one on my computer and the development and live ones on my web server. I developed the site using Wordpress on the local environment and want to keep everything up to date via svn. What would be the best way to do this since I need three installs of...

Javascript: sharing data between tabs

What is the best way to share data between open tabs in a browser? As an example, Facebook panel: when you open a chat window in a tab, it's opened in other open tabs too. ...

Google App Engine as production platform

We are about to start working on new commercial web project and considering Google App Engine as a potential platform. Questions: Does Google App Engine is really scalable and may be considered as a production platform for commercial project? Is it more expensive (or cheaper) than good hosting company service in long run? Is it possi...

CSS font-size property from Percent to Pixel, How to?

Hello I want to convert the font-size property value from percent to pixel lets say I have this html code <div style="font-size: 180%;"> <a href="http://www.example.com"&gt; link </a> </div> How to find the equivalent value for font-size: 180%; in pixel? Thanks ...

Get bitmap of an web page using WebBrowser Control in .net compact framework.

Hi, I am trying out to get the bitmap of web page loaded in web browser control, but found that WebBrowser.CreateGraphics() and even WM_PRINT (DrawToBitmap) message response is also missing in .net compact framework. After searching through internet found one of the .net sample code which gets complete web page in bitmap When i tried ...

Displaying Nullable Boolean Input In UI

I currently have an advanced search page that searches a number of fields in my database. It has several textboxes that all search different fields, the user has the option to leave textboxes blank and they will be ignored from the search. The problem is I now want to add to this to also search some of my BIT fields, my original idea wa...

question about Character encoding in Web

let's say I have a JSP Page(i just list part of it, please don't mind): <%@ page language="java" contentType="text/html;charset=UTF-8"%> <form> <input type=input> </input> 中華<!--character with BIG5 encoding> </form> and In server side I use this request.setCharacterEncoding("UTF-8"); my problem is: If i use...

Jetty / Tomcat session saving

Where does Tomcat or Jetty saves the sessionids (without session persistence configuration)? Does it go anywhere in the file system, or does it stay just in memory? ...

How to best implement Version Control for Web Development?

Version control systems are obviously important in development projects but there use in web development projects appears to be more complex, what with the requirement of having a web server to run all but the simplest of web applications. With that in mind, I have looked around and discovered a few different methods of using version co...

Have you ever hit an actual limit of php in web dev?

Aside from scalability issues, has anyone here actually stumbled upon a web-development problem where PHP just didn't cut it and had to go for another language / platform? I am interested in particular scenarios and the ways they have been handled. Thanks. ...

How good is jQuery at coexisting with other Javascript libraries?

I am working on a server-side framework. Here and there I have been adding hand-crafted javascript to do things on the client side. However this is becoming more and more painful and from what I heard I think jQuery can be of help. The issue is that as this is essentially server side stuff, I don't want to obligate my users (assuming ...

Is there a YSlow-like tool for IE7?

I love YSlow for Firebug/Firefox, but I've hit a situation where I want to profile an HTTPS site, that doesn't physically work outside of IE6/7 (e.g. no IE8, no Firefox, no Chrome) Fixing the site to work in all browsers is officially Step #1, but to do some analysis and benchmark the existing site (which will help in reporting overall ...

Rails: when would one use shopping cart software when developing a webstore with rails?

For someone who would like to develop a webstore type web application, and at the same time learn about web development with rails, would you recommend using a shopping cart service or starting from scratch? I guess I'm not entirely sure exactly what shopping cart software is either, so if someone could elucidate this and explain why som...

ENTER key on a FORM with a single Input Field, will automatically SUBMIT with GET

Why is it that a form with a single input field will reload the form when the user enters a value and presses the Enter key, and it does not if there are 2 or more fields in the form. I wrote a simple page to test this oddity. If you enter a value in the second form and press Enter, you'll see it reloads the page passing the entered val...

coldfusion builder rds fails dreamweaver cs4 rds works

I am currently attempting use Adobe RDS built into Coldfusion Builder to connect to our servers RDS setup, no matter how I set it up to match Dreamweaver CS4 RDS it fails. Everything through Dreamweaver RDS works fine, but I would rather use cf builder, any ideas or links? ...

how to add the servlet api to my pom.xml

How do I add the servlets API to my project's pom.xml mvnrepository.com has lots of servlet api and similarly named projects, that I don't know which is the right one. Or are all of them ok? ...

Access class static function via variable

So I have a PHP class called router that takes the URL and explodes it to find the requested component, action and any given values. It then loads the responsible class, runs the action, etc, etc. I am now integrationg user access into the class via an user class. For each component (which is a class), I have a static class array varia...