Leo Lipelis
Posts: 111
Nickname: aeoo
Registered: Apr, 2006
|
|
Re: Is Java more efficient than Ajax for advanced web apps?
|
Posted: Jan 23, 2007 11:58 AM
|
|
I agree. AJAX is good for an occasional one-off asynchronous request to the server. Java applets are better if you need something GUI-rich and complicated.
AJAX is definitely a hack in a negative sense of the word "hack". The nastiness of the AJAX hack is usually wrapped and covered by a framework of some kind to make it more palatable to developers, but basically AJAX does something that web pages were not designed for.
HTML and XHTML were not designed to be highly dynamic. They were designed to be semantic, descriptive and informative rather than imperative. Any sites that have ugly URLs, that break the back button, that cannot be viewed in a plain text web browser break the truly beneficial nature of HTML/XHTML, etc. It's a travesty.
If all sites were built with nasty AJAX, then google would have nothing to index. That not to say that all AJAX stuff is nasty. But likewise, if all websites were giant applets and flash (yuck) windows, then again google would have nothing to index. I'm using google as an example here. Being able to search the web is absolutely critical. Being able to selectively query various elements of the page is critical. Being able to control the presentation *as a user* of the web page is critical. Applets and flash break that.
Out of applets and flash, flash is by far the worst offender right now. I don't mind if flash is used for ads. But when people do their entire sites in flash, that's a very bad practice. If some web site needs to provide office-like functionality, then applet may be the right choice. But for most sites I think applets are the wrong choice. A smattering of well behaved AJAX can be good too.
|
|