I'm looking for a decent Javascript widget toolkit, preferably with modern UI design (such as Dojo), AJAX for navigation and effects. However it must be flexible and fallback to HTML-only version nicely (for console users). Which one would you recommend ? What techniques should I generally follow ?
1 Answer
I'd say that you shouldn't think too much about the javascript library right now. If your plan is to have a site that can work entirely without javascript, then build that site now without any javascript.
If you start out by building the site with javascript, you'll still have to add a bunch of HTML later, to make it work without javascript. So build the HTML-only version first because either way you'll need it. Then you can use whichever library you want to do progressive enhancement and make everything more dynamic/interactive/spiffier for when there is javascript available.
In other words: If there's no javascript, a library can't do anything about it, since it won't run at all. So a library can't "fall back" to something that isn't already in the HTML; you'll have to build that.
Not much of an answer to the actual question about libraries, but I hope its useful anyway.