Centralised Code
Posted: Sat Feb 07, 2009 1:12 pm
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.
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.