Application data and behavior in terms of its problem domain, and independent of the UI
Example
movie, customer, rental , transaction -> can use to different application
The HTML markup that we display to the user
Responsible for handling an HTTP request
Example:
當一個request: /movies/delete/1進來時, 將會由MoviesController.Delete(int id)來處理
Selects the right controller to handle a request
vidly.com/movies -> router -> MoviesController
Last updated 5 years ago