

Building Web Apps with Ember.js (e-book)



Building Web Apps with Ember.js (e-book) - Najlepsze oferty
Building Web Apps with Ember.js (e-book) - Opis
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 creationLearn how Ember...s “developer ergonomics" help you use less codeWrite templates for the book...s prototype with Handlebars.jsUse routers to manage application states without reloading the pageConnect controllers and views with events, and sync data with data-bindingBuild an Ember backend with a RESTful API or Ruby on RailsUse the Ember-Data library to persist data and talk to the backendWrite reusable encapsulated widgets to extend your applications Spis treści:Preface
Building Web Apps with Ember.js
More Than Just Getting Started
Navigating This Book
Conventions Used in This Book
Using Code Examples
Safari Books Online
How to Contact Us
Acknowledgments
1. Introducing Ember.js and Ambitious Web Applications
What Is an Ambitious Web Application?
Ambitious Web (...) więcej Applications Are Not Documents
Ambitious Web Applications Are Stateful
Ambitious Web Applications Are Long-Lived
Ambitious Web Applications Have Architecture
Model-view-"whatever-you-want-to-call-it
What Is Ember.js?
Why Choose Ember?
Developer Ergonomics?
Whats an ORM?
What Is Ruby on Rails?
What Is Node.js?
Express.js
2. The Basics
Hello, World Wide Web
SimpleHTTPServer: Just Like It Says on the Tin
Data Binding
But Wheres All the Code?
Uh, Whats a Router?
Ember in Action
Wrapping Things Up
3. Ember Boilerplate and Workflow
Git
What Is Yeoman?
Installing Yeoman
Using Yos Ember Application Generator
Installing Dependencies
Ruby
Compass
Install the Generator
Running the Generator
HTML
Basic Ember application
Using Bower
Grunt
Build, Run, Test
Debugging with the Ember Inspector for Chrome and Firefox
Wrapping Things Up
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
URLs : The Web :: Saved Game Passwords : The Nintendo Entertainment System
Routing
The Router
Dynamic Routes
Routes
Models
Promises, Promises
RSVP
Other Promise implementations
The model() Method
Wrapping Things Up
6. Building the RocknRollCall Prototype: Controllers, Views, Data Binding, and Events
Controllers
Computed Properties
The Power of Promises and the model Method
Views
Wrapping Things Up
7. Persisting Data
Not Rolling Our Own Ajax
There Must Be a Better Way
Ember Client-Side Persistence Libraries
Ember Data
Ember Model
Ember Restless
Ember Persistence Foundation
An Ember Data Deep Dive
Setting Up the Router and Activity View for the Activity State
Models
Persisting Records Based on User Interaction
Abstraction Layers: Store, Serializers, and Adapters
Ember Data Store
.filter()
.all()
.getById()
Serializer
Per type serializer
Adapters
FixtureAdapter
LocalStorageAdapter
Seeding the DB with an application initializer
Wrapping Things Up
8. Building an Ember Backend
RESTful Web Service APIs
Ember Data RESTAdapter
EAK (Ember App Kit) API Stubs with Express
Why Use Rails?
Managing Dependencies with RVM (Ruby Version Manager) and Bundler
Installing Rails
Generating the Initial Application
Updating the Gemfile
Removing TurboLinks
Understanding Rails MVC and the Single-Page Application
Running Tests
Adding Ember
Active Model Serializers
Generating the Activity model and controller
Generating and configuring our serializers
Updating the router
Seeding data
Wrapping Things Up
9. Ember Components
The Anatomy of an Ember Component
Create a Template
Extending Ember.Component
Building a Heat Map Visualization with D3
Wrapping Things Up
10. Ember Testing
Ember Testing with Ember App Kit, Qunit, and Testem
Testem and QUnit Test Runners
Ember Client-Side Integration Testing
Helpers
Testing the Index Page
Testing the Activities Route
Ember Unit Testing
Using Ember-Qunit
Unit Testing Routes
Using Fixtures
Unit Testing Models
Wrapping Things Up
Index mniej
Building Web Apps with Ember.js (e-book) - Opinie i recenzje
Na liście znajdują się opinie, które zostały zweryfikowane (potwierdzone zakupem) i oznaczone są one zielonym znakiem Zaufanych Opinii. Opinie niezweryfikowane nie posiadają wskazanego oznaczenia.