• 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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Bear Bibeault
  • paul wheaton
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Mikalai Zaikin
  • Piet Souris
Bartenders:

Best Ajax Framework

 
Ranch Hand
Posts: 645
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 645
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Much Gregg ,

what are your thoughts on DWR or JSON?

-P
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 645
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 67732
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Praful Thakare
Ranch Hand
Posts: 645
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hmm i see, Thanks much Bear , let me grab pdf of jquery and get hang of it.

-P
 
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic