Information on developing white-label (turnkey) websites

Discussion in 'PHP' started by sivissz, Apr 19, 2010.

  1. #1
    Hi all,

    I'm looking to develop a white-label website and give it to my customers. Please suggest a starting point for that. Guidelines for developing a turnkey website.

    I've fair experience in developing websites in LAMP stack..

    Thanks in advance...
    Regards,
    Sivi
     
    sivissz, Apr 19, 2010 IP
  2. tguillea

    tguillea Active Member

    Messages:
    229
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    90
    #2
    What kind of site is it (i.e. Adsense, etc?)

    As a start, I would say make it as customizable as possible while still remaining simple. NEVER sacrifice simplicity for additional features because people looking for a turnkey site are going to be looking for simple.

    From a programming standpoint making a turnkey website can be tough. I generally have one table in the db dedicated to finding a site ID (which I call $site_id) based on the domain name / script name / subdomain, and then all other tables with standard data, but an additional option to designate what site_id it is associated with.

    For example, the first table would look something like this:
    domain........................site_id
    website123.com...........we123
    mydomain.com.............myd
    anothersite.com............ans
    etc.

    Then lets say you have a template table which assigns a specified template to a website (bad example because this could be put in the site_id table above, but you get the point)
    template_id...............site_id
    42............................we123
    88............................ans
    12............................myd

    So template# 42 goes with website123.com, template# 88 goes with anothersite.com, and template #12 goes with mydomain.com

    The last tip I can give you is to try and utilize databases as much as possible (rather than creating / deleting files). Obviously it's necessary to some degree, but if you can make a standard file to copy to each personal turkey site that will get the domain / subdomain / whatever you use to separate accounts, lookup the site_id based on that, and then get the content from the database, your life will be much easier.

    I hope this was relevant to you.

    Good luck!
     
    tguillea, Apr 20, 2010 IP
  3. sivissz

    sivissz Guest

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks a lot... I'd start somewhere...and will keep you posted...
     
    sivissz, Apr 21, 2010 IP