JamesGMills
Programmer
Hello...
I have a general question for you guru people...
We have a web application we have developed for a client and we have recently realised that we could actually set this up as a service for others as well as our client who we developed it for...
My question is geared more towards the system architecture.
What would be the recommended way to turn a set of php files and a database into a multi account system?
I would like the main set of php files to be a core so that all the sites run off the same files so that updates to any files are automatically avaliable to all users of teh system. So this rules out copying a set of files and creating a new URL/account on teh server.
The other thing is the database. Would you create a new database for each new customer/account and basically create a blank database from a core database. The in a settings file somewhere just see what users account the user is logged in as and then hook them up to their db copy? Then you could maybe do a db structure sync every night for developers changes?
Or would you just use one big DB and reference the users account in all records?
I am just not sure how you can use things like and
and use one set of files for everyone etc...
Like basecamphq.com
If anyone has any experience with this i would love to hear from you.
Thanks in advance,
James
------------------------
I have a general question for you guru people...
We have a web application we have developed for a client and we have recently realised that we could actually set this up as a service for others as well as our client who we developed it for...
My question is geared more towards the system architecture.
What would be the recommended way to turn a set of php files and a database into a multi account system?
I would like the main set of php files to be a core so that all the sites run off the same files so that updates to any files are automatically avaliable to all users of teh system. So this rules out copying a set of files and creating a new URL/account on teh server.
The other thing is the database. Would you create a new database for each new customer/account and basically create a blank database from a core database. The in a settings file somewhere just see what users account the user is logged in as and then hook them up to their db copy? Then you could maybe do a db structure sync every night for developers changes?
Or would you just use one big DB and reference the users account in all records?
I am just not sure how you can use things like and
and use one set of files for everyone etc...
Like basecamphq.com
If anyone has any experience with this i would love to hear from you.
Thanks in advance,
James
------------------------