Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
380 views
in Technique[技术] by (71.8m points)

javascript - Meteor,Ember.js和Backbone.js之间的主要区别是什么? [关闭](What are the key differences between Meteor, Ember.js and Backbone.js? [closed])

Learning Ember.js / Backbone.js has been on my to-do list for a while.(学习Ember.js / Backbone.js一直在我的待办事项清单上。)

Now that Meteor is out, I am just wondering if anyone with experience of Meteor, Ember.js and Backbone.js can summarize the key differences and pros and cons of these three JavaScript frameworks for a person without any experience for any of them.(现在Meteor已经出局,我只是想知道是否有经验的Meteor,Ember.js和Backbone.js可以总结这三个JavaScript框架的主要差异和优缺点,对于没有任何经验的人来说。) Specifically, I would like to know which tasks each framework is more suitable for, and why the others aren't.(具体来说,我想知道每个框架更适合哪些任务,以及其他框架不适合的原因。) Edit: now that I read a little bit more on Meteor, it seems to be more similar to Knockout.js rather than Backbone.js.(编辑:现在我在Meteor上看了一点,它看起来更类似于Knockout.js而不是Backbone.js。) So any comparison with Knockout.js is welcome too.(所以任何与Knockout.js的比较也是受欢迎的。)   ask by K Z translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

There is a nice run down/comparison of various MVx JS frameworks here http://codebrief.com/2012/01/the-top-10-javascript-mvc-frameworks-reviewed/ it's followed by a good discussion in the comments too.(各种MVx JS框架有一个很好的运行/比较http://codebrief.com/2012/01/the-top-10-javascript-mvc-frameworks-reviewed/随后在评论中进行了很好的讨论。)

I think I've seen Gordon (who wrote it) on here so maybe you'll get a reply from him.(我想我已经在这里见过戈登(谁写过),所以也许你会得到他的答复。) I'd say if you are looking to learn this style of application development then on the one hand, the wealth of open source backbone examples around could be good for you.(我想说,如果你想要学习这种应用程序开发风格,那么一方面,丰富的开源主干示例可能对你有好处。) But on the other hand, although new, the Ember package is actually more complete IMO than backbone.(但另一方面,虽然新的,Ember 实际上比骨干更完整的IMO。) Both give you the ability to implement things in a variety of ways which can be confusing, but Ember provides more of the code that you would have to write yourself in backbone as standard which for me personally is more important for rapid prototyping than the wealth of backbone examples available.(两者都让你能够以各种方式实现事情,这可能令人困惑,但是Ember提供了更多的代码,你必须自己在主干上写作标准,对于我个人而言,对于快速原型制作而言,它比财富更重要。骨干实例可用。) There are more mature plugings for data persistence for backbone, but there is a great community buzz around Ember and lots of contrib libraries are making great progress.(骨干数据持久性有更多成熟的插件,但Ember周围有很多社区嗡嗡声,许多contrib库正在取得很大进展。) I've been pleasantly surprised with how quick I (and others) have had quality responses for a relatively new framework here on Stack Overflow.(令我惊喜的是,我(以及其他人)对Stack Overflow上相对较新的框架的质量响应有多快。) When you say meteor we are talking about totally other stuff.(当你说流星时,我们正在谈论完全其他的东西。) If you wanted to do more with code re-use on both client and server side then take a look the recently open sourced yahoo mojito https://github.com/yahoo/mojito running on node.js - I've been messing around with it over the last week, and If you become familiar with backbone/ember or any of the others its a snap to get to grips with.(如果你想在客户端和服务器端重复使用代码,那么看一下在node.js上运行的最近开源的yahoo mojito https://github.com/yahoo/mojito - 我一直在搞乱在过去的一周里,如果你熟悉了骨干/余烬或其他任何一个,那么它就可以轻松掌握。) I should also say I have Knockout.js in use on some production systems but have never used it for a fully fledged 'application'.(我还应该说我在某些生产系统上使用过Knockout.js,但从未将它用于完全成熟的“应用程序”。) I've got it hooked up to a mongo interface for drilling down into and pageing logs stored in mongo.(我已经把它连接到一个mongo接口,用于深入挖掘和分页存储在mongo中的日志。) I really like it, but I wouldn't feel comfortable building anything too big in it.(我真的很喜欢它,但是我觉得构建任何太大的东西都感觉不舒服。) Well, that's a bit of a ramble - isn't it :)(嗯,这有点像絮絮叨叨 - 不是吗:)) Quite happy to talk more about it with anyone who is interested.(非常乐意与感兴趣的人讨论更多相关信息。) I've used a number of these frameworks in anger/production (including things not listed in the 'top 10' article) and people at work are sick of hearing me talk about JS i think :-D(我在愤怒/制作中使用了许多这些框架(包括未列入“十大”文章中的内容),工作中的人都厌倦了听我说JS我认为:-D)

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...