A few months ago, I tested a user population on a main website with millions of users that I worked on, and about 10% of unique users did not execute Javascript.
Consider the opposite: is it worth developing a site that works only for users who support Ajax? Do you really ignore the search engines, most mobile phones and a bunch of other users?
Back to the basics. First, build your site using bare-bone (X) HTML , according to REST rules (at least to the extent that POST requests are required for state changes). Simple semantic markup and forget about CSS and Javascript.
Step one is to get this right, and have your entire site (or as much as it makes sense) working this way for search engines and Lynx-like user agents.
Then add a visual layer: CSS / graphics / media for visual polishing, but do not significantly change your original (X) HTML markup; Allow the source text site to remain intact and function. Keep your markup clean!
Third, add a behavioral layer: Javascript (Ajax). Suggest things that make the process faster, smoother, more enjoyable for users / browsers with Ajax JS support ... but only for those users. Users without Javascript are still welcome; as well as search robots, visually impaired, many mobile phones, etc.
This is called a progressive improvement in web design circles. Do it this way, and your site works in some reasonable way for everyone.
mattandrews May 05 '09 at 3:54 a.m. 2009-05-05 03:54
source share