Favorite Javascript frameworks?

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

Who's got a favorite and why? I don't usually use a lot of js but I have a project that's going to require me to learn a framework. So whats the best one? Mootools? YUI? JQuery? something else?

Also if anyone has any good resources for learning said favorite framework I would be very interested.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

I wasn't a fan of JS libraries for a few years. They all seemed to make simple tasks overly complicated & a lot of times the extra bandwidth required to load the library was just too much, like jumping in a monster truck to go to the next door neighbors house.

In the last year or so I've grown quite fond of jQuery though.

For one, the library is hosted at Google Code & can be linked to in my pages, effectively outsourcing the librarys weight.
http://code.google.com/p/jqueryjs/
If everyone who used jQuery loaded the library from there, it would increase performance of applications on a large scale since visitors browsers would be able to use the cached copy of jQuery they loaded when they visited another site.

For two, I really like the way HTML elements are gathered to work with by using CSS selectors.
http://docs.jquery.com/Selectors

For three, I like the way the event binding is handled.
http://docs.jquery.com/Events

For four, and what is probably a lot of peoples #1, I like how simplified basic AJAX operations are.
For instance, to load the contents of "stuff.xml" into an element with the ID of "one" this is all I would need.
Code: [ Select ]
$('#one').load('stuff.xml');


For five, I just like the fact that Google Code and Media Template are providing hosting for these guys. :)
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

yeah I've been leaning toward JQuery but wasn't sure about the advantages/disadvantages of each. Jquery seems like one of the more powerful. Is that the general consensus?
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

I gave up on Prototype, I'd tried it before I tried jQuery. I believe Mootools is an extension of Prototype.

I've heard good things about YUI, but to me it seemed like it would make more sense just to write Java applets than mess with that framework.
  • cipher
  • Graduate
  • Graduate
  • User avatar
  • Posts: 157

Post 3+ Months Ago

Choosing a particular library is really about your personal style and philosophies. For me prototype + scriptaculous is great in the way Javascript is extended. The classy behavior provided by prototype syncs nicely with the way I like to write code so maybe that is why i love it so much :).

I would recommend listening to http://www.javascriptworkshop.com/2008/ ... s-podcast/ . In this podcast John Resig gives very unbiased commentary on the libraries/frameworks.
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

Hey thanks Cipher. I like Resig's stuff, can't believe I missed that one.
  • coolcoolciel
  • Newbie
  • Newbie
  • coolcoolciel
  • Posts: 7

Post 3+ Months Ago

I want to study YUI !
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

++ for jquery...I can attest for its scalability. My company uses it extensively, and it's capabilities reach far beyond those that the examples online show.
  • ecuador
  • Student
  • Student
  • User avatar
  • Posts: 90
  • Loc: Germany

Post 3+ Months Ago

I am using http://www.mootools.net - similar to jQuery but faster and more powerful.

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 158 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.