There are friends who are interested in why I chose Dojo, and I'm here to explain why I chose it so that I can help other netizens.
First, I chose Dojo mainly for the following reasons:
1.dojo is a good infrastructure.
It is very effective in separating the structure, presentation, and behaviour from the page, which is very helpful for implementing the goals of Ajax components unobtrusive.
Some people ask: Well, the same is the infrastructure, why don't you choose prototype?
Of course, prototype is also very helpful for developing some Ajax effects. But prototype's design goals are very different from Dojo's.
Prototype's design goal is to expand the functionality of JavaScript so that JavaScript can be written in a way that is similar to Ruby. Prototype is primarily for some low-level extensions of the JavaScript language itself, and some other cross-browser issues are addressed. But prototype is still too low-level to provide a very small number of functions, based on which to build complex Ajax components (for example, a full-featured grid component) is still very difficult.
And Rico, is still not a framework, Rico and Scriptaculous are just based on the prototype built Ajax effect library. Rico's live grid is too primitive, which is one of the reasons I give up Rico, and Rico this year there is no big development.
I do not want to deny prototype, but after investigation found that prototype difficult to support my goals. My goal is to build a comprehensive library of AJAX components, and Dojo is very helpful in supporting this goal.
Dojo is actually a component model, similar to spring, to support large-scale component-based development. The role of component models is to enhance the reuse of code, which is critical to improve development efficiency.
Behind the 2.dojo there is strong support.
Dojo is now the choice of many open source frameworks, including:
* WebWork
* Tapestry
* Eclipse ATF
* Myfaces
This list will also expand over time.
The Dojo development team is led by Alex Russell, a large and powerful force.
3.dojo components are relatively rich, and the current development is very active.
Here is a list of components, and you can propose new component requirements here.
Http://dojo.jot.com/WidgetWishlist
There is a grid component that is being developed that is very powerful in terms of functional descriptions and deserves high attention.
Http://dojo.jot.com/GridWidget
This will relieve me of a great deal of heavy work.