• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jquery or Prototype

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
I am starting a new Project. There would be substantial use of Ajax.

Which Ajax framework would you recommend?. JQuery or Prototype.
Or would you suggest something different?

Cheers
Aneesh
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is really your choice, most of us here moved away from Prototype.js and went to jQuery.

Eric
 
Aneesh Vijendran
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. Thats a good reply indeed.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you aren't familiar with either, and don't have an installed base of code for either, go with jQuery. For some of my stuff I started out using Prototype, and it does everything I'm looking for in a JavaScript library (along with Scriptaculous for some visual effects), so I never saw the need to make the switch. But if I were to start now, I'd go with jQuery as well.
 
Aneesh Vijendran
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good Stuff. Thanks Ulf.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Personally, I don't have a strong bias towards one or the other anymore. I'd play with both and see which fits your style of JavaScript programming, what the rest of the people on your team like, and so on.
 
Sheriff
Posts: 67746
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
As someone who's written a book on each technology, I feel uniquely qualified to comment. At this stage, Prototype is a dinosaur. It's tried valiantly to keep up, but its origin in trying to make JavaScript look like Ruby, and its intrusiveness into the page make it a distant second to jQuery, in my opinion.

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you recommend between jQuery and DoJo?
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
He'll say jQuery.

Recent Dojo versions are actually quite good, but it's also a steeper learning curve.
 
Bear Bibeault
Sheriff
Posts: 67746
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
While I haven't written a Dojo book, I did do a technical review of one. David is right, though Dojo is not a bad library, I'd still recommend jQuery as I prefer its approach. Dojo is a bit heavy for my tastes.

But ultimately, it depends upon your own needs and approach you prefer.
 
anyz mick
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for very helpfull replies. Time to learn new library in our project is very crusial and we are looking for easy to use library. So jQuery will be our obvious choice if its learning curve is less than that of DoJo. I'm also evaluating jMaki, a wraper on various Ajax based libraries. I think it will lot easy to work with wraper classes as compared with scripting everything (yes it loses certain control over widgets and less flexible.) jMaki at time is not providing wideges from jQuery but it is wraping many others. So if we find our required widget jMaki should be OK. I will take a detailed look into jMaki.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic