什么是流星,Ember.js和Backbone.js的之间的主要区别? [英] What are the key differences between Meteor, Ember.js and Backbone.js?

查看:159
本文介绍了什么是流星,Ember.js和Backbone.js的之间的主要区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

学习Ember.js / Backbone.js的一直是我的待办事项清单一会儿上。现在,流星是的,我只是想知道如果任何人有流星,Ember.js和Backbone.js的经验可以总结的主要区别和利弊,没有任何人任何经验的人这三个JavaScript框架的利弊。

Learning Ember.js / Backbone.js has been on my to-do list for a while. 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.

我特别想知道哪些任务每个框架更适合,为什么有些则没有。

Specifically, I would like to know which tasks each framework is more suitable for, and why the others aren't.

编辑:现在,我更多一点点的流星,它似乎更类似于Knockout.js而非Backbone.js的。因此,与Knockout.js任何比较的欢迎了。

now that I read a little bit more on Meteor, it seems to be more similar to Knockout.js rather than Backbone.js. So any comparison with Knockout.js is welcome too.

推荐答案

有多样MVX JS框架的一个很好的跑下来/这里比较
<一href=\"http://$c$cbrief.com/2012/01/the-top-10-javascript-mvc-frameworks-reviewed/\">http://$c$cbrief.com/2012/01/the-top-10-javascript-mvc-frameworks-reviewed/
它随后在过意见了很好的讨论。我想我已经看到了戈登(谁写的)就在这里,所以也许你会从他那里得到一个答复。

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. I think I've seen Gordon (who wrote it) on here so maybe you'll get a reply from him.

如果你正在寻找学习应用开发的这种风格,那么,一方面我会说,开源骨干例子财富周围可能是对你有好处。但在另一方面,虽然新的灰烬的的实际上是更完整的IMO不是骨干网。

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.

这两个给你实现多种方式可以是混淆事物的能力,但灰烬提供了更多的code,你将不得不自己写骨干作为标准,对我个人来说是更重要的快速成型比现有骨干例子财富。

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.

有用于骨干网数据持久化更加成熟plugings,但有一个伟大的社会嗡嗡围绕灰烬和大量的contrib库正在长足的进步。我一直感到惊喜与我(和其他人)如何快速有质量的响应这里一个相对较新的框架对堆栈溢出。

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. I've been pleasantly surprised with how quick I (and others) have had quality responses for a relatively new framework here on Stack Overflow.

当你说流星,我们所谈论的完全其他的东西。如果你想与客户端和服务器端code再利用做多再看看最近开源雅虎莫吉托的https: //github.com/yahoo/mojito 上运行的node.js - 我已经在上周与它瞎搞,如果你熟悉的骨干/灰烬或其他任何一个它捕捉到的得到认真处理。

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.

我还要说我有Knockout.js在某些生产系统使用,但从来没有用过它的完全成熟的应用程序。我知道了挂接到一个蒙戈接口,向下钻取到存储在蒙戈和pageing日志。我真的很喜欢它,但我不会感到舒服建设什么太大的吧。

I should also say I have Knockout.js in use on some production systems but have never used it for a fully fledged 'application'. I've got it hooked up to a mongo interface for drilling down into and pageing logs stored in 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 :)

很乐意更多地谈论它与任何人谁是有兴趣。我用了一些愤怒/生产这些框架(包括在前10名的文章没有列出的东西)和人在工作中生病听我说说JS我觉得:-D

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

这篇关于什么是流星,Ember.js和Backbone.js的之间的主要区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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