2011-10-20, 12:33 PM
AJAX reduces the number of page reloads. The user sees the same page but some of the data on it changes. Trust me - the only way AJAX is going to go away is if HTML6 introduces something better. There aren't enough hours in the day for me to keep caught up with the demands I have now for web apps (I do this for a living). Without AJAX? I'd retire. I haven't written a non-Ajaxian app in at least a couple of years, except for little test pages. (And none at all if you include FirePHP as AJAX - my bare PHP template includes FirePHP.)
No problem with JS, unless you're running IE 5.5. It keeps getting better with each version of IE, and even 8 does a fairly decent job. And I push it almost to the limit. (Granted, filling a grid with 1,000 rows in 5.5 meant going out for a nice long lunch before IE finished rendering the grid.)
Not every browser supports the same features in CSS or HTML, so we have to go back to a fully-textual web (yes, the web was originally hypertext). Or we can write code that's pretty cross-browser compatible. Don't blame the language, or the interpreter, for problems caused by "programmers" who don't actually know what they're doing.
BTW, sending a request to the server, then changing the value or innerHTML on a text or div, is totally cross-browser compatible. You'll find it next to "totally trivial" in the dictionary.
No problem with JS, unless you're running IE 5.5. It keeps getting better with each version of IE, and even 8 does a fairly decent job. And I push it almost to the limit. (Granted, filling a grid with 1,000 rows in 5.5 meant going out for a nice long lunch before IE finished rendering the grid.)
Not every browser supports the same features in CSS or HTML, so we have to go back to a fully-textual web (yes, the web was originally hypertext). Or we can write code that's pretty cross-browser compatible. Don't blame the language, or the interpreter, for problems caused by "programmers" who don't actually know what they're doing.
BTW, sending a request to the server, then changing the value or innerHTML on a text or div, is totally cross-browser compatible. You'll find it next to "totally trivial" in the dictionary.