Ember真的是一个单一的页面应用程序吗? [英] Is Ember really a single page app?

查看:83
本文介绍了Ember真的是一个单一的页面应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在学习 emberjs ,所学习的所有例子都是单页面应用程序。我被告知要开展一个扩展超过30页的项目,我不知道目录结构将是什么,如果ember是最好的工具,因为我从来没有看到一个应用程序链接到项目中的其他页面?
Ember

I have been studying emberjs for about a week now and all examples i studied were single page apps. I have been told to work on a project which expands more than 30 pages and i have no idea what the directory structure would be and if ember is the best tool as i have never seen an application that links to other pages in the project? Ember

任何帮助或建议都将是有益的。
感谢提前

Any help or suggestion would be beneficial. Thanks in Advance

推荐答案

是的,ember是一个单页面的应用程序,因为你只去一页,它加载应用程序,然后你不需要从服务器上再次获取Ember应用程序处理所有内容的页面。对于像你建议的应用程序这样的大型应用程序,您可以将每个对象类型(模型,控制器,路由,模板,视图等)放入自己的组织目录中。

Yes, ember is a single page application, since you only go to one page, it loads the app then you don't need to fetch anymore pages from the server the ember app handles everything. For bigger apps like the one you're suggesting, you'd put each object type (models, controllers, routes, templates, views, etc...) into their own directory for organization.

这篇关于Ember真的是一个单一的页面应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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