Pro Zend Framework Techniques: Build a Full CMS Project by Lyman Forrest

Pro Zend Framework Techniques: Build a Full CMS Project by Lyman Forrest

Author:Lyman, Forrest [Lyman, Forrest]
Language: eng
Format: mobi
Publisher: Apress
Published: 2009-10-22T16:00:00+00:00


Creating the Menu Controllers

You will need two controllers for the menus, one for each model class. Some people prefer to centralize related components like these into a single controller, but I find it easier to manage if they are one-to-one (one controller for each model/table).

You can create these controllers manually or use Zend_Tool. If you use Zend_Tool, then navigate to the root of your project. Then call the create controller command for each of the controllers you need to create. See Listing 7-5 for the complete commands.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.