Search code examples
svnmamplamp

two programmers working on the same code


I'm working on some PHP code with a partner, and were both running a LAMP (or in my case - MAMP) server locally on our machines. Is there some way we can both work simultaneously on the same piece of code? This would require both our IDE's (I use Zend Studio, he uses PHPed) and our MySQL server to update when any change is done.

P.S. - Is there any system that also allows real-time commenting on code?

Thanks.


Solution

  • Not simultaneously AFAIK, but you usually don't want that either. (Sit by the same computer if you really need that.)

    The accepted workflow for collaborative coding is to make a set of changes, be satisfied that they work, record them, integrate some changes from your buddy, make sure it works with your latest changes, then start again to work on some new changes.

    You should check out some DVCS-system, like Mercurial or Git, that allows you to share recorded changes (aka commits) back-and-forth.