70 likes | 352 Views
Model-View-Controller. Controller. Model. Request. Database. View. Response. Model-View-Controller. Controller Files that receive user requests, get data from the model, and return views index.php. Model. Request. Database. View. Response. Model-View-Controller. Model
E N D
Model-View-Controller Controller Model Request Database View Response
Model-View-Controller • Controller • Files that receive user requests, get data from the model, and return views • index.php Model Request Database View Response
Model-View-Controller • Model • Files that communicate directly with the database • db.php • db_functions.php Controller Request Database View Response
Model-View-Controller Controller Model Request Database • View • Files that display the user interface • edit_grade.php • show_grades.php • success.php Response
Model-View-Controller • Model • Files that communicate directly with the database • db.php • db_functions.php • Controller • Files that receive user requests, get data from the model, and return views • index.php Request Database • View • Files that display the user interface • edit_grade.php • show_grades.php • success.php Response