This course does not reflect our current course standards or industry best practices.
Check out a free preview of the full Choosing a JavaScript Framework course:
The "Controller" Lesson is part of the full, Choosing a JavaScript Framework course featured in this preview video. Here's what you'd learn in this lesson:
Brian creates the controllers for the Todo application. Within the controller, there’s an action object that will contain all the event logic for the application. He then defines an adapter. Adapters in Ember are where the data will be loaded. This modular feature makes it easy to switch from mock data to remote data without affecting the application logic.