Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Building Web Apps with Ember.js - Jesse Cravens, Thomas Q. Brady

Building Web Apps with Ember.js

Write Ambitious JavaScript
Buch | Softcover
188 Seiten
2014
O'Reilly Media (Verlag)
978-1-4493-7092-3 (ISBN)
CHF 37,65 inkl. MwSt
Single-page applications are spreading rapidly. This book provides a number of example applications, and covers some of the more confusing, and under-documented aspects of Ember.js such as: Using Ember Data, Handlebars Integration, and Testing. A full stack example with end to end unit and integration tests will use Ruby On Rails as the server side web framework and the latest in client-side build, package management, taking readers all the way from theory to an example of a 'production-ready' application.
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

Jesse Cravens is a Sr. Engineer at frog where he works with the world's leading companies, helping them to design, engineer, and bring to market meaningful products and services. With 12 years of experience in web application development, Jesse is currently focusing on single page web applications, the mobile web, and HTML5.

Thomas Q Brady has been sketching and prototyping since he was barely able to read, starting with the Commodore Vic 20. Later, Thomas fell backward into a legitimate career as a design technologist at frog. Along the way, he has built run-the-business back-office software, business simulations, interactive marketing, high-fidelity prototype hardware and software, Arduino-powered bluetooth caller ID watches and even some web applications for clients and for fun. Thomas has enjoyed the opportunity to blog, both independently and for-hire, author a couple whitepapers and even file a couple patents.

Chapter 1Introducing Ember.js and Ambitious Web Applications
What Is an “Ambitious Web Application”?
What Is Ember.js?
Why Choose Ember?
What Is Ruby on Rails?
What Is Node.js?
Chapter 2The Basics
Hello, World Wide Web
SimpleHTTPServer: Just Like It Says on the Tin
Data Binding
But Where’s All the Code?
Uh, What’s a Router?
Ember in Action
Wrapping Things Up
Chapter 3 Ember Boilerplate and Workflow
Git
What Is Yeoman?
Using Yo’s Ember Application Generator
Using Bower
Grunt
Debugging with the Ember Inspector for Chrome and Firefox
Wrapping Things Up
Chapter 4Building 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
Chapter 5Building the RocknRollCall Prototype: The Router, Routes, and Models
URLs : The Web :: “Saved Game Passwords” : The Nintendo Entertainment System
Routing
Routes
Models
Wrapping Things Up
Chapter 6Building the RocknRollCall Prototype: Controllers, Views, Data Binding, and Events
Controllers
Computed Properties
The Power of Promises and the model Method
Views
Wrapping Things Up
Chapter 7Persisting Data
Not Rolling Our Own Ajax
There Must Be a Better Way
Ember Client-Side Persistence Libraries
An Ember Data Deep Dive
Abstraction Layers: Store, Serializers, and Adapters
Wrapping Things Up
Chapter 8Building an Ember Backend
RESTful Web Service APIs
Why Use Rails?
Wrapping Things Up
Chapter 9Ember Components
The Anatomy of an Ember Component
Wrapping Things Up
Chapter 10Ember Testing
Ember Testing with Ember App Kit, Qunit, and Testem
Testem and QUnit Test Runners
Ember Client-Side Integration Testing
Ember Unit Testing
Wrapping Things Up

Erscheint lt. Verlag 26.8.2014
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 318 g
Einbandart Paperback
Themenwelt Informatik Programmiersprachen / -werkzeuge Ruby
Informatik Web / Internet JavaScript
Schlagworte JavaScript • Ruby On Rails • Webentwicklung
ISBN-10 1-4493-7092-6 / 1449370926
ISBN-13 978-1-4493-7092-3 / 9781449370923
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich