• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Beginning Object Oriented Javascript Question

 
Andy Daykin
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What AJAX libraries do you think best utilize object oriented programming? I have used Dojo mainly and I can say that it is relatively simple to use and access the api, but if you are creating a very big application it can be a little limited in that regard. Are there any AJAX libraries out there that you favor for this?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of the libraries I've used, Prototype seems to have the heaviest emphasis on OO.
 
Stoyan Stefanov
author
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have extensive experience with YUI and only limited experience with prototype and jquery, so I don't know if I'm not too biased. Prototype really aims to be closest to thinking in terms of classes. Is this a good thing or just trying to make JS something it's not (class-based), I can't be the judge of that
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My biggest beef with Prototype (which I am a fan of, I wrote a book on it after all) is that it tries a bit too hard to make JavaScript seem like a class-based copy of Ruby. That, and its intrusiveness into the DOM.

It is a great library -- I'm just enjoying the hands-off approach of jQuery more these days.
[ August 27, 2008: Message edited by: Bear Bibeault ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic