php - Zend Framework - New module or just a controller -
I'm new to the Zend Framework. I know it may look like a stupid question, but I would like to clarify. Creating an application with a website with JPF, when best to create a module, or just a controller inside the module? thank you in advanced!
Whether you should create a new module or not entirely based on your requirement. Some common examples are explained below:
1) Generally CMS websites are front and admin zones, so we create two modules. 2) Second Example: If we want to create a job portal website, then there are three types of users available on the site. Job seeker, employer and administrator, we therefore have to create three modules applicant
, employer
and admin
So, when creating a module depends on your application, in addition, when we require separation between the facilities provided to different users, we generally use the module .
Also see:
Comments
Post a Comment