Backbone.js的,Angular.JS或Ext.JS - 我应该怎么学? [英] Backbone.JS, Angular.JS or Ext.JS - what should I learn?

查看:177
本文介绍了Backbone.js的,Angular.JS或Ext.JS - 我应该怎么学?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道jQuery的。现在我感觉好奇Angular.js,Backbone.js的和Ext.js.我想知道,如果我知道Angular.js,它需要学习Backbone.js的了。或什么任何建议我应该学习?

I know jQuery. Now I'm feeling curious about Angular.js, Backbone.js and Ext.js. I want to know if I learn Angular.js, does it require to learn Backbone.js too. Or any suggestion about what should I learn?

推荐答案

这些是三个非常不同的框架。
基于类型的你要对我工作的应用程序会建议不同的事情

Those are three very different frameworks. Based on type of applications you are going to work on I would recommend different things

如果你正在与一些企业应用程序的工作,最有可能的煎茶 /的 ext.js因为成熟度框架本身及其周围工具是走正道,

If you are working with some enterprise apps , most likely sencha / ext.js is the right way to go, because of maturity framework itself and tools around it

如果你爱上了函数式编程,看看东西一样 bacon.js 等,也有新的Facebook的框架 react.js 具有良好的架构的 OM 的建立在它之上,允许你用一成不变的数据结构做的非常巧妙的事情。 (不过这也意味着使用ClojureScript)

If you are in love with functional programming, take a look at thing like bacon.js etc, also new facebook's framework react.js has nice framework OM built on top of it, that allows you to do really neat things with immutable data structures. (However it also imply using ClojureScript)

我个人的经验是 knockout.js /sammy.js/breeze.js角落找寻堆栈(读看着我们的一对夫妇的项目中使用这种方法的约翰爸爸的材料),并经过一段时间我们对我们所使用广泛现在angular.js切换。

My personal experience is arround stack of knockout.js/sammy.js/breeze.js (read and watch John Papa's materials on this approach) which we used on a couple of projects, and after a while we switched toward angular.js which we are using widely right now.

有万吨ember.js VS angular.js的比较,因此它是pretty容易找到所有的优点和缺点,但同样,你可以很容易地掌握上的 todomvc.com

There are tons of comparisons of ember.js vs angular.js, so it is pretty easy to find all pros and cons, but again, you can easily grasp the taste of above frameworks on todomvc.com.

更新:正如我在评论中说,我认为聚合物是真正的技术,我们将使用不久广泛pretty,但它仅仅是不是在这里为在实际项目中普遍使用。除非你有JS忍者队伍,文档/书籍/ FAQ / SO都还没来。

UPDATE: As I said in the comments, I think polymer is really technology we are going to use widely pretty soon, but it is just not here for general use in real projects. Unless you have team of JS ninjas, as docs/books/faq/SO are not here yet.

更新2014年12月:现在的聚合物有很多周围控件和工具。 (检查 http://builtwithpolymer.org/ )既然连大企业都出IE8的对IE11它确实是一个时间开始使用它进行生产。此外,由于角2.0改变了这么多,你需要几乎从零开始学习它,它是有意义的跳跃角度和使用本机浏览器技术做同样的,也有关于这一主题的SO问题数(<一href=\"http://stackoverflow.com/questions/26382156/replacing-angular-with-standard-web-technologies\">Replacing角度与标准的Web技术)

UPDATE DEC 2014: Polymer now has a lot of controls and tools around it. (check http://builtwithpolymer.org/) And since even huge enterprises are out of IE8 towards IE11 it is really a time to start using it for production. Also since Angular 2.0 is changing so much that you need to almost learn it from scratch, it make sense to skip angular and use native browser technologies to do the same, there are number of questions on SO on this topic (Replacing angular with standard web technologies)

更新2015年2月:在最新的<一个href=\"https://www.youtube.com/watch?v=9sc8Pyc51uU&index=5&list=PLb0IAmt7-GS1cbw4qonlQztYV1TAW0sCr\"相对=nofollow> React.js的conf 有谈GraphQL和改进助焊剂架构模式。所以,现在,开始新的阵营是最可行的路要走。

UPDATE FEB 2015: On latest React.js conf there were talk about GraphQL and improvements to Flux architecture pattern. So right now, starting fresh React is the most viable way to go.

更新2015年3月:有一个很酷的框架,恕我直言,是角做的权利 - aurelia.js ,因此,如果由于某种原因,你不喜欢的方式react.js作品和像angular.js更好的,检查出来。

UPDATE MAR 2015: There is a cool framework which imho is angular done right - aurelia.js, so if for some reason you don't like the way react.js works and like angular.js better, check it out.

更新2015年9月:两个angular2和应对朝使用的是编译到JS(ES5)功能更丰富的语言,这是现在打字稿(与ES6 / 7的直接支持将和JSX)。因此,它是有意义的开始先用打字稿玩,然后移动到你选择的框架,这可能是聚合物或angular2或反应。同时既angular2和反应,你可以利用网络组件,并建立更多的面向未来的应用程序。

UPDATE SEPT 2015: Both angular2 and react are going toward using more feature rich language that is "compiled" to JS (ES5), which is right now Typescript ( with direct support for ES6/7 and JSX ). So it make sense to start playing with typescript first and then move to framework of your choose, which might be polymer or angular2 or react. Also with both angular2 and react you can make use of web components and build more future proof apps.

此外聚合物命中1.0前段时间,并且被认为是生产做好准备。所以去看你可以用它做什么:<一href=\"https://www.youtube.com/watch?v=-tX0e29GQa4&index=10&list=PLNYkxOF6rcICdISJclfQhj2S8QZGjXV8J\" rel=\"nofollow\">https://www.youtube.com/watch?v=-tX0e29GQa4&index=10&list=PLNYkxOF6rcICdISJclfQhj2S8QZGjXV8J

Also Polymer hits 1.0 some time ago, and is said to be production ready. So go and watch what you can do with it: https://www.youtube.com/watch?v=-tX0e29GQa4&index=10&list=PLNYkxOF6rcICdISJclfQhj2S8QZGjXV8J

这篇关于Backbone.js的,Angular.JS或Ext.JS - 我应该怎么学?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆