MVC trivial design
Posted: Tue Dec 20, 2005 7:11 pm
Assuming smarty was my template engine of choice, but other than that I wanted only to use native PHP functions and a single index.php...
How would YOU go abouts implementing even trivial MVC...???
index.php controls smarty...which in turn loads the views...index.php would also handle controller and businness logic/model(via PHP classes which modelled thier objects)
not extensible or anything but i'm just trying to get a batter feel for MVC in a web environment...
So please...offer suugestions, comments, etc...
Except those that start with "Why not just use so an so..."
how is MVC typically implemented in PHP???
Thanks
How would YOU go abouts implementing even trivial MVC...???
index.php controls smarty...which in turn loads the views...index.php would also handle controller and businness logic/model(via PHP classes which modelled thier objects)
not extensible or anything but i'm just trying to get a batter feel for MVC in a web environment...
So please...offer suugestions, comments, etc...
Except those that start with "Why not just use so an so..."
how is MVC typically implemented in PHP???
Thanks