Book description
If you’re a web developer interested in building scalable single-page applications—full-stack, browser-based apps that connect to a backend—this practical guide shows you how to use Ember.js, the popular JavaScript framework based on the model-view-controller (MVC) architectural pattern.
Through the course of the book, you’ll learn how to build a prototype Ember application (a musician index called Rock’n’Roll Call), using routers, templates, models, controllers, and views. You’ll also understand how Ember’s convention over configuration approach helps you persist data, build backend technologies, and create widgets for developing production-capable applications that behave like desktop software.
- Set up workflow management and boilerplate code creation
- Learn how Ember’s “developer ergonomics” help you use less code
- Write templates for the book’s prototype with Handlebars.js
- Use routers to manage application states without reloading the page
- Connect controllers and views with events, and sync data with data-binding
- Build an Ember backend with a RESTful API or Ruby on Rails
- Use the Ember-Data library to persist data and talk to the backend
- Write reusable encapsulated widgets to extend your applications
Publisher resources
Table of contents
- Preface
- 1. Introducing Ember.js and Ambitious Web Applications
- 2. The Basics
- 3. Â Ember Boilerplate and Workflow
-
4. Building the RocknRollCall Prototype: Templates
- Rock ânâ Roll
- Starting with HTML
- The Basics of Handlebars.js
- Variables
- Linking with the {{link-to}} Helper
- Input with the {{input}} Helper
- Lists with the {{each}} Helper
- Conditionals with the {{if}} and {{else}} Helpers
- Capturing User Interaction with the {{action}} Helper
- Bound Attributes
- Creating Custom Helpers
- Wrapping Things Up
- 5. Building the RocknRollCall Prototype: The Router, Routes, and Models
- 6. Building the RocknRollCall Prototype: Controllers, Views, Data Binding, and Events
- 7. Persisting Data
- 8. Building an Ember Backend
- 9. Ember Components
- 10. Ember Testing
- Index
Product information
- Title: Building Web Apps with Ember.js
- Author(s):
- Release date: July 2014
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449370886
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Pro Ember Data: Getting Ember Data to Work with Your API
Learn how to work with Ember Data efficiently, from APIs, adapters, and serializers to polymorphic relationships, …
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
Elixir in Action, Second Edition
Elixir in Action, Second Edition teaches you how to build production-quality distributed applications using the Elixir …