Comments (6)
Hey, thanks for the comments! :)
Can't be part of a bigger rails or express app (like discourse), might not be a goal of the project and that's fine.
Depends on what you mean by "part." Really, the only thing you can't easily do is use server-side templating. Nothing stopping you from serving the output through your back-end, given proper configuration.
Move app.js, routes.js into config/app.js, etc. Its also a great place for store.js, i18n, etc.
This only makes sense to me from a Rails background. The reason why routes in Rails are "config" is because there's a whole special DSL for them and they're clearly separated from your codebase, whereas in Ember, Routes are much more tightly-integrated. Doesn't make sense to separate them. I feel the same way about the rest, too. Config to me means ".ini" or ".json", not ".js"
Don't inline script tags from vendor, require them like anything else.
We'd need AMD versions of jQuery, Ember, and Handlebars, then.
Use almond to load the modules so we can load everybody's stuff (anybody who supports amd anyway)
I think this is a good idea. loader.js
makes sense for isolated modules & libraries, but not so much for applications. Still, I'm not sure if most libraries people use with Ember come in AMD variants.
Make the module resolver a dependency, put on bower
@stefanpenner wants to do this soon.
Precompile only the templates that changed, make them modules
This would be great, but depends on how granular we can get with Grunt.
Don't want to ship with coffeescript, then we have to support it, which is a huge pain when it comes to generators
Valid point. Since we're just doing foo.coffee
-> foo.js
compilation, though, there's no reason your generators can't just support JS but still have a Coffeescript task just in case. You're not beholden to supporting CS just because the task exists.
Need source maps for concat build, having a giant app.js is no good
Agreed. Waiting to see if grunt-concat-sourcemap will get merged into grunt-contrib-concat. Also want to get source maps in ES6 module transpiler.
Need a production build
Of what? You can build a production version of the app with grunt build:dist
.
Get all of ember in es6, so it depends on handlebars rsvp, backburner, etc. straight from bower
This would be cool, but is a very long-term goal.
from ember-app-kit.
absolutely agree. We have much work todo!
Maybe we break some of these points up into multiple issues?
from ember-app-kit.
@thomasboyt app.js configures your app. Routes.js configures your routes.
Store.js configures your store. I18n.js configures translations. I wouldn't
be upset about littering the app root with config files, but that is what
they are. Has nothing to do with rails :)
On Saturday, July 20, 2013, Stefan Penner wrote:
absolutely agree. We have much work todo!
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-21298422
.
from ember-app-kit.
Can't be part of a bigger rails or express app (like discourse), might not be a goal of the project and that's fine.
I have a project should make this really easy. The project is half-pipe, and it completely replaces the asset pipeline & gem dependencies with grunt & bower. The only problem would be getting EAK as an NPM module that we could easily install, which I've proposed in #24. @rpflorence Would you find either useful?
from ember-app-kit.
@rpflorence we have made some progress on your list. Still a good amount of work + simplification to go though.
from ember-app-kit.
@rpflorence thanks for your thoughts, they have helped shape EAK and will continue to.
from ember-app-kit.
Related Issues (20)
- Does EAK Support Inheritance With Controllers? HOT 3
- Suggestion: Defer loading of JavaScript HOT 1
- Recommended Folder Structure Using EAK HOT 4
- Migrating to Ember-CLI HOT 17
- Deploying to a non-root directory HOT 3
- Trouble with NPM scripts HOT 1
- 'grunt test:server' not work HOT 1
- Extending Store In EAK HOT 4
- EAK: Where do we place {{partials}} ? HOT 2
- ./config/environment.js example HOT 7
- `Cannot find module..." HOT 3
- Migrating to Ember-CLI Screencast HOT 2
- Importing shared ES6 modules futuristically HOT 2
- Added bootstrap-sass-official, Now Can't Push to Heroku HOT 2
- Stub API not working with server:dist task
- Transition into the loading substate
- Allow Ember Init and Generate for Coffeescript HOT 1
- Production build failed (grunt:dist) on fresh clone of EAK HOT 1
- Cannot deploy the 'ember app kit' app to heroku
- Update Ember CLI Migration Guide HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-app-kit.