Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 144 Vote(s) - 3.65 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Which Javascript Framework is the simplest and most powerful?

#1
I've been using various javascript frameworks including mootools, jquery, prototype and scriptaculous and have found them all good, but difficult to extend to more complex ideas.

If I am going to knuckle down and learn one, which is the simplest to extend and use whilst staying powerful enough to use in a variety of directions?
Reply

#2
jQuery is my favorite
Reply

#3
Another vote for jQuery. It's small, focussed, and yet very powerful. It's also reasonable well documented, by the (generally awful) standards of JS libraries.

It's also very easy to extend, once you get your head around the syntax.
Reply

#4
In my opinion, jQuery is exceptionally powerful and simple. It uses CSS selector syntax to pull back elements and only adds two functions to the global namespace: jQuery() and $(), which is an alias for jQuery().

There are a massive number of plugins available for jQuery to let you do things like create slide shows, accordion controls, rich calendars, etc. The book "jQuery In Action" is a phenomenal companion to the online reference material.

We used it on my last project to create a fairly rich scheduling tool and we liked it so much, we're encouraging it's adoption throughout our consulting company as the defacto standard for all JavaScript use. You can check out the results at

[To see links please register here]

Reply

#5
[Prototype][1]. Is simple, unobtrusive, and makes your javascript code look cleaner than ever.

It has a [wonderful user group][2], where you can get your questions answered almost immediately


[1]:

[To see links please register here]

[2]:

[To see links please register here]

Reply

#6
I propose jQuery.

I'll give you some of the major arguments from the presentation that my team put on yesterday for senior management to convince them of that.

Reasons:

1. Community acceptance. Look at [this graph][1]. It shows searches for "prototype", "yui" and "scriptaculous" growing from 2004 to 2008. Then out of nowhere in 2006 searches fro "jquery" shoot up to double the number of the other libraries. The community is actually converging on a single leading product, and it's jQuery.

1. jQuery is very very succinct and readable. I conducted an experiment in which I took existing code (selected at random) written in YUI, and tried re-writing it in jQuery. It was 1/4 as long in jQuery. That makes it 4 times as easy to write, and 4 times as easy to maintain.

1. jQuery integrates well with the rest of the web world. The use of CSS syntax as the key for selecting items is a brilliant trick which helps to meld together the highly diseparate worlds of HTML, CSS and JavaScript.

1. Documentation: jQuery has excellent documentation, with clear specifications and working examples of every method. It has excellent books (I recommend "jQuery in Action".) The only competitor which matches it is YUI.

1. Active user community: the Google group which is the main community discussion forum for Prototype has nearly 1000 members. The Google group for jQuery has 10 times as many members. And my personal experience is that the community tends to be helpful.

1. Easy learning curve. jQuery is easy to learn, even for people with experience as a designer, but no experience in coding.

1. Performance. Check out [this][2], which is published by mootools. It compares the speed of different frameworks. jQuery is not always the VERY fastest, but it is quite good on every test.

1. Plays well with others: jQuery's noConflict mode and the core library's small size help it to work well in environments that are already using other libraries.

1. Designed to make JavaScript usable. Looping is a pain in JavaScript; jQuery works with set objects you almost never need to write the loop. JavaScript's greatest strength is that functions are first-class objects; jQuery makes extensive use of this feature.

1. Plug-ins. jQuery is designed to make it *easy* to write plugins. And there is an enormous community of people out there writing plugins. Anything you want is probably out there. Check out things like [this][3] or [this][4] for visual examples.

I hope you find this convincing!

[1]: http://google.com/trends?q=jquery%2C+pro...amp;sort=0
[2]:

[To see links please register here]

[3]:

[To see links please register here]

[4]:

[To see links please register here]

Reply

#7
See also (other related questions):

* [Comparison of Javascript libraries](

[To see links please register here]

)
* [What JavaScript library would you choose for a new project and why?](

[To see links please register here]

)
* [What is the single most useful general purpose javascript library for rich internet apps?](

[To see links please register here]

)
* [Which JavaScript framework is best for web development?](

[To see links please register here]

)
* [Which JavaScript library is recommended for neat UI effects?](

[To see links please register here]

)
* [What is the best lightweight javascript framework?](

[To see links please register here]

)
* [Any good AJAX framework for Google App Engine apps?](

[To see links please register here]

)
Reply

#8
**NOTE:** This answer was pre-Angular/Ember/etc. so addresses an outdated issue.

I teach this stuff, and really had little choice but to home in on JQuery, since the majority in the industry has already 'chosen' it (not always a good reason, I know), but also because - for students that already know some CSS - the entry point is lower.

I've also used Mootools (my second choice), but a colleague convinced my to switch to JQuery with the 'programmability' argument - I find it cleaner to code with and understand. The JQuery community, online documentation, [free online books][1] and [third-party sites][2] help, too.


[1]:

[To see links please register here]

[2]:

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through