Ember.js Cookbook

Arm yourself with over 65 hands-on recipes to master the skills of building scalable web applications with Ember.js
Preview in Mapt

Ember.js Cookbook

Erik Hanchett

1 customer reviews
Arm yourself with over 65 hands-on recipes to master the skills of building scalable web applications with Ember.js
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Ember.js Cookbook Book Cover
Ember.js Cookbook
$ 39.99
$ 28.00
Robot Operating System Cookbook Book Cover
Robot Operating System Cookbook
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $44.98
Add to Cart

Book Details

ISBN 139781783982202
Paperback308 pages

Book Description

Ember.js is an open source JavaScript framework that will make you more productive. It uses common idioms and practices, making it simple to create amazing single-page applications. It also lets you create code in a modular way using the latest JavaScript features. Not only that, it has a great set of APIs to get any task done. The Ember.js community is welcoming newcomers and is ready to help you when needed.

This book provides in-depth explanations on how to use the Ember.js framework to take you from beginner to expert. You’ll start with some basic topics and by the end of the book, you’ll know everything you need to know to build a fully operational Ember application.

We’ll begin by explaining key points on how to use the Ember.js framework and the associated tools. You’ll learn how to effectively use Ember CLI and how to create and deploy your application. We’ll take a close look at the Ember object model and templates by examining bindings and observers. We’ll then move onto Ember components, models, and Ember Data. We’ll show you examples on how to connect to RESTful databases. Next we’ll get to grips with testing with integration and acceptance tests using QUnit. We will conclude by covering authentication, services, and Ember add-ons. We’ll explore advanced topics such as services and initializers, and how to use them together to build real-time applications.

Table of Contents

Chapter 1: Ember CLI Basics
Introduction
Installing Ember CLI
Creating your first project
Exploring pods and the folder layout
Asset compilation
Dependency management
Upgrading your project
Deployment
Chapter 2: The Ember.Object Model
Introduction
Working with classes and instances
Working with computed properties
Working with Ember observers in Ember.js
Working with bindings
Using mixins
Using enumerables with arrays
Chapter 3: Ember Templates
Introduction
Defining an application template
Working with conditionals in templates
Displaying a list of items
Binding with element attributes and classes
Working with HTML links inside templates
Handling HTML actions
Using template input helpers
Using development helpers
Chapter 4: Ember Router
Introduction
Defining an application route
Setting up a route model
Handling dynamic segments inside routes
Defining routes with templates
Using redirection with routes
Working with asynchronous routing
Loading and error handling
Using query parameters
Chapter 5: Ember Controllers
Introduction
Storing application properties
Handling actions in controllers
Working with transitions
Managing dependencies between controllers
Chapter 6: Ember Components
Introduction
Using components in an application
Using events in components
Implementing actions in components
Passing properties to a component
Using yield with components
Chapter 7: Ember Models and Ember Data
Introduction
Understanding the functionalities of Ember Data
Creating, reading, updating, and deleting records with Ember Data
Using fixtures
Customizing the adapter and serializer
Working with relationships
Chapter 8: Logging, Debugging, and Testing
Introduction
Using Ember.Logger
Using Ember Inspector
Verifying deprecations and using advanced features of Ember Inspector
Using acceptance testing
Using unit tests
Testing components
Testing routes
Testing models
Testing controllers
Chapter 9: Real-Life Tasks with Ember.js
Introduction
Using services with a component
Managing basic authentication
Using OAuth2 with Ember Simple Auth
Using Liquid Fire to create transitions
Working with HTML5 drag and drop
Learning Bootstrap with Ember.js
Chapter 10: Awesome Tasks with Ember
Introduction
Using Ember validations
Using D3.js with Ember.js
Using Ember with Sockets
Using Ember with Firebase
Using server side rendering
Chapter 11: Real-Time Web Applications
Introduction
Using dependency injection
Working with application initializers
Building a chat application
Creating and working with add-ons
Learning the Ember run loop

What You Will Learn

  • Skip the boilerplate code with Ember CLI generators
  • Create a component with actions and events
  • Set up a model with Ember Data using fixture data
  • Create several different types of test cases and run them
  • Manage and set up user authentication using Ember Simple Auth
  • Add animated transitions to your app with Liquid Fire
  • Set up a service and initializer with dependency injection
  • Create a working chat application
  • Set up an Ember Service and initializer with dependency injection
  • Create a working chat application

Authors

Table of Contents

Chapter 1: Ember CLI Basics
Introduction
Installing Ember CLI
Creating your first project
Exploring pods and the folder layout
Asset compilation
Dependency management
Upgrading your project
Deployment
Chapter 2: The Ember.Object Model
Introduction
Working with classes and instances
Working with computed properties
Working with Ember observers in Ember.js
Working with bindings
Using mixins
Using enumerables with arrays
Chapter 3: Ember Templates
Introduction
Defining an application template
Working with conditionals in templates
Displaying a list of items
Binding with element attributes and classes
Working with HTML links inside templates
Handling HTML actions
Using template input helpers
Using development helpers
Chapter 4: Ember Router
Introduction
Defining an application route
Setting up a route model
Handling dynamic segments inside routes
Defining routes with templates
Using redirection with routes
Working with asynchronous routing
Loading and error handling
Using query parameters
Chapter 5: Ember Controllers
Introduction
Storing application properties
Handling actions in controllers
Working with transitions
Managing dependencies between controllers
Chapter 6: Ember Components
Introduction
Using components in an application
Using events in components
Implementing actions in components
Passing properties to a component
Using yield with components
Chapter 7: Ember Models and Ember Data
Introduction
Understanding the functionalities of Ember Data
Creating, reading, updating, and deleting records with Ember Data
Using fixtures
Customizing the adapter and serializer
Working with relationships
Chapter 8: Logging, Debugging, and Testing
Introduction
Using Ember.Logger
Using Ember Inspector
Verifying deprecations and using advanced features of Ember Inspector
Using acceptance testing
Using unit tests
Testing components
Testing routes
Testing models
Testing controllers
Chapter 9: Real-Life Tasks with Ember.js
Introduction
Using services with a component
Managing basic authentication
Using OAuth2 with Ember Simple Auth
Using Liquid Fire to create transitions
Working with HTML5 drag and drop
Learning Bootstrap with Ember.js
Chapter 10: Awesome Tasks with Ember
Introduction
Using Ember validations
Using D3.js with Ember.js
Using Ember with Sockets
Using Ember with Firebase
Using server side rendering
Chapter 11: Real-Time Web Applications
Introduction
Using dependency injection
Working with application initializers
Building a chat application
Creating and working with add-ons
Learning the Ember run loop

Book Details

ISBN 139781783982202
Paperback308 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Ember.js Web Development with Ember CLI Book Cover
Ember.js Web Development with Ember CLI
$ 20.99
$ 14.70
Mastering D3.js Book Cover
Mastering D3.js
$ 32.99
$ 23.10
Node.js Design Patterns - Second Edition Book Cover
Node.js Design Patterns - Second Edition
$ 39.99
$ 28.00
Django: Web Development with Python Book Cover
Django: Web Development with Python
$ 67.99
$ 47.60
Learning Go Web Development Book Cover
Learning Go Web Development
$ 23.99
$ 16.80
Learning Angular 2 Book Cover
Learning Angular 2
$ 31.99
$ 22.40