hello, I am trying to figure out the best practice for a situation where there will be different modules, controlled by ACL where certain portions of it will be very similar from module to module.
ex: site.com/admin site.com/user both of these modules will have functionality to edit the users name and address. site.com/admin/person/contact/edit site.com/user/person/contact/edit The only real difference between the two will be the use of the id for the user who is to be edited. I dont want to have to maintain two controllers: one in the /admin/controller and one in the /user/controller locations. What would be the best way to set something like this up as? I have a shared model of person.php to get the info about the userID, but it seems that there is still a large amount of code that deal with inserting/editing in the PersonController.php file in each dir. Should I move all the processing code to the Person model and thin out the controllers? Thanks. -- View this message in context: http://www.nabble.com/Modules-and-Shared-functionality-tp18952739p18952739.html Sent from the Zend Framework mailing list archive at Nabble.com.
