On Fri, Jan 14, 2011 at 9:27 AM, earth <[email protected]> wrote:
> Hello,
>
> I would like to create a cakePHP application having different modules
> like - Events, Poll, etc.
> Each module will have more than one database tables.
> Each module may have more than one controller.
>
> So i want to have a separate folder for each module within models
> folder, like - /app/models/events and similarly for /controllers and /
> views
>
> Please let me know how this can be done.
Yes and no. For what you want to do, look at plugins. The dir
structure will be like:
app/
plugins/
poll/
controllers/
models/
etc/
IOW, each plugin has its own controllers, models, etc. within that
plugin's directory.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en