You are here: Re: How would you attack this programming strategy? « PHP Programming Language « IT news, forums, messages
Re: How would you attack this programming strategy?

Posted by Joe Scylla on 05/25/07 06:54

Oliver Grätz wrote:
> laredotornado@zipmail.com schrieb:
>> I'm using PHP 4.4.4 with Apache 2.2 on LInux. I have been building a
>> web site, and now a client wants that same site, only he wants all the
>> graphics substituted with his own. There could potentially be more
>> clients who want the same site but with custom graphics. What makes
>> more sense?
>>
>> 1. Maintain a single code base, only have "if/else" blocks when it
>> comes to "<img src ...>" tags?
>> 2. Maintain two separate code bases except the images directory would
>> be different for each client (not sure how updating my code would
>> work, if I'd have to copy the same PHP files to multiple sites).
>> 3. Some other strategy?
>
> If you have full control over the server: 3. !
> I'd use Subversion for the codebase: Use the trunk for your development
> and branches for the deployed sites. The branches remain stable and if
> you feel that a particular site needs some of the improvements you can
> merge the changes onto that branch.
>
> And I'd keep the graphics out of version control.
>
> OLLi
>

I'm using the same strategy. Using subversion as version control and
creating branches from the mainline i develop. Also because every
customer have some special wishes so the codebase differs every time.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация