Erh, it won't work i need to share some controllers too.

basicly my wbesite 'll be divided into 2 parts :
www.domain.com that contains all the generic things (like /join/,  /
login/, /user)
and
www.domain.com/site1
www.domain.com/site2
etc
each "site" has his controllers but can access the controllers of
www.domain.com (like the controller to know if you're loggued ..etc)

On zend framework, with the modules, you have a default module
(www.domain.com for me) that contains his own controllers / views/
models/ and you can add as much modules as you want.
module1, module2


default
----controllers
----views
----models

module1
----controllers
----views
----models

module2
----controllers
----views
----models

default is used when www.domain.com is called
module1 is used when www.domain.com/module1 is called
module2 is used when www.domain.com/module2 is called

Any idea ?

thx

Max

On 19 sep, 22:34, "John David Anderson (_psychic_)"
<[EMAIL PROTECTED]> wrote:
> On Sep 19, 2007, at 2:12 PM, [EMAIL PROTECTED] wrote:
>
>
>
> > Hi,
>
> > I would like to know if there is the same concept that the modules of
> > the zend framework on cakephp :
> >http://framework.zend.com/manual/en/zend.controller.modular.html
> > (it's like a way to make multiple sites with only one zend framework)
>
> Yep: check outhttp://manual.cakephp.org/chapter/installing, under
> the "Advanced Setup: Alternative Installation Options". CakePHP
> installs allow your libs and webroots to be quite separate (which
> includes the ability to share lib folders).
>
> -- John


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to