O'Reilly logo

Ember.js Web Development with Ember CLI by Suchit Puri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Handling Display Logic Using Ember.js Controllers

In the last chapter, you learned about the Ember.js routing layer. You learned how to manage your application state by using Ember.js router and routes. In this chapter, you will learn about the Ember.js controllers. You will see how to decorate your models with view-specific logic, using Ember.js controllers.

In this chapter, we shall cover the following topics:

  • Introducing controllers
  • Object controllers and array controllers
  • Connecting controllers

Introducing controllers

Like all the other components in the Ember.js framework, the controllers are also well-designed thought of components. Controllers in Ember.js are designed to serve the following three main use cases:

  • Handle user interaction ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required