Favorite Javascript frameworks?

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post November 3rd, 2008, 9:53 am

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.
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 3rd, 2008, 9:53 am

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13458
  • Loc: Florida
  • Status: Offline

Post November 3rd, 2008, 11:04 am

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. :)
Strong with this one, the sudo is.
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post November 3rd, 2008, 1:12 pm

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?
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13458
  • Loc: Florida
  • Status: Offline

Post November 3rd, 2008, 7:00 pm

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.
Strong with this one, the sudo is.
  • cipher
  • Graduate
  • Graduate
  • User avatar
  • Joined: Feb 11, 2004
  • Posts: 157
  • Status: Offline

Post November 6th, 2008, 8:07 pm

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
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post November 7th, 2008, 8:45 am

Hey thanks Cipher. I like Resig's stuff, can't believe I missed that one.
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • coolcoolciel
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Oct 06, 2008
  • Posts: 7
  • Status: Offline

Post November 7th, 2008, 6:41 pm

I want to study YUI !
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2735
  • Loc: Nashville, TN
  • Status: Offline

Post November 12th, 2008, 6:15 pm

++ 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.
I'd love to change the world, but they won't give me the source code.
  • ecuador
  • Student
  • Student
  • User avatar
  • Joined: Apr 29, 2007
  • Posts: 90
  • Loc: Germany
  • Status: Offline

Post January 31st, 2009, 1:35 am

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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.