Snetty
07-15-2005, 08:07 PM
I already run a webdesign company (link in sig), but i'd like some advice on a project we're currently working on.
We're setting up a spin-off company to provide very cheap automated websites, that can be fully updated by the customer. Customers will be able to buy pre-made designs, or opt for custom (still cheap, but quality) designs, and prelisted pages.
The reason for needing help, is that my plans for setting it up are a little complex, and very very focused on reducing setup time at my end.
I plan to run every site, every admin control panel from a single database. Each site will contain a single php page that will probably be about 4 lines long, just containing an "include" function to the primary code held on the main site. So that if it needs updating later, i only have to change one page, not repeat for every customer. All of the designs will be stored in the database, css and xhtml alike. Images will be stored on the main domain and linked from there.
I'm pretty new to php and mysql, so this is going to be a challenge for me. The main pitfall that I can see to this plan is that if I screw up the main page, then every site will go down. The other thing is that server load is probably going to take a hit, as the database will be used for absolutely everything. I'm guessing once i've got a few hundred customers I'm going to need a dedicated server, but that also depends on what sort of hits my customers are getting.
Can anyone think of any other pitfalls?
We're setting up a spin-off company to provide very cheap automated websites, that can be fully updated by the customer. Customers will be able to buy pre-made designs, or opt for custom (still cheap, but quality) designs, and prelisted pages.
The reason for needing help, is that my plans for setting it up are a little complex, and very very focused on reducing setup time at my end.
I plan to run every site, every admin control panel from a single database. Each site will contain a single php page that will probably be about 4 lines long, just containing an "include" function to the primary code held on the main site. So that if it needs updating later, i only have to change one page, not repeat for every customer. All of the designs will be stored in the database, css and xhtml alike. Images will be stored on the main domain and linked from there.
I'm pretty new to php and mysql, so this is going to be a challenge for me. The main pitfall that I can see to this plan is that if I screw up the main page, then every site will go down. The other thing is that server load is probably going to take a hit, as the database will be used for absolutely everything. I'm guessing once i've got a few hundred customers I'm going to need a dedicated server, but that also depends on what sort of hits my customers are getting.
Can anyone think of any other pitfalls?