Best Boilerplate to get started with


#1

Hi all,

We’re about to start a rather ambitious web build and were wondering what’s considered to be the best EmberJS boilerplate?

Ideally it’d support SASS, CoffeeScript, Twitter Bootstrap, testing, build scripts, etc, etc, etc.

This one looks to be the best we’ve found (https://github.com/lsdafjklsd/grunt-ember-boilerplate) but interested to hear what the community is using these days.

Cheers.


#2

Hi.

I am also interested in this particular subject. I was researching it a weekend ago and stumbled upon this helpful blog post http://blog.embed.ly/post/46586649344/introduction-to-ember-development

So I created my own “skeleton”, which can be viewed here: https://github.com/zigomir/ember-skeleton

What I wanted to have is live reloading, coffee script, and most of all, pre-compiled templates.

I also got inspiration from this charcoal project.

It would be great to have some more official best practices on how to start a production ready ember app.


#3

Hi, just want to add my five cent, did you guy’s had a look at yeoman.io? The the ember-generator seams also a good place to start.


#4

All great examples guys.

I ended up forking grunt-ember-boilerplate, mixing in some of generator-ember and making changes to suit our desired platforms & processes.

There’s just so many out there! It took me hours just to decide which boilerplate to use!?


#5

Sure. I mean, I did my skeleton with it. It is great, but I missed precompiling of the templates, so I added it.

So much too choose from. It would be cool if we can find and define some best practices and create some kind of omakase production ready starter kit :smile:


#6

I’m quite biased, but I’ve enjoyed using my own boilerplate/Yeoman generator, Charcoal. There’s a little blog post with its advantages here: http://www.thomasboyt.com/2013/05/02/announcing-charcoal.html

In particular, it comes with a development guide (similar to the default README in Rails projects), a step I haven’t seen any other generators take.


#7

I’ve been working on Brunch based skeleton along @gcollazo. It has the beginnings of QUnit based testing:

Currently integration testing with ember-testing needs work (which is why it is on a branch), but otherwise it is coming along nicely.

Note it uses Stylus, but should be easy to fork and change to SaSS as well as add Bootstrap.


#8

Great skeleton! How can i have file dependency of coffeescripts in it? e.g. B.coffee depends on A.coffee, so A.coffee must be placed before B.coffee in the output application.js


#9

You can check out https://github.com/walter/ember-bloggr/blob/with_qunit_tests/test/controllers/post_controller_test.coffee for an example. That is apart of an example use of the skeleton.


#10

I’d like to know if any of you used a Ruby boilerplate for Ember. I was tempted to use the ember-gem, which generates an Ember app with rake-pipeline.

Moreover this seems to be the official boilerplate, see examples:

Notes:

  • now I’m using a Rails app with the [ember-rails][5] gem.

  • my dream setup would comprehend:

    1. rake-pipeline
    2. CoffeeScript
    3. Foundation
    4. QUnit with PhantomJS support

#11

You should keep tabs on https://github.com/stefanpenner/ember-app-kit.