如何构建Ember.js应用程序 [英] How to architect an Ember.js application

查看:125
本文介绍了如何构建Ember.js应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

随着它接近(并达到!)版本1.0.0,Ember JS的演变很难跟上。教程和文档已经来临,导致对最佳实践和原始开发人员的意图的混淆很多。

It's been difficult to keep up with the evolution of Ember JS as its approached (and reached!) version 1.0.0. Tutorials and documentation have come and gone, leading to a lot of confusion about best practices and the intent of the original developers.

我的问题是:最好的Ember JS的做法有没有更新的教程或工作示例,显示如何使用Ember JS?代码示例会很棒!

My question is exactly that: What are the best practices for Ember JS? Are there any updated tutorials or working samples showing how Ember JS is intended to be used? Code samples would be great!

感谢大家,特别是Ember JS开发者!

Thanks to everyone, especially the Ember JS devs!

推荐答案

有一个重要的项目,新的和经验丰富的Ember.js开发人员应该利用:

There is an important project that both new and veteran Ember.js developers should take advantage of:

Ember-CLI

它需要使用命令行的一些舒适度,您可以在几秒钟内生成一个具有社区推荐最佳实践的现代Ember项目。

While it does require some comfort level with the command line, you can generate a modern Ember project with community recommended best practices in a matter of seconds.

虽然设置有益一个Ember.js项目与Mike Grassotti的答案一样困难,您不应该这样做用于生产代码。特别是当我们有这样一个强大而易于使用的项目,如 Ember-CLI 来向我们展示Yehuda批准的快乐路径

While it is beneficial to setup an Ember.js project the hard way as in Mike Grassotti's answer, you should not be doing that for production code. Especially when we have such a powerful and easy to use project like Ember-CLI to show us the Yehuda approved happy path.

这篇关于如何构建Ember.js应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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