Home > Programming > Using the SMARTY system for MVC

Using the SMARTY system for MVC

Lecture Slides

MVC lecture

Lab Exercise

SMARTY is a templating system that allows for the separation of a PHP project into Model, View and Controller subparts. This exercise takes you through the steps required to create a small SMARTY application.

PHP exercise – MVC

These are the base zip files required to get the SMARTY application started lab11

These are the supplementary files needed for the second half of the exercise lab 11 more files

These are the final versions of the files, should you not manage to get the versions/exercises working (note that you would still need to edit the class.EmpDB.php file to include your database server, database name, username and password) lab11 final

Categories: Programming Tags:
  1. No comments yet.
  1. No trackbacks yet.