Cover image for Mastering Ember.js.
Mastering Ember.js.
Title:
Mastering Ember.js.
Author:
Kelonye, Mitchel.
ISBN:
9781783981991
Personal Author:
Physical Description:
1 online resource (272 pages)
Contents:
Mastering Ember.js -- Table of Contents -- Mastering Ember.js -- Credits -- About the Author -- 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. Introduction to Ember.js -- The origin of Ember.js -- Downloading Ember.js -- Creating your first application -- Router -- Route -- Controller -- View -- Template -- Component -- Initializing the application -- Embedding Ember.js applications -- Summary -- 2. Understanding Ember.js Objects and Mixins -- Creating objects in Ember.js -- Accessing object properties -- Defining class instance methods -- Defining computed properties -- Defining property observers -- Creating property bindings -- Using mixins -- Reopening classes and instances -- Event subscription -- Summary -- 3. Routing and State Management -- Creating the application's router -- Mapping URLs to routes -- Nesting resources -- Understanding the state transition cycle -- Configuring the router -- Specifying a route's path -- Defining route and resource handlers -- Specifying a route's model -- Serializing resources -- Asynchronous routing -- Configuring a route's controller -- Rendering the route's template -- Redirecting state -- Catching routing errors -- Summary -- 4. Writing Application Templates -- Registering templates -- Inserting templates -- Writing out templates -- Expressing variables -- Writing bound and unbound expressions -- Adding comments in templates -- Writing conditionals -- Switching contexts -- Rendering enumerable data -- Writing template bindings -- Defining route links.

Registering DOM element event listeners -- Writing form inputs -- Extending templates -- Defining custom helpers -- Creating subexpressions -- Summary -- 5. Controllers -- Defining controllers -- Providing controllers with models -- Rendering dynamic data from controllers -- Properties -- Computed properties -- Observables -- Object and array controllers -- An object controller -- An array controller -- addObject(object) -- pushObject(object) -- removeObject(object) -- addObjects(objects), pushObjects(objects), and removeObjects(objects) -- contains(object) -- compact() -- every(callback) -- filter(object) -- filterBy(property) -- find(callback) -- findBy(key, value) -- insertAt(index, object), objectAt(index), and removeAt(index, length) -- map(callback) -- mapBy(property) -- forEach(function) -- uniq() -- sortProperties and sortAscending -- Handling event actions -- Specifying controller dependencies -- State transitions in controllers -- Summary -- 6. Views and Event Management -- Defining views -- Accessing a view's controller -- Specifying a view's template -- Specifying a view's element tag -- Updating a view's element class attribute -- Updating other views' element attributes -- Inserting views into DOM -- Inserting views into templates -- Specifying view layouts -- Registering event handlers in views -- Emitting actions from views -- Using built-in views (components) -- Textfields -- Textareas -- Select menus -- Checkboxes -- The container view -- Integrating with third-party DOM manipulation libraries -- Summary -- 7. Components -- Understanding components -- Defining a component -- Differentiating components from views -- Passing properties to components -- Customizing a component's element tag -- Customizing a component's element class -- Customizing a component's element attributes -- Managing events in components.

Defining component actions -- Interfacing a component with the rest of the application -- Components as layouts -- Summary -- 8. Data Persistence through REST -- Making Ajax requests -- Understanding Ember-data -- Ember-data namespace -- Creating a data store -- Defining models -- Declaring relations -- One to one -- Finding records -- Defining a store's adapter -- Creating REST APIs -- Customizing a store's serializer -- Creating custom transformations -- Summary -- 9. Logging, Debugging, and Error Management -- Logging and debugging -- Objects -- Router and routes -- Templates -- Controllers -- Views -- Using the Ember.js inspector -- Client-side tracing -- Error management -- Summary -- 10. Testing Your Application -- Writing tests -- Asynchronous test helpers -- Synchronous test helpers -- Wait helpers -- Writing unit tests -- Testing computed properties -- Testing method calls -- Testing observers -- Writing integration tests -- Summary -- 11. Building Real-time Applications -- Setting up Socket.io -- Connecting the user -- Summary -- 12. Modularizing Your Project -- Installing the Component build tool -- Code organization -- Installing components -- Building components -- Loading the built files -- Game logic -- Serving images and fonts -- Summary -- Index.
Abstract:
If you are a web developer with basic knowledge of Ember.js, this is the book for you. Working knowledge of HTML, CSS, and JavaScript is assumed.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: