Thursday, October 28, 2010

Re: 2 database, 1 models and controllers, many views

I wanted to create 2 separated web site which will use same models and
controllers.

main aim - run 2 sites which will use almost the same logic but it
will be build with different design.
I wanted to use same models and controllers, because I want to support
only one version.

so database structure, models, controllers will be the same
differents - views (design) and domains.


On Oct 28, 2:54 pm, Zaky Katalan-Ezra <procsh...@gmail.com> wrote:
> What is your goal?
>
> On Thu, Oct 28, 2010 at 12:31 PM, Dmitry Shevchenko <dmitr...@gmail.com>wrote:
>
>
>
> > Hi.
> > Is it possibly for cake to have 2 different database, which is use
> > same models and controllers and different views.
>
> > I need this to create a almost copy of website, so system logic will
> > be the same, I will only have separated DB and views.
>
> > Seems this could be done by switching config on config.php and maybe
> > dispatcher.php... but I'm not sure.
>
> > Is someone do something similar ?
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
> --
> Regards,
> Zaky Katalan-Ezra
> QA Administratorwww.IGeneriX.com
> Sites.IGeneriX.com
> 054-7762312

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: