A free and open-source book on Zend Framework for beginners


4.22. Other Model Types

In your website, you will typically divide your principal model types (described above) into subtypes. For example, you will have:

So, eventually you will have the following typical directory structure of your website's module:

/Application/src
	/Controller
		/Factory
        /Plugin
            /Factory
	/Entity
	/Filter
	/Form
    /Repository
	/Route
	/Service
		/Factory
	/Validator
    /ValueObject
	/View
		/Helper
            /Factory

It is possible to have arbitrarily many model subtypes. The more complex is your application, the more model subtypes you may have.


Top