[PHP] PHP / MVC & layout question

2006-12-07 Thread Vincent DUPONT
Hello, the Zend Framework, as others, offers a MVC implementation for PHP. I guess my understanding of this is right, but I still have a question. Maybe you can help. Depending on the request, a controller is called. This can do various stuff w/o model(s), and then a view is displayed. That

[PHP] PHP MVC

2006-03-30 Thread SLaVKa
Hey all, thanks for all the help upfront! In MVC I have a controller e.g PermissionController.php for my application which manages permissions of groups/users etc... So a controller loads up, and assuming theres nothing passed in request loads the default module in this case Permissions. (mod

Re: [PHP] PHP MVC

2006-03-29 Thread Paul Scott
On Thu, 2006-03-30 at 15:58 +1000, SLaVKa wrote: > So you only have one level of actions/views , what happens in a > situation where the page you are loading has various sections which want > either displayed or hidden? > We use a finely grained permissions system. ACL and groups will determine

Re: [PHP] PHP MVC

2006-03-29 Thread SLaVKa
Paul Scott wrote: On Thu, 2006-03-30 at 15:29 +1000, SLaVKa wrote: Hey all, I am desiging my own MVC framework, now i know you can pass views in the string like index.php?view=displayAdmin , but what if the admin model has a choice of displaying a few views as well, like editing user, or editi

Re: [PHP] PHP MVC

2006-03-29 Thread Paul Scott
On Thu, 2006-03-30 at 15:29 +1000, SLaVKa wrote: > Hey all, I am desiging my own MVC framework, now i know you can pass > views in the string like index.php?view=displayAdmin , but what if the > admin model has a choice of displaying a few views as well, like editing > user, or editing product e

[PHP] PHP MVC

2006-03-29 Thread SLaVKa
Hey all, I am desiging my own MVC framework, now i know you can pass views in the string like index.php?view=displayAdmin , but what if the admin model has a choice of displaying a few views as well, like editing user, or editing product etc, how do i pass subviews, in other words is there eleg