2012/6/15 Steve Rayner <[email protected]> > Now i'm lost. What's my next step? I thought the concept of modules > was that it would drop a module into my application that i could use, > but it apears not. Is my next step to create my own module that makes > use of the stuff in the vendor folders, or does the module live under > the vendor folder and i have to config my application to use it. >
It is, but completely depending on the module you have downloaded. A module can contain configuration files and/or source code and/or view scripts and/or even more. If you downloaded a module with just some view helpers (as an example) you obviously need to use them before you can see their effect. On the other hand, ZfcUser is a module that provides an MVC structure, with a controller, models and view scripts. For ZfcUser, there are some routes defined, so under "/user" you see either your profile page or a login form. However, before you get it working you need to configure the module (for example: what is the database connection?). The post-installation configuration is documented on the README: https://github.com/ZF-Commons/ZfcUser#installation Currently only the Zend\Db configuration is documented, but is should you get started. > Can anyone get me started? I think once i have integrated my first > module i should get the hang of it. Because modules can contain anything, there is no single way in using them. Usually a README or INSTALL file explains how you can use the module in your application. Your first step to use composer to download all dependencies is at least correct :) -- Jurian Sluiman
