ember 101 (original) (raw)
ember 101
ember 101
Learn Ember.js with ember-cli.
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.
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.
Bought the book the other day and it is EXCELLENT...a very comprehensive how-to for Ember
Evan
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.
About the Author
I work as an independent consultant, mostly helping people build web products with Ruby on Rails and Ember.js.
I used to dislike (hate) front-end development and focus mostly on backend, but Ember.js changed that.
I started contributing to different projects related to Ember.js, writing documentation and fixing bugs in Ember and Ember Data. The majority of my work has been in the ember-cli project where I had the opportunity to get involved in its early days.
After doing a lot of Ember.js/ember-cli tutoring, I decided to write this book to help people get started with Ember.js and ember-cli.
If you find yourself stuck while working on your Ember.js application, feel free to reach me. I provide a free hour of pairing every week.
If you have any questions about the book, I'm available 24/7 on the IRC channel #ember-cli-101.
Please report errata in https://github.com/abuiles/ember-cli-101-errata
Table of Contents
- What you need to know about this book
* Audience: Programmers with basic JavaScript knowledge.
* Why should I read this book?
* How to read this book
* Can I learn Ember 2.0 with this book?
* But you are still talking about controllers!
* Ember in 2016.
* Demo code on GitHub
* Reporting Errata - Suggesting Edits. - Why Ember?
- 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 Loans Index
* Lending new articles
* Computed Property Macros
* Using components to mark a loan as returned.
* Implementing auto save.
* Route hooks - Working with JavaScript plugins
* Installing moment
* It’s a global!
* Wrapping globals
* Writing an Ember helper: format-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
* 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
- Deploying Ember.js applications
* Deploying to S3
* Deploying to Pagefront
* ember-cli-deploy - Updating your project to the latest version of ember-cli
* Wrapping up.
- What you need to know about this book
- Notes
Other books by this author
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
Earn 8ona8 on a 8ona10 Purchase, and 16ona16 on a 16ona20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and 7.98∗∗.∗∗Youearn7.98. You earn 7.98∗∗.∗∗Youearn8 on a 10sale,and10 sale, and 10sale,and16 on a 20sale∗∗.So,ifwesell∗∗5000non−refundedcopiesofyourbookfor20 sale. So, if we sell 5000 non-refunded copies of your book for 20sale∗∗.So,ifwesell∗∗5000non−refundedcopiesofyourbookfor20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.