-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Pod Syntax #142
Comments
pod syntax should "just work" with the cli, as it is a feature of the resolver. That being said, the future generators, should likely become aware of this |
Will we need a new Blueprint for generating Pod Syntax then? |
The two are interoperable. The non-pod is more straightforward, the pod syntax is what you probably would want to use in a real project. Maybe we should switch. @joefiorini @stefanpenner should we switch? Loom should use the same. |
FYI - I am at EmberConf at the "Advanced" training day and @wycats seemed to indicate that the Pods structure is the way forward which is why I asked in the first place. |
I have a rather large personal project I am working on that would be infinitely easier to maintain / browse in Pod syntax. I am 100% for adding Pod syntax support in "new". |
I know what you mean. Having everything in one folder is a real time saver. I really like that the blueprint isn't a clean slate but a collection of examples. But maybe it reallly should encourage to use the pod structure. |
Maybe a -p option on new/init/generate? |
@Dave-Choi For |
are the eak loom generators pods aware? if not we should start on upstream and then decide how we use them in ember-cli. |
@MajorBreakfast I guess it doesn't belong in the generate, but if you used new -p or init -p, it could just set that project setting as it does the scaffolding. |
I actually just this week found out that pods are a thing, I'm not sure what the default should be here. @stefanpenner thoughts? |
@Dave-Choi Jep. :) But, I think we should consider making it the default. Stef mentioned previously that we should tack as few options as possible onto |
I think pod format will be part of the generators. Not the init. As an app can easily be pod for some aspects and vanilla for others. |
@stefanpenner The option is only so that loom generates the file at the right place. If we switch to pods as default, we should modify the blueprint so that it uses pods. |
i think the current defaults are fine. |
Are they? I thought we had discussed making pods the default. |
@wycats the app supports both out of the box, the blueprint itself should likely just be slimmed down and generators can add folders as needed. |
My confusion was based on whether application route, template, controller
|
don't forget to add var App = Ember.Application.extend({
modulePrefix: 'app', // TODO: loaded via config
podModulePrefix: 'app/modules'
}); |
Is "Pod Syntax" still on the table and will Ember-CLI support this?
The text was updated successfully, but these errors were encountered: