Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Christian - Most robust AJAX library

Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It seems that there is an explosion of AJAX libraries and opensource projects, RICO, DWR, Prototype, etc. Which one seems to have the most support and do you see these as compimenetary or competitive to each other.

Also, does AJAX play well with Struts and tiles?

Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You figure that there are one or two Ajax libraries?

I don't know which libraries seem to have the most support, and would not even want to guess at that. The market in my opinion is too wide open, and not settled enough. There is too much noise and I am part of that noise.

From a personal perspective I like Prototype, and DojoToolkit the best as they seem to be the most professional and well thought out. This is not to say that other toolkits are bad. Just that Prototype, and DojoToolkit jump out to me and say, "use me, use me". What I like about the two mentioned toolkits is that they are client side focused and do not try to "fix" the server.

For protocol I see XML, and JSON as being two defacto standards. Initially I disliked JSON, but have appreciated its niche with respect to Ajax.

With respect to Ajax, Struts and Tiles. IMHO, and please let's keep it at that, I feel those days are past us. I believe that the power of Ajax is its ability to decouple the client from the server and vice-versa.

Struts and Tiles solve the problem well, because Struts and Tiles assume that the client is generally "dumb". However, Ajax changes this in that the client can make decisions and load the appropriate content when its needed. The focus of control on what the application does switches from the server to the client. The client sees the server as a series of resources that can be dynamically injected into the HTML. The individual resources will in most cases not be related to each other, and expect the client to wire everything together.

I personally feel the Ajax approach is how we code client GUI's in a traditional environment. When we create a push button, and click it, the client decides what to do and how to do it. In most cases the client will make server side calls using IIOP, or Web Services. In the case of Ajax I see REST as the server side calling mechanism.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic