The best way to use a single code base for multiple websites

What is the best way to use a single code base for multiple websites?

We have session verification and management libraries that we use on several websites. Is there a best practice for storing a single copy, and not for maintaining local copy updates for each website?

+5
source share
4 answers

If you use subversion, you can fork your common code and use svn: external to store the updated version (or specific tag) of the common code in your repository. ( http://svnbook.red-bean.com/en/1.0/ch07s03.html )

SCM .

+2

. - . , skinning css, .

+2

( , ), . -. -.

+1

, -, . ASP.NET, VB.NET. ASP.NET( SqlDatasource, FormView, CheckboxList ..), - .

- VisualStudio, - . , . - , , .

0
source

All Articles