Multi-tenant PHP SaaS - Separate DB's for each client, or group them?
问题 You'll have to bear with me here for possibly getting some of the terminology slightly wrong as I wasn't even aware that this fell into the whole 'multi-tenant' 'software as a service' category, but here it does. I've developed a membership system (in PHP) for a client. We're now looking at offering it as a completely hosted solution for our other clients, providing a subdomain (or even their own domain). The options I seem to have on the table, as far as data storage goes are: Option 1 -