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

Grunt based tooling for Aura #284

Open
sbellity opened this issue Jul 1, 2013 · 5 comments
Open

Grunt based tooling for Aura #284

sbellity opened this issue Jul 1, 2013 · 5 comments

Comments

@sbellity
Copy link
Member

sbellity commented Jul 1, 2013

We need to define best practices / boilerplates for Grunt based tooling for aura apps.

  • build app with requirejs
  • build and pack components with templates... either for standalone distribution (ComponentSources) or packaged for an app.
  • dev mode with livereload
  • generators

Someone interested in helping ?

@addyosmani
Copy link
Member

We also need to update our existing demo projects and boilerplate to conform to the latest Bower and Grunt.

Thanks for putting this together btw. Happy to help on the generator side of things.

@mprinc
Copy link

mprinc commented Jul 1, 2013

I am truly interested to participate. Please get me in.

And also It is strongly related to our interests in: #256
and in our scenario we want to not just to make boilerplates but make it a part of regular "development" process with possibility of "reverse engineering" back and forth

@sbellity
Copy link
Member Author

sbellity commented Jul 2, 2013

Hey mprinc. We'd love to get your help on that !

@addyosmani
Copy link
Member

Minus the last point I think that we could define these practices via a canonical example that captures all if them and includes templates. We could probably take one of the existing apps and do this - perhaps the simpler Todo app?

@ghost
Copy link

ghost commented Jan 23, 2014

@addyosmani @sbellity

Here is a really good one I was going to use as my base its already got a yeoman template.

https://github.com/abiee/generator-backbone-amd/blob/master/app/templates/Gruntfile.js
https://github.com/abiee/generator-backbone-amd/blob/master/package.json

A couple notes I would also put in dotJS pre-compile and underscore templates. Handlebars and Mustache is super slow, I do not recommend those template engines at all unless you like building super slow applications. I have a template structure I can propose I have been using as well. Its allot more thought out and it involves pre-compiling and automatic template dependency location and injection.

We should also add in almond support after requirejs gets repaired on the entire project the first step would be getting rjs optimizer working. All of the AMD wrappers need repair. I will create a ticket for this.

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

3 participants