Join Justin Yost for an in-depth discussion in this video Overview of Ember.js, part of Ember.js Essential Training.
It also follows semantic versioning. So even though you have this rapid pace, it means every minor version is API compatible, with clear, deprecation warnings informing you of changes for the next major version. Ember.js uses the templating language Handlebars for providing its underlying templating. Handlebars is an easy to learn and rich templating language that you'll enjoy using the first time you use it, and for many years to come. Ember.js chooses to make a lot of little decisions for you ahead of time.
It uses standard external libraries for large parts of the framework. It uses the highly developed API standard JSON API to make it easy to support a multitude of backend server architectures. This also includes a standard project layout, making it easy for you to learn a new Ember app, or to bring new team members on board. All in all, this means Ember chooses conventions over configuration. This means you get to focus on choices that are custom for your application, rather than customizing little minor details for every part of your application.
Ember uses the Model-View-ViewModel pattern. This may be new to you, but the basic idea is, roughly, there is a Model layer that stores the state of application, a View layer that represents the UI of the application. The third part is the ViewModel portion. This is the layer that binds the Model and the View layer together. This binder layer is the declarative layer that binds UI interface actions to Model layer behaviors. Model-View-ViewModel in essence, is trying to provide a more clear separation.
Between the Model layer, or the data of your application, and the View state. In essence, the goal is to provide a clear separation between the data your application has, the actions done on that data, and the presentation of that same data. Ember's goal is to achieve that using this pattern. And to provide for front-end developers writing your HTML and CSS. And other similar languages to not have to worry as much about the data being returned from your Ember application.
Let's talk a little bit about how Ember.js works. Ember.js maps a URL to a route, which loads a matching template and a model. These templates return components, or the parts that control the behavior of the user interface. In this way, Ember.js presents an interface for you and your users to interact with. Some other information about Ember.js. Ember.js is an open source, MIT licensed framework. Which means you should feel confident to use it in any application and to change it and customize it as needed.
- Why choose Ember?
- Installing Ember.js and Ember Inspector
- Defining the model
- Creating nested and dynamic routes
- Loading templates with routes
- Rendering different templates
- Displaying collections
- Working with Ember components
- Building forms
- Creating, editing, and deleting records
- Configuring Ember.js applications
- Testing your Ember application
- Installing add-ins
- Upgrading an Ember application