Centralised Code

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
thatboyjim
Forum Newbie
Posts: 3
Joined: Sat Feb 07, 2009 1:05 pm

Centralised Code

Post 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.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Centralised Code

Post 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.
(#10850)
thatboyjim
Forum Newbie
Posts: 3
Joined: Sat Feb 07, 2009 1:05 pm

Re: Centralised Code

Post by thatboyjim »

thanks for your help. Not always easy to find the right articles
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Centralised Code

Post 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.
(#10850)
Post Reply