TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Show Off (http://www.talkphp.com/show-off/)
-   -   CodeSlap (http://www.talkphp.com/show-off/3801-codeslap.html)

wiifanatic 12-24-2008 09:11 PM

CodeSlap
 
Ever wanted, to contribute code in real-time with other people, even if they are outside your network?

Presenting CodeSlap();

Get a free ∞ day trial at code.henriwatson.com (Not really a trial, Its free lol)

geo353 12-25-2008 10:48 AM

Sorry, i dont get it, how does it work whats it ment to do?

wiifanatic 12-25-2008 06:48 PM

Example:
You are working with someone else on a piece of code.
You use this and you can both edit code in real time. (One at a time though)

Salathe 12-25-2008 08:38 PM

Quote:

Originally Posted by wiifanatic (Post 20710)
(One at a time though)

That really, really spoils the concept of real-time collaborative coding. I hate to be harsh on Christmas day and all but as an idea, this is something that would be very useful. The actual implementation here, near useless.

Rendair 12-26-2008 11:58 PM

I like the idea of changing things in real time, but one at a time seems pointless.

wiifanatic 12-28-2008 02:39 AM

Its like a wiki.

If two people edit the code at a time, the last one who clicks submit actually gets the code submitted.
And the first persons code gets knocked out.

Maybe have two separate code boxes.

I dunno.

If anyone knows how I could make this work with two people editing at a time tell me.
Cause the above problem knocks out anything I could think of (Other than that two code bits idea).

xenon 12-28-2008 02:47 PM

The idea is fine, but the implementation, as Salathe pointed out, in this case is terrible. I suggest that you capture both users code (when they click submit) in 2 separate files or what ever. Then, you compare each one's code to the original, keep the differences and adding them to the original bit of code. Of course, this strategy needs to be further developed, but that's the basic idea (the technical implementation, actually).


All times are GMT. The time now is 01:48 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0