Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Understanding MVC!
You have completed Understanding MVC!
Preview
Learn how the "controller" in MVC acts as the intermediary between users, data, and presentation.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
C stands for controller, and it handles
a the communication between a user and
0:00
the various parts of an application.
0:01
For example a, user wouldn't talk
directly to the database on IMBb.com.
0:04
Instead, they would
visit a page like this.
0:10
The URL is known as a route, and
0:13
represents a request to see information
on the classic movie Toy Story.
0:15
The URL is routed to the controller.
0:20
Remember, the controller handles all
of the communication in the app.
0:23
The controller then knows
that it needs some data.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up