Getting Started with Ember
Emberacing the Magic
Elana Kopelevich
@elanalynn
April 27, 2016
Ember is a simple MVC
Model
View
Controller
Just Kidding
For a beginner, Ember is more like an MVRRSABQPXYZ
Model
View
Controller
Route
Adapter
Serializer
Service
Helper
Generate an Ember Project
Yeah, I can see the MVC...
Ember 2.0
http://emberigniter.com/5-essential-ember-2.0-concepts/
Router
The Ember router maps the current URL to one or more route handlers
Route
A route can: render a template, load a model that is then available to the template, redirect to a new route, handle actions that involve changing a model or transitioning to a new route.
Model
Models are objects that represent the underlying data that your application presents to the user.
Component
Like standard Web Components, Ember Components allow you to define your own HTML tags, then implement their behavior using JavaScript. They are made up of a view and a controller.
Service
An Ember.Service is a long-lived Ember object that can be made available in different parts of your application. Services are useful for features that require shared state or persistent connections.
So, about that
witchcraft magic?
Thank you!
Talk to me... @elanalynn
My First Ember App
By Elana
My First Ember App
- 430