Ember.js web development with Ember CLI : build ambitious single-page web applications using the power of Ember.js and Ember CLI /
If you are a JavaScript developer who is starting out to build ambitious Ember.js application, or a developer who has prior Ember.js experience and want to transition your application to the latest Ember.js version with Ember CLI, then this book is for you.
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Building Ambitious Ember.js Applications with Ember CLI; The evolution of ambitious web applications; An introduction to Ember.js; The Ember.js MVC pattern; An introduction to Ember CLI; Asset pipeline; Modules; Managing the dependencies of your application; Content security add-on; Setting up your first Ember.js application using Ember CLI; Prerequisites; Creating a new application; The app folder structure.
- Supporting files and foldersRunning your first Ember.js application; Building and deploying your Ember CLI application; Migrating existing Ember applications to Ember CLI; Code samples used in this book; Summary; Chapter 2: Understanding Ember.js Object-oriented Patterns; Ember.js object model; Reuse via mixins; Computed properties; Getter and setter methods; Observers in Ember.js; Bindings across objects; Prototype extensions; Summary; Chapter 3: Rendering Using Templates; An introduction to JavaScript templates using Handlebars.js; HTMLBars and Handlebars; Defining templates.
- Handlebars.js expressionsHandlebars.js conditionals; If, else, and unless; Displaying a list of items using Handlebars.js; Binding HTML tag attributes; Action event bubbling; Handlebars.js input helpers; Building custom Handlebars.js helpers; Using the concise Emblem.js templating language; Installation; Using Emblem.js; Summary; Chapter 4: Managing Application State Using Ember.js Routes; Application state; Creating your first route; Resources and nested templates; Injecting the model for your template; Making routes dynamic; Route's serialize method; Setting up the controller.
- Customizing templates to renderThe location API; Summary; Chapter 5: Handling Display Logic Using Ember.js Controllers; Introducing controllers; Object controller and array controller; Connecting controllers; Summary; Chapter 6: Communicating with the API Server Using ember-data; Introducing ember-data; Defining ember-data models; Defining relationships between your ember-data models; One-to-one; One-to-many; Many-to-many; Understanding the ember-data identity map
- DS. Store; Working with records; Finding the records; Modifying the records; The default REST adapter and serializer.
- Sideloaded relationshipsCustomizing the DS. RESTAdapter; Customizing the URL endpoints; Example application; Summary; Chapter 7: Building Reusable Components; Introducing Ember views and components; Custom tags with Ember.Component; Defining your own components; Passing data to your component; Providing custom HTML to your components; Extending Ember.Component; Changing your component's tag; Adding custom CSS classes to your component; Adding custom attributes to your component's DOM element; Handling actions for your component; Mapping component actions to the rest of your application.