identifying your need correctly:
- Need 1: DOM Manipulation (Enhancing your site by adding behavior) : If you’re looking only to enhance your site by adding behavior and to extend it with plug-ins of your own you can do it with jQuery. I.E. if DOM manipulation is the key feature you need, then JQuery is the best. Ext JS has recently released a free library Ext Core to counter JQuery and it seems to be pretty good.
- Need 4: Creating rich dashboards and admin consoles :Ext JS has a great usage in creating here. Its already created look and feel makes it very easy to reuse. But again its paid. It provides a lot of extensible, uniform-looking components (layout manager, templating support, trees, grids, tabbed panels, windows, etc.).
Some Criteria that you need to take into account:
- Criteria 1: Learning curve and speed of development : JQuery wins here, as its easy to learn and uses less lines of code. But its basically for DOM manipulation. Dojo is huge but then you can learn only what you want to use. Prototype fits somewhere in between these worlds. It is small enough to feel small (not a huge library to learn) yet large enough that you don’t jump out into creating a lot of your own code.
- Criteria 2: Code readability and Maintainability : Prototype is much more readable than JQuery. Ext Core and Dojo also are pretty readable. Complex JQuery code is difficult to maintain and to reuse.
- Criteria 4: Good Ajax support :Generally all frameworks now a days have Ajax support but JQuery seems slightly lacking here.
- Criteria 5: Coding Style : JQuery doesnot follw what we could call the traditional class based style of coding but is more intutive. This is why its great for designers wanting to add some dynamic magic to their webpage. But a traditional developer will find better coding style followed in Prototye, Ext Core, Mootools and even Dojo. This makes the code more maintanable.
- Criteria 6: Cost : Well this is only a problem with ExtJs, but i bet they have got things in their library that are worth the money. Note: Ext Core is not paid though.
Some Good Resources which helped me compile the article:
Find the questions to ask when choosing a framework here:
Great resource to work with JQuery:
JQuery : http://visualjquery.com/1.1.2.html
List of Pros and cons of JQuery, ExtJs and Dojo
Prototype vs Jquery
JQuery vs Mootools
JQuery vs Dojo
Performance comparison between mootools, jquery, prototype, yui and dojo
Some Positives and Negatives about JQuery: http://stackoverflow.com/questions/176324/why-does-everyone-like-jquery-more-than-prototypescriptaclous-or-mootools-or-wh