

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
MVC Concepts - MVC Pattern Explained –Overview, Purpose • Web App Structure – Front Controller – Data Processing Design pattern with three independent components: – Model (data) • Manages data and database logic – View (UI) • Presentation layer (renders the UI) – Controller (logic) • Implements the application logic • Processes user request, performs an action, updates the data model and invokes a view to render some UI
Typology: Lecture notes
1 / 25
This page cannot be seen from the preview
Don't miss anything!


















Model – View – Controller
MVC Concept Explained User /Some/Page/
HTTP Request
HTTP Response Delegate request Select view & pass data Use data from the model CRUD operation s
Web and PHP App Architecture 10 Views: HTML + PHP PHP Model Classes PHP Data Access Classes Web Browser MySQL PHP Controller Classes Presentation Business Logic Data Access Layer Web Browser Database Presentation Logic
MVC Collaboration Diagram
Simple MVC Folder Structure
index.php
Book.php
Model.php
viewbook.php
Booklist Page