A hands on guide to writting idomatic Ember.
##Contributions
This training guide and app was build and designed by Daniel Chappell and Kevin Boucher. Both this guide and the source code for the app are open source and completely free.
Please open an issue or submit a pull request for clairification or correction. Nothing is perfect with out help from the community, Thanks!
In this training we will build an app that has user creation, authentiation, other CRUD functionality, and all the validation you would expect from a robust user experience. We will be focusing most on Core architecture concepts in the eco system and applying them to build our app. The primary motivation of this training is to demostrate the correct ember idoms for many non trival (however common) application concerns. It is expected that you have throughly read the Ember Guide at least the sections covering these topics as we will not dedicate time to introduce syntax:
- Ember Object Model
- Routing
- Templates
- Components
- Controllers
- Models
Our app will utilize ember-cli which has the following depedencies:
- Phantom JS
- Node.js (with NPM) >= .10
- bower
##Getting Started
Welome! We are going to build an ember app that uses many of the core concepts of ember.
First clone this repo it has the CSS and package.json/bower.json you will start out with.
$ git clone https://github.com/josephchappell/ember-training.git
If you haven't yet globally install ember-cli. Like this:
$ npm install -g ember-cli
Now lets navigate to the ember-training repository. If you list the files you should see a package.json and a bower.json. The package.json lists dependencies and versions that are controlled by NPM package manager. The bower.json file does the same but for dependencies that are controlled by bower.
These are the two package managers an ember app will use. When you clone down a repo you do not yet have the dependencies as they are not generally tracked by git. To download all the dependencies from npm and bower:
$ npm install
$ bower install