homepage Welcome to WebmasterWorld Guest from 54.167.75.155
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Common Include Files for Separate PHP Applications
Version control - to prevent duplication of effort
sned




msg:3271963
 10:32 pm on Mar 5, 2007 (gmt 0)

I'm looking for opinions/thoughts about from whomever uses version control (I'm just starting to use subversion now).

I have several "applications" running on my server. Each application references files in a general includes folder (include('includes/class_Database.php'), etc.).

I want to keep my applications separate, so other users can easily download/checkout versions, but I also want prevent duplication of effort: if I change my database abstraction class, I don't want to make changes to twenty different copies of the same file.

If anyone has any ideas about this, or about using version control in a web environment in general, I'd really appreciate your input.

Thanks!
-sned

 

spikey




msg:3273506
 4:11 am on Mar 7, 2007 (gmt 0)

I have this and have a seperate repository for each application and one for the shared code. So you have to checkout your application and the shared code. I'm no subversion expert (pretty new actually) so there may be better ways of doing this. It's not really that difficult though.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved