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

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

问题描述

随着 Ember JS 接近(并达到!)1.0.0 版,很难跟上它的发展.教程和文档来来去去,导致对最佳实践和原始开发人员的意图产生了很多混淆.

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.

虽然像 Mike Grassotti 的回答那样以艰难的方式设置 Ember.js 项目是有益的,但您不应该为生产代码这样做.尤其是当我们拥有像 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天全站免登陆