开发者

What is the difference between jQuery, Prototype, Extjs, mootools, Scriptaculous, Spry, YUI, DOJO framework? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

I keep hearing about many JavaScript frameworks i.e.

jQuery

YUI

DOJO

ExtJs

Prototype

Mootools

Scriptaculous

Spry

and a few more.

Can anyone please tell me what specific purpose, do these framework serve?

I am a user 开发者_如何学Goof jQuery only.


This is a short description, based on my experience and knowledge (and IMO):

jQuery -> is the most popular javascript library available (great support available on the net and a lot of plugin written for it), it's simple for all (included designers). It's the best choice for dom manipulation and to write code quickly (ideal for front-end)

DOJO -> advanced js library which offers mechanism for loading js "modules" as necessary

ExtJs -> one of the most advanced and powerful js library. It's build with OOP in mind, it offers an huge number of UI components. It's not intended for designers, it's pretty heavy (size of sources). It's the ideal choice for advanced backoffice UI

Prototype -> the evil! Simply avoid this library, it extends default js objects by causing a lot of troubles

YUI -> similar to ExtJS (ExtJs was born as an extension of YUI, so if you have to choose one of the two go for ext :P) Mootools -> I don't know :P

Scriptaculous -> as far I know, the best for js animations (it was one of the firs library for this task)

Spry -> it introduces some new "concepts" such dataSet. Few people use it :(


These all are javascript libraries, more or less they share the common purpose albeit with different syntax:

  • Cross-browser issues handling
  • Animation
  • Custom dialogs and widgets
  • Ability to write lesser code
  • Specific selector engine
  • Creation/Modification of DOM
  • Event Handling
  • Utility Functions
  • AJAX

Following article is also interesting to read:

  • Compare JavaScript frameworks


Given they are all JS frameworks they serve almost the same purpose as jQuery serves, by they differ in things such as ease of use, feature richness, UI components, shielding from browser specific functionality, performance, and many others.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜