Introducing Ember.js

Ember is a comprehensive frontend framework for creating ambitious web applications. It is modeled after the Model-View-Controller (MVC) architectural pattern for the frontend. Its well-designed components with clearly defined responsibilities and rich capabilities allow developers to develop complex web applications with dramatically less code. In an Ember application, screens are composed using Handlebars templates that update themselves automatically when the underlying data changes.

Ember is productive out of the box, with a comprehensive development stack and a friendly API. The Ember development stack contains the following tools:

  • Ember CLI: This is a command-line tool for creating projects, scaffolding, and managing their resources. It provides a development server with live reload, a testing framework, mocking server, and comprehensive asset management support.
  • Ember Inspector: This is a debugger-cum-inspector tool for Ember applications, shipped as a plugin for Firefox and Chrome browsers. It allows you to evaluate and change Ember objects, elements, and variables while debugging, and provides a visual representation of the running Ember app.
  • Ember Data: This subproject of Ember is a data-persistence library that can be directly mapped to a remote data source, such as a REST API. It maps Ember model objects with data entities on the server side via channels such as API endpoints. Ember Data provides adapters and serializers for standard REST and JSON API endpoints, and allows you to create your own adapters for any data source, for example, the browser's local storage.
  • Fastboot: This is a server based on Node.js for the server-side rendering of Ember resources, eliminating the need for downloading JavaScript payloads post the loading of static assets for increased performance.
  • Liquid Fire: This provides animation support for Ember views.
  • A testing framework: Ember CLI integrates QUnit for testing Ember resources.

Ember is a very opinionated framework; this means that you are expected to structure the app by its own conventions, and then the framework takes care of the rest. If you follow the guidelines, you will end up writing very little, and very readable, code. Ember CLI generates the Ember project structure and artifacts with simple commands, in the way expected by the framework.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset