Page 1 of 1

Centralised Code

Posted: Sat Feb 07, 2009 1:12 pm
by thatboyjim
Hi there

I've been coding php for about 6 months now and I am currently developing an e-commerce and CMS package that I want to roll out easily and quickly.

I am looking into having a central 'includes' folder on my web server which contains my core code and can be used on all my sites.

My question is on the feasibility. Just wondered if anyone has any tips or advice regarding this. I mean in terms of updating the code, etc.

I.e. there are obvious benefits in having code centrally (bug fixes, global updates, etc). I was wondering if there are other aspects I need to take into account, i.e. the pitfalls, etc.

Thanks for your help everyone.

Re: Centralised Code

Posted: Sat Feb 07, 2009 1:43 pm
by Christopher
There have been some threads about this:

viewtopic.php?f=19&t=66227
viewtopic.php?f=19&t=62258
viewtopic.php?f=19&t=49648

You may want to search to find more.

Re: Centralised Code

Posted: Sat Feb 07, 2009 3:25 pm
by thatboyjim
thanks for your help. Not always easy to find the right articles

Re: Centralised Code

Posted: Sat Feb 07, 2009 4:02 pm
by Christopher
Let us know if you need more to answer your question. And if you want to do a little summary of what you have learned -- others may be interested.