1 / 6

Pemrograman Web

Pemrograman Web. MVC Programming Pattern in PHP 5. MVC Design Patterns. Model–View–Controller (MVC) is an architecture that separates the representation of information from the user's interaction logic and data processing with it. Controller. Model. HTTP Request. HTTP Response. View.

kamal
Download Presentation

Pemrograman Web

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Pemrograman Web MVC Programming Pattern in PHP 5

  2. MVC Design Patterns Model–View–Controller (MVC) is an architecture that separates the representation of information from the user's interaction logic and data processing with it. Controller Model HTTP Request HTTP Response View DB

  3. PHP & MVC • The model view controller pattern is the most used pattern for today’s world web applications • It has been used for the first time in Smalltalk and then adopted and popularized by Java • At present there are more than a dozen PHP web frameworks based on MVC pattern • CodeIgniter, Yii, Kohana, etc.

  4. PHP & MVC • The model is responsible to manage the data • The view (presentation) is responsible to display the data provided by the model in a specific format • The controller handles the model and view layers to work together

  5. PHP MVC Sequence Diagram

  6. Questions?

More Related