I am working on a site which basically has 3 websites. The problem is 2 of these websites. They both will have the same content, except different layouts. The main site is the companys websites. Then they do not sell to the public so they want a site that there customers can customize the site to look like theres but have this content in there. I have this all done, but should I just put two directorys with the same info in them? Or just have both domain names goto one directory and then find out which site to display?
How is the content stored? I would think this wouldn't be an issue if it was in a database since if it was all the sites could pull the same data from the same table(s). Couldn't you do this with XML? Another way is to use an HTTP component to grab the content off of a static page.
I think it may be easier to keep 2 separate versions of the site rather then writing code to figure out which style to display. While the latter may be "cooler", I don't think it may be worth the effort. Although it's a pain to sometimes always update things twice, if you think about it, it's not that big a deal (especially if there's just one file that needs to be uploaded twice). It really all depends if you can figure out how much time it will take you initially to program a "style-finder" compared to the time it will take you to make future edits. That whole opportunity cost thing from economics
I'm curious to which route you choose as I've just been pondering the same question (although I currently have 2 separate fronts, so I'm not building it from the ground up).