ember-cli 101 cover page
ember-cli 101

ember-cli 101

Learn Ember.js with ember-cli.


Everything you wish you had known while learning to write Ember.js applications.
ember-cli 101 Edit
This book is 99% complete

Updated

Bundles

About the Book

Learn to write Ember.js applications from the ground up.

If you are just getting started with Ember.js, this book is perfect for you. We’ll work on a real world application (not a to-do list) that will allow you to learn Ember.js and its main features while using ember-cli. Introducing Ember-Data from the first example, you'll learn how to work with data coming from an API as well as how to consume raw JSON using $.ajax.

Don’t fall into common traps. We'll tell you what to keep an eye on when using certain features. There are a lot of changes going on in Ember, Ember-Data, and ember-cli. This book will continue to develop along with those changes.

Ember 2.0

The book will be frequently updated to accomodate to the changes coming on Ember 2.0. You will be able to learn Ember as it is currently and you'll also get tips about things to keep in mind and how you can start to write code which can be easily migrated once 2.0 becomes the official release. Don't worry about keeping track of every change, we'll make sure you get all the details.

If you want a book that keeps tracks of the Ember.js ecosystem, then ember-cli-101 is the right choice.

Get 24/7 support 

We know how difficult it is to follow a text that contains poor examples, or worse, a text that leaves you with unanswered questions and nobody on hand to offer guidance. We provide 24/7 support to all interested readers through our IRC channel #ember-cli-101.

Testimonials

I purchased your book today and all I have to say is it is awesome. It really connected the dots for me

Jamie Phillips

Adolfo’s step by step guidance in developing a ember web app through this book unleashed my own creativity for developing ember apps.

Anil S

Good resources about Ember are rare and Adolfo's book was an invaluable help for me when learning. Ember-CLI makes Ember fun and Adolfo's book makes it easy.

Pierre Choffé

Bought the book the other day and it is EXCELLENT...a very comprehensive how-to for Ember

Evan

The Workshop

The workshop includes personalized guidance where we'll go through the book with weekly sessions of questions and answers plus a special guest.

It also includes access to a participant forum where you can get all of your questions answered and 24/7 support through our IRC channel. 

Read More

Table of Contents

  • Why
  • Anatomy
  • Conventions
  • Getting started
    • Requirements
    • ember new
  • Hands-on
    • Adding a friend resource
    • Connecting with a Backend
    • A word on Adapters
    • Listing our friends
    • Adding a new friend
    • Viewing a friend profile
    • Updating a friend profile
    • Deleting friends
    • Mockups
    • Installing Dependencies
    • Articles Resource
    • Defining relationships.
    • Nested Articles Index
    • Lending new articles
    • Computed Property Macros
    • Using components to mark an article as returned.
    • Implementing auto save.
    • Route hooks
  • Working with JavaScript plugins
    • Installing moment
    • It’s a global!
    • Wrapping globals
    • Writing an Ember helper: formatted-date.
    • Working with libraries with named AMD distributions.
    • ember-browserify
    • Wrapping up
  • Components and Addons
    • Web Components
    • ember-cli addons
    • ember-cli-fill-murray
    • Consuming fill-murray in borrowers
  • Ember Data
    • DS.Store Public API
    • findRecord: Loading a single record
    • Loading relationships
    • Working with async relationships in Ember-Data
    • What to use?
  • Computed Properties and Observers
    • Computed Property function signature
    • Computed Properties gotchas
    • Observers
    • Observing collections
  • Driving our application state through the URL
    • Sorting friends.
    • Query Parameters
    • Refreshing the model when query parameters changes
    • Further Reading
  • Testing Ember.js applications
    • Unit Testing
    • Acceptance Tests
    • Further Reading
  • PODS
    • Using pods
  • Deploying Ember.js applications
    • Deploying to S3
    • Deploying to Divshot
    • Deploying to Heroku with the heroku-buildpack-ember-cli
    • ember-cli-deploy
  • Updating your project to the latest version of ember-cli

Read More

About the Author

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks. We process the refunds manually, so they may take a few days to show up.
See full terms