| Author |
Beginning Object Oriented Javascript Question
|
Andy Daykin
Greenhorn
Joined: Feb 01, 2008
Posts: 16
|
|
|
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
Joined: Jan 10, 2002
Posts: 56150
|
|
|
Of the libraries I've used, Prototype seems to have the heaviest emphasis on OO.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Stoyan Stefanov
author
Ranch Hand
Joined: Jul 16, 2008
Posts: 61
|
|
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
|
<a href="http://www.thinkinginjavascript.com" target="_blank" rel="nofollow">my OOJS book</a>
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56150
|
|
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 ]
|
 |
 |
|
|
subject: Beginning Object Oriented Javascript Question
|
|
|