web-development

Does Ajax detoriate performance?

I was just wondering if excess use of Ajax affects performance? In context of big size web-applications how to handle ajax request to control asynchronous requests ...

How important do you think Progressive Enhancement is?

Progressive Enhancement is a web development methodology that not only allows greater portability and accessibility but in my opinion, makes the development process easier. What I want is to know what the rest of the community think of this approach. In particular: What do you believe is the minimum set of technologies that a web appli...

Convert/extract phpinfo() into php.ini

I am thinking along the lines of replicating a web hosts PHP setup environment for offline local development. The idea is to parse the output of phpinfo() and write any setup values it contains into a local php.ini. I would imagine everything ism included in phpinfo and that certain things would only be specific to the environment it is...

MVC or event-driven component-oriented web frameworks?

This question intends to be technology-agnostic. Which kind of web framework do you prefer, and when: Pure MVC or event-driven component-oriented? Just to make the point in "technology-agnosticism", here I name a few MVC vs. component web frameworks, in diverse technologies / languages: Struts vs. Java Server Faces / Tapestry The new ...

What are the quickest and easiest ways to ensure existing web pages display well on mobile platforms?

The pages in question contain a lot of javascript and CSS. How well are these supported by mobile platforms generally? Is there a browser emulator (or equivalent tool) to assist testing? ...

How can I perform a Google search on different Google datacentres?

I would like to get up-to-date information on Google's index of a website, and it seems that results vary depending on which datacentre happens to process your search query. ...

Licensing Websites - How does it work?

I've been looking at several sites that offer a form of "linkware" license where you get the website for free but need to keep all links to the developers site in place. Purchasing a license key and adding it to the site (either in a database or some form of config file) removes these links. I was wondering if anyone has had any experie...

What is the difference between the <%# and <%= opening tags?

While editing an aspx file I found both these opening tags used for seemingly the same thing. Is there a difference and if yes, what is it? ...

Browser Detection

What's the best / simplest / most accurate way to detect the browser of a user? Ease of extendability and implementation is a plus. The less technologies used, the better. The solution can be server side, client side, or both. The results should eventually end up at the server, though. The solution can be framework agnostic. The sol...

What are some good books on web UI?

I'm looking to expand my knowledge of web interfaces and interactions but there are so many books out there. What would be a good few to start with? ...

Best Javascript drop-down menu?

I am looking for a drop-down JavaScript menu. It should be the simplest and most elegant accessible menu that works in IE6 and Firefox 2 also. It would be fine if it worked on an unnumbered list (ul) so the user can use the page without JavaScript support. Which one do you recommend and where can I find the code to such a menu? ...

When do you use a JSP and when a Servlet?

I have an application that sends the customer to another site to handle the payments. The other site, outside of the customer, calls a page on our server to let us know what the status is of the payment. The called page checks the parameters that are given by the payment application and checks to see whether the transaction is known to u...

Training courses for web development.

So my workplace has recently started doing a fair amount of web development. Currently there are only 2 developers other than myself who can grasp more than the basic concepts of of the languages involved. My manager wants to bring some of the other developers up to speed to take over some of the web development work that is piling up....

Prevent a PostBack from showing up in the History

I have a page where I submit some data, and return to the original form with a "Save Successful" message. However, the user would like the ability to return to the previous page they were at (which contains search results) by clicking the browser's Back button. However, due to the postback, when they click the Back button they do not g...

What single URL should every web developer have bookmarked?

All web developers have bookmarks which they constantly reference. Is there any one URL that should be more popular among web developers? ...

Is anyone targeting Google Chrome yet? (Web apps, plugins)

Is anyone writing applications specifically to take advantage of google chrome? Are there any enterprise users who are considering using it as the standard browser? ...

How is AJAX implemented, and how does it help web dev?

From http://en.wikipedia.org/wiki/AJAX, I get a fairly good grasp of what AJAX is. However, it looks like in order to learn it, I'd have to delve into multiple technologies at the same time to get any benefit out of it. So two questions: What are resources that can help me understand/use AJAX? What sort of website would benefit from AJ...

What's the best way to make a mobile friendly site?

Speaking entirely in technology-free terms, what is the best way to make a mobile friendly site? That is, I want to make a site that will work on a regular computer but also have mobile versions of the pages. Should I rewrite each page? The pages will probably have different functionality, so should I rewrite the backend code? Should...

Best way of restarting a jetty instance

I'm using start.jar and stop.jar to stop and start my jetty instance. I restart by calling stop.jar, then start.jar. The problem is, if I don't sleep long enough between stop.jar and start.jar I start getting these random ClassNotFoundExceptions and the application doesn't work correctly. Sleeping for a longer period of time between sto...

The essential steps in verifying a file upload

What would you say are the essential steps in verifying a file upload? I'd tend to check the MIME type, give it a new (random) name, make sure its got an allowed file extension, and then I'd check the contents of the file. How do you go about it? ...