Page 1 of 2

Share or clone code.

Posted: Wed Jan 17, 2007 11:52 am
by Ginja_Ninja
Hello all.

I am new to the forums so a big hello is in order.

HELLO.

I have a quick question.

Imagine you have two websites which run on identical code.
Is it more efficient to get both site's to share the same code base, or should each site have its own repository of code. I am trying to weigh this up and maybe you all could shed some light.
My concern is the performance drops under heavy loads.

I have a feeling it wont make a difference but i am unsure. All your thoughts are greatly appreciated.

Posted: Wed Jan 17, 2007 11:56 am
by Christopher
I think it depends on whether you are continuing to develop the code base. If you never change it or it is from an external source then keep it central. If it gets improvements and additions then each site should have their own copy to reduce the need to maintain BC.

Posted: Wed Jan 17, 2007 2:37 pm
by RobertGonzalez
I am currently developing a series of sites (a network, if you will) for a league. I am hosting their entire network on a dedicated server and as a result, the entire network is using a single codebase. The nice thing is that maintenance keeps everything in one place, and if they ever bail, I can copy the codebase and hand it over to them. Portable coding makes it a drop in place type of app that they upload to another server, set the database up, change a param and be up and running in no time.

Posted: Wed Jan 17, 2007 2:41 pm
by Luke
Welcome Ginja_Ninja, I am also a ninja. Image :lol:

Hay YA! Wha-POW!

/offtopic

Posted: Wed Jan 17, 2007 5:09 pm
by daedalus__
Everah wrote:I am currently developing a series of sites (a network, if you will) for a league.
GAMING LEAGUE?!

Posted: Wed Jan 17, 2007 5:17 pm
by Christopher
The Ninja Space Goat wrote:Welcome Ginja_Ninja, I am also a ninja. Image :lol:

Hay YA! Wha-POW!
Uhhhhh ... uhhhhh .... uhhhhhh ... neither of you are really ninjas ..... :nono:

PS - is that a ninja emoticon or a blinking meatball?!?

Posted: Wed Jan 17, 2007 5:21 pm
by jayshields
arborint wrote:
The Ninja Space Goat wrote:Welcome Ginja_Ninja, I am also a ninja. Image :lol:

Hay YA! Wha-POW!
Uhhhhh ... uhhhhh .... uhhhhhh ... neither of you are really ninjas ..... :nono:

PS - is that a ninja emoticon or a blinking meatball?!?
/me rolls eyes

It's obviously a blinking meatball..!

Posted: Wed Jan 17, 2007 5:29 pm
by Christopher
jayshields wrote:It's obviously a blinking meatball..!
Ok ... I think it's holding a toothpick so it must be an hors d'oeuvre meatball.

<chant>
Ninja's an hors d'oeuvre meatball!
Ninja's an hors d'oeuvre meatball!
Ninja's an hors d'oeuvre meatball!
Ninja's an hors d'oeuvre meatball!

Posted: Wed Jan 17, 2007 5:33 pm
by Luke
:evil: it's a sword!

Posted: Wed Jan 17, 2007 5:34 pm
by RobertGonzalez
arborint wrote:PS - is that a ninja emoticon or a blinking meatball?!?
In the words of a Bacon Burrito...

mmm... meatballs

Posted: Wed Jan 17, 2007 5:46 pm
by Ollie Saunders
* ole attempts to start a new catchphrase
It's off topic but I like it.

Posted: Wed Jan 17, 2007 5:47 pm
by Maugrim_The_Reaper
Why is the meatball's eyes so shifty?

Posted: Wed Jan 17, 2007 6:18 pm
by Luke
he's got to guard himself from being eaten?

Posted: Wed Jan 17, 2007 7:19 pm
by RobertGonzalez
No, it's because he's hungry and afraid he might eat himself.

Posted: Wed Jan 17, 2007 8:27 pm
by Ambush Commander
Steering the thread back on topic, as much as possible, try to keep the two codebases as close together as possible. A versioning tool like SVN will help greatly.