I'm planing to rewrite my CMS to fully use Zend Framework.
For now I'm using my own written UserManagment system.
The problem is it is pretty modular, it comes in 3 parts - the core, the user system, the modules.
The main problem is - how do I write modules in Zend Framework and have a class that loads them.
Much help would be appreciated!
Can I write modules to be in seperate controller directory, eg.
Where blog, gallery and forum are all modules with their own controllers and actions. Default is a special module which is essentially the homepage.
You could then go to:
Which would translate to:
I'm guessing though that by modules you mean like a little drop-in module on the side of the page - something like the latest articles plugin here on TalkPHP?
If so, that's no problem with the Zend Framewok. You would create your modules as normal controller/action classes then use the various Helpers that the Zend Framework provides such as the Zend_View Action helper. This allows you to call a specific action from your View and then use the results. The View Action helper was specificly designed to do things like the latest article plugin on the left of this page
Hope that clears it up a bit or if I completely mis-understood what you where asking for, let me know
And configure my URL when entered site.com/about-us/ to use newsModule that is added to the about-us page. I know that Zend is loading controllers as in url - site.com/gallery - would load gallery controller. I want to remove this limitation and maybe put a little configure file that says about-us -> module/newsModule controller.
Back from sysadmins to the programmers.