Your query is off topic so really needs it's own topic.

I'm sure you could probably do this, but not sure if it is the right
way to go.

Why would you separate different companies into different databases?
I would imagine each database would have duplicate tables/models etc.
so simply having a company_id foreignKey within each model would allow
you to pull the relevant data without having to maintain multiple
databases and their connections.

I have done this with a centrally hosted CMS which drives around 20
completely different websites from one database, and I am currently
working on a portal/community website for the third sector where any
number of non-profit organisations can manage their own sub-sites.

Paul.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to