Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-24-2008, 08:23 PM   PM User | #1
AlexV
Regular Coder

 
AlexV's Avatar
 
Join Date: Oct 2008
Location: Near Montreal, Quebec - Canada.
Posts: 214
Thanks: 5
Thanked 22 Times in 22 Posts
AlexV is an unknown quantity at this point
What is the best JavaScript framework/library to use

Hello!

I'm looking to learn a JS framework/lib and was wondering wich one to start with? Which one is the best?

I know that the high-end ones are of very high quality and it's maybe somewhat a matter of taste that will dictate your answer but I would like to know...

I'm looking for something that:
- Respects standards
- Is well documented
- Is widely used
- Is there to stay

Pluses:
- Allow me to do some UI eye candy (special fade effects and such)
- Printed documentation available (books à la O'Reilly)


Currently I do mostly everything by myself (built a small JS lib for AJAX, DOM...) but it's starting to be painfull. XML traversal/validation and output to UI is way too long...

Thanks for your input.
AlexV is offline   Reply With Quote
Old 11-24-2008, 09:43 PM   PM User | #2
ohgod
Regular Coder

 
ohgod's Avatar
 
Join Date: Jun 2008
Location: Ohio
Posts: 579
Thanks: 6
Thanked 69 Times in 69 Posts
ohgod is on a distinguished road
seems like the big ones are jquery and prototype.

however, prototype has some really strong effects extensions available, like scriptaculous and prototype window

check out the scriptaculous link... if it's good enough for nasa, apple and cnn it's gotta be decent
ohgod is offline   Reply With Quote
Old 11-24-2008, 10:27 PM   PM User | #3
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,553
Thanks: 9
Thanked 480 Times in 463 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
ui stuff is easy in jquery.
i am not sure where jquery qill be in five years though; it's main streanght is in it's CSS queries, which is becoming a native feature to all the next gen browsers.

jquery is also a little less "javascripty" than prototype (it's its own thing), so prototype knowledge is probably going to be more instructive/applicable outside/after libraries.

you learn the most and have 24/7 support when you author your own libraries.
i would look into something smaller that just handles the complex dom or xml stuff, and continue to expand your own lib. as you get better in js, you will need less and less library code, getting more efficient with standard code.

javascript itself is supported better with more books than any one faddy library.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:15.2% IE7:0.5% IE8:8.4% IE9:8.5% IE10:8.5%
rnd me is offline   Reply With Quote
Old 11-25-2008, 01:43 PM   PM User | #4
AlexV
Regular Coder

 
AlexV's Avatar
 
Join Date: Oct 2008
Location: Near Montreal, Quebec - Canada.
Posts: 214
Thanks: 5
Thanked 22 Times in 22 Posts
AlexV is an unknown quantity at this point
Quote:
jquery is also a little less "javascripty" than prototype (it's its own thing)
rnd me, what do you mean by that?
AlexV is offline   Reply With Quote
Old 11-25-2008, 10:40 PM   PM User | #5
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,553
Thanks: 9
Thanked 480 Times in 463 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
Quote:
Originally Posted by TheWolf1 View Post
rnd me, what do you mean by that?
i mean that jQuery code looks, well, like jQuery code.
Prototype apps look more like "un-libraried" javascript.

broadly speaking, i think Prototype knowledge will extend better into other languages and regular javascript. In that respect, it's probably better for learning programming, imho.

jQuery can do amazing things with 50 bytes of custom code, but it's not as generic as Prototype code to do the same thing.

If you have no interest in programming, you might get impressive results quicker in jQuery.

If you come from a java/c background, i bet you will feel more comfortable in Prototype.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:15.2% IE7:0.5% IE8:8.4% IE9:8.5% IE10:8.5%
rnd me is offline   Reply With Quote
Old 07-17-2009, 08:09 AM   PM User | #6
gkumar
Banned

 
Join Date: Jun 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
gkumar can only hope to improve
What is the best JavaScript framework/library to use

vascripts built above frameworks allowing to code more efficiently while solving cross-browser compatibility issues. However it would be nice if the plugins developers agree on a main framework that will be used whenever possible when writing plugins for Textpattern.

I’ve seen that JQuery has been added to Textpattern recently. Is this an official and definitive decision?

In the jungle of JS frameworks, here are the main choices:

* “Prototype”:http://prototype.conio.net/ is one of the first and most used frameworks. It allows you to write your scripts as classes in an OO style. It’s a big download, about 50Kb uncompressed. It lacks effects, drag&drop and other fancy stuff so it is often used with Scriptaculous (a heavy all-purpose library) or Moo.fx (a tiny effects library, the new version does not use Prototype anymore, see below).
* “JQuery”:http://jquery.com/ is a lightweight all-purpose library which is really powerful. Its main features are selectors, chained methods. It can be extended by many plugins. However, it is not designed to write classes like Prototype.
* “Mootools”:http://mootools.net/ is brand new and looks amazing. It is a mix between Prototype and JQuery that claims to use best of both worlds. It is entirely modulable and really compact (the total size when using all modules is equal to JQuery). It also allows you to create or extend classes in a really elegant way. Mootools includes the new version of Moo.Fx .
gkumar is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:23 AM.


Advertisement
Log in to turn off these ads.