Skip to content

Instantly share code, notes, and snippets.

@danielchappell
Last active November 2, 2015 01:39
Show Gist options
  • Save danielchappell/4ee0424c10979d0abcb9 to your computer and use it in GitHub Desktop.
Save danielchappell/4ee0424c10979d0abcb9 to your computer and use it in GitHub Desktop.
Ember Tutorial

Ember Training

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!

Prerequesites and Dependencies

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

Dependancies

Our app will utilize ember-cli which has the following depedencies:

##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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment