Friday, April 8, 2011

MVC

Model-View-Controller or MVC is a method to create an application with separate data (Model) from the view (View) and the way how to process it (Controller). In most implementation framework in the application site is based on MVC architecture. MVC separates the application development based on the major components that build an application such as data manipulation, user interface, and part of a control in a web application.
Part of the MVC



  •     Model, the Model represents the data structure. Usually the model contains functions that assist a person in the management of databases such as entering data into the database, update data and others.
  •     View, View is the part that set the display to the user. Can be told in the form of web pages.
  •     Controller, Controller is the part that bridge the model and view. The controller contains the commands that function to process the data and sends it to web pages.

By using the MVC method then the application will be easier to care for and developed. To understand the development of applications using the MVC method required knowledge of object-oriented programming (Object Oriented Programming).
Type of MVC on the website

    
MVC Server Side, Server Side MVC is common in traditional web applications, which do not involve client side like Javascript, Java applets, Flash, and others. Server Side MVC deliver overall business process on the server, applications on the user side can only receive. MVC of this type are sometimes also called the name of the Thin Client. * Mixed Client Side and Server Side MVC, In Mixed Client Side and Server Side MVC 1 client does not use the model as a bridge for communication on the server, compared with Server Side MVC, this architecture has a higher level of complexity because more components are involved . To further this architecture is called, with Mixed MVC 1. On Mixed Client Side and Server Side MVC 2, the client using the model as a bridge for communication on the server, compared with the other MVC architecture, this architecture has the highest level of complexity because more components are involved, thus requiring greater resources as well. To further this architecture is called the Mixed MVC 2.
    
Rich Internet Application MVC, MVC Application Rich Internet Application (RIA) is also called by the name Fat Client, is a web application that has the capabilities and functions almost like a desktop application. RIA on the client side, has a machine to retrieve data residing on the server, so there's an MVC in the client itself and only requires the model on the server side.

No comments:

Post a Comment