Saturday, November 29, 2014

MVC Architectural Pattern


  • What is the MVC Pattern?
    • MVC is the architectural pattern. That is used to separate an application into three main component: The model, the view, the controller.
    • The Model: Model objects are the parts of application that implement the logic for the application's data domain. Often model objects retrieve and store model state in a database.For example, a Product object can retrieve information from database, operate on it, and then update information back to product table in SQL server.
    • The View: Views are the components that display the application's user interface(ui). Typically,UI is created from the model data.
    • The Controller: Controllers are the components that handle user interaction. working with model and ultimately,select a view to reder.That display UI. In an MVC application, View only display information for end user.Controller handle and response to user input and interaction.

No comments:

Post a Comment