BTC Ember

Core

Angular

Chaplin

Cordova

Download

Table of Contents

  1. About
    1. Core
    2. Ember
  2. Tasks
    1. Extras
    2. Generators

About

This is a starter project template to build rich client-side experiences with Ember.js using Node.js. This skeleton is aimed at leveraging packages to develop and build, while providing a set of unified tasks and definitions to focus less on configuration and setup.

Core

This starter project builds on top of core packages and utilities. In addition, there are variants of this project that leverage other tools, such as Cordova or server extras. Visit this page for more information on core functionality. Visit this page for more information on Cordova specifics.

Ember

The following additional packages are included:

Handlebars templates are precompiled when assembling the application. In addition, Ember.js is included in two flavors:

Tasks

Additional tasks are included for working with Ember.js. Visit this page for more information on tasks.

Extras

These commands add additional features/items to the project that are not included by default.

add:data
rem:data

Add/remove Ember Data to/from the project for an integrated data persistence layer.

add:swag
rem:swag

Add/remove Swag to/from the project to add additional helpers for Handlebars.

Generators

These generators are provided to generate components without writing boilerplate code. Unit test files are automatically generated for models, controllers, components, and views.

generate model=[name]
destroy model=[name]

Generate/destroy an Ember class that will be used to represent a model. (visit this page for more information)

generate data=[name]
destroy data=[name]

Generate/destroy an Ember Data model that will be used to represent a model. Ember Data is required.

generate component=[name]
destroy component=[name]

Generate/destroy an Ember component and Handlebars template.

generate view=[name]
destroy view=[name]

Generate/destroy an Ember view.

generate route=[name]
destroy route=[name]

Generate/destroy an Ember route.

generate controller=[name]
destroy controller=[name]

Generate/destroy an Ember controller.

generate objcontroller=[name]
destroy objcontroller=[name]

Generate/destroy an Ember object controller.

generate arrcontroller=[name]
destroy arrcontroller=[name]

generate style=[name]
destroy style=[name]

Generate/destroy a Stylus stylesheet file.

generate template=[name]
destroy template=[name]

Generate/destroy a Handlebars template. You can specify subdirectories. ex: jake g template=products/index

generate partial=[name]
destroy partial=[name]

Generate/destroy a Handlebars partial template.