开发者

What are some example javascript frameworks that people use?

I am really big fan of jQuery, but I don't see it as a framework for a site, more like a library. I am looking for some sort of framework that will give me the tools to build really structured applications in javaScript. I have found backbone.js, but find it somewhat开发者_如何学Python confusing. Is that a good one, and are there others similar to it? an MVC pattern would be really cool, but I havent found anything.


I use currently RightJS with RequireJS. It has worked out well for my purposes. I used jQuery + jQuery UI previously. The current combo fits my style better (more barebone functionality instead of just DOM wrapper + UI plugins).

I know RightJS isn't that popular. The docs are adequate and the author is responsive. This makes up for that. :)

Some other alternatives:

  • qooxdoo
  • MooTools
  • Prototype

I'm sure there are plenty of more alternatives. It really comes down to your preferences and exact needs.

Personally I have been looking at Sencha's offerings (ExtJS, Sencha Touch) lately. The latter is particularly interesting as it provides simple means to write cross-platform apps for mobile devices. Works great in iPad at least!


The Google Closure Library & Tools is pretty good, and is the framework they use to build Gmail, Google Maps, and so on.


jQuery and YUI 3: A Tale of Two JavaScript Libraries is a story about a jQuery developer that found that YUI3 was more "framework-like" and apt for his project.

I've been using YUI2 for years and it never disappointed me.


If you like dynamic OOP languages like Ruby/Python, you should really check RightJS. It is very compact, fast and simple. RightJS is built fully on OOP paradigm and allows you to implement serious stuff in a serious but not boring way.

As for the dom part, it doesn't exactly uses MVC as is, but RightJS has OOP dom-wrappers, with inheritance and so one. That provides basically the same result, but with much less headache.

And if you're particularly interested in patterns, check this out https://github.com/rightjs/rightjs-patterns :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜