Home Page Icon
Home Page
Table of Contents for
Ember.js Web Development with Ember CLI
Close
Ember.js Web Development with Ember CLI
by Suchit Puri
Ember.js Web Development with Ember CLI
Ember.js Web Development with Ember CLI
Table of Contents
Ember.js Web Development with Ember CLI
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with Building Ambitious Ember.js Applications with Ember CLI
The evolution of ambitious web applications
An introduction to Ember.js
The Ember.js MVC pattern
An introduction to Ember CLI
Asset pipeline
Modules
Managing the dependencies of your application
Content security add-on
Setting up your first Ember.js application using Ember CLI
Prerequisites
Creating a new application
The app folder structure
Supporting files and folders
Running your first Ember.js application
Building and deploying your Ember CLI application
Migrating existing Ember applications to Ember CLI
Code samples used in this book
Summary
2. Understanding Ember.js Object-oriented Patterns
Ember.js object model
Reuse via mixins
Computed properties
Getter and setter methods
Observers in Ember.js
Bindings across objects
Prototype extensions
Summary
3. Rendering Using Templates
An introduction to JavaScript templates using Handlebars.js
HTMLBars and Handlebars
Defining templates
Handlebars.js expressions
Handlebars.js conditionals
If, else, and unless
Displaying a list of items using Handlebars.js
Binding HTML tag attributes
Action event bubbling
Handlebars.js input helpers
Building custom Handlebars.js helpers
Using the concise Emblem.js templating language
Installation
Using Emblem.js
Summary
4. Managing Application State Using Ember.js Routes
Application state
Creating your first route
Resources and nested templates
Injecting the model for your template
Making routes dynamic
Route's serialize method
Setting up the controller
Customizing templates to render
The location API
Summary
5. Handling Display Logic Using Ember.js Controllers
Introducing controllers
Object controller and array controller
Connecting controllers
Summary
6. Communicating with the API Server Using ember-data
Introducing ember-data
Defining ember-data models
Defining relationships between your ember-data models
One-to-one
One-to-many
Many-to-many
Understanding the ember-data identity map – DS.Store
Working with records
Finding the records
Modifying the records
The default REST adapter and serializer
Sideloaded relationships
Customizing the DS.RESTAdapter
Customizing the URL endpoints
Example application
Summary
7. Building Reusable Components
Introducing Ember views and components
Custom tags with Ember.Component
Defining your own components
Passing data to your component
Providing custom HTML to your components
Extending Ember.Component
Changing your component's tag
Adding custom CSS classes to your component
Adding custom attributes to your component's DOM element
Handling actions for your component
Mapping component actions to the rest of your application
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Table of Contents
Next
Next Chapter
Ember.js Web Development with Ember CLI
Ember.js Web Development with Ember CLI
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset