Welcome to Findnerd. PHP owners modified the zend framework that is zend framework 2. We can simply download the framework setup from github that is known
as zend skeleton application. Below is the link to download.
https://github.com/zendframework/ZendSkeletonApplication
After that, you can use composer to start up the project. We have to use the command line to set up the dependency. There are proper commands to set up the
modules in zend 2.
php composer.phar self-update
above command is useful to update the composer.json file on root of the setup. There are different types of modules available like csnuser
You can see the instructions to setup this module. This module is useful for profile manager such as sign in, sign up and forgot password etc.
https://github.com/coolcsn/CsnUser
ZF2 is using latest features of PHP like namespaces. We can use the same class names for different namespaces. ZF2 has changed the concepts of modules.
In ZF1 module is simply a methods of grouping descrete areas of code together. We can not reuse these modules. In ZF2 we can mention the working module in application.config.php
file and can make the clone from github. ZF2 is providing different modules for common purposes like navigation, authrozation, member management etc.
0 Comment(s)