Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended Folder Structure Using EAK #625

Closed
agentVargas2012R opened this issue May 12, 2014 · 4 comments
Closed

Recommended Folder Structure Using EAK #625

agentVargas2012R opened this issue May 12, 2014 · 4 comments

Comments

@agentVargas2012R
Copy link

Hello Ember Toolkit,

We have been looking at a sample todo application that was built using the Ember App Toolkit. It uses a slightly different folder structure than the documentation for the ember app toolkit.

The folder structure for the Todo Application looks like this:
/app/todos/controller.js
/app/todos/active/.js
/app/todos/completed/
.js
/app/todos/index/*.js

However, accordingly to the documentation structure, there is the following:
/app/controllers/*
/app/models/*
/app/routes/*
/app/templates/*.hbs

Is one recommended over the other? What are the benefits of using the first style as compared to the second?

Thanks!

@stefanpenner
Copy link
Owner

They both work, and are both supported/recommended.

the first example is the "pod layout" and the second is the more classical. Interestingly these are both enabled by default, and work together. The pod layout just takes slightly higher priority.

It would seem like we are really lacking documentation on this though... so lets use this issue to track documentation updates on this topic.

@agentVargas2012R
Copy link
Author

Thanks for your reply Stefan!

Will both be supported in Ember-CLI ?

We are looking toward the future with this in mind.

Thank you!

@stefanpenner
Copy link
Owner

Yes both projects share the same resolver. Tbh if you are starting a new project just use cli it's already way more stable then eak

@agentVargas2012R
Copy link
Author

Thanks !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants