Saturday, November 3, 2012

The Concept of MVC PHP Framework


       MVC is a pattern that aims to separate the business logic, data logic and presentation logic or simply split between design, data and processes.

The concept of MVC is the Model-View-Control, namely:

a. Model, The model was processing data related to the database interface and interaction, located in the system / applications / models /.

b. View in touch with everything that is displayed to the enduser, located in the system/applications/view/ .

c. Controller is processing user requests and return the user request in the form of View. act as penguhubung data and view. Located in the system/application/controller/
.
       One of the current popular mvc framework is Codeigniter or often abbreviated as CI.
Picture below is the structure of mvc on Codeigniter:


No comments:

Post a Comment