O'Reilly logo

Mastering Ember.js by Mitchel Kelonye

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 6. Views and Event Management

We discussed templates and controllers in the previous two chapters. We noted that controllers present models that templates render to users. We also learned that when users interact with applications, templates usually propagate these events back to controllers using action template helpers. In reality, these action expressions are views that delegate the events initially to controllers, and later to routes. Therefore, in this chapter, we will learn how to integrate views right into templates, especially when the following application needs arise:

  • A section of the application requires sophisticated event management
  • There's a need to build reusable components
  • The application needs to integrate third-party libraries ...

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