| Author |
Best Ajax Framework
|
Praful Thakare
Ranch Hand
Joined: Feb 10, 2001
Posts: 613
|
|
Hi, I have an application built in struts framework,and I have to introduce Ajax, what is the best ajax framework i should go for? -P
|
All desirable things in life are either illegal, banned, expensive or married to someone else !!!
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
|
Since you are integrating with something already written the best solution is going to be something unobtrusive like JQuery. Prototype is another option but I prefer JQuery.
|
 |
Praful Thakare
Ranch Hand
Joined: Feb 10, 2001
Posts: 613
|
|
Thanks Much Gregg , what are your thoughts on DWR or JSON? -P
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
Originally posted by Praful Thakare: Thanks Much Gregg , what are your thoughts on DWR or JSON? -P
Haven't really used DWR. JSON is not an ajax anything. It's a specification for passing objects around as a String using JavaScript. I use it extensively with JQuery when I need more than a chuck of HTML sent back from the server.
|
 |
Praful Thakare
Ranch Hand
Joined: Feb 10, 2001
Posts: 613
|
|
cool, thanks again, DWR allows to call methods on java class at server side, it behaves like proxy can any one throw more light on using DWR vs jQuery ? -P
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56218
|
|
jQuery is a general-purpose library whose purview goes beyond just Ajax. And as Gregg pointed out, it's designed to be unobtrusive and works well in an existing environment and with other tools. DWR is cool for what it is, but it really requires you to write your pages and server interactions in a manner not consistent with "normal" web apps. If you want to re-jigger things that way, that's cool. Otherwise, something like jQuery might be a better fit. [ March 31, 2008: Message edited by: Bear Bibeault ]
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Praful Thakare
Ranch Hand
Joined: Feb 10, 2001
Posts: 613
|
|
hmm i see, Thanks much Bear , let me grab pdf of jquery and get hang of it. -P
|
 |
 |
|
|
subject: Best Ajax Framework
|
|
|