TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 12-24-2008, 09:11 PM   #1 (permalink)
The Contributor
 
wiifanatic's Avatar
 
Join Date: Sep 2007
Posts: 29
Thanks: 8
wiifanatic is on a distinguished road
Default 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)
wiifanatic is offline  
Reply With Quote
Old 12-25-2008, 10:48 AM   #2 (permalink)
The Wanderer
 
geo353's Avatar
 
Join Date: Dec 2008
Location: Wiltshire, UK
Posts: 13
Thanks: 0
geo353 is on a distinguished road
Default

Sorry, i dont get it, how does it work whats it ment to do?
geo353 is offline  
Reply With Quote
Old 12-25-2008, 06:48 PM   #3 (permalink)
The Contributor
 
wiifanatic's Avatar
 
Join Date: Sep 2007
Posts: 29
Thanks: 8
wiifanatic is on a distinguished road
Default

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)
wiifanatic is offline  
Reply With Quote
Old 12-25-2008, 08:38 PM   #4 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Quote:
Originally Posted by wiifanatic View Post
(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.
Salathe is offline  
Reply With Quote
Old 12-26-2008, 11:58 PM   #5 (permalink)
The Addict
Upcoming Programmer Top Contributor 
 
Rendair's Avatar
 
Join Date: Nov 2007
Location: UK
Posts: 319
Thanks: 18
Rendair is on a distinguished road
Default

I like the idea of changing things in real time, but one at a time seems pointless.
__________________
www.jooney.co.uk - the online portfolio
Send a message via MSN to Rendair
Rendair is offline  
Reply With Quote
Old 12-28-2008, 02:39 AM   #6 (permalink)
The Contributor
 
wiifanatic's Avatar
 
Join Date: Sep 2007
Posts: 29
Thanks: 8
wiifanatic is on a distinguished road
Default

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).
wiifanatic is offline  
Reply With Quote
Old 12-28-2008, 02:47 PM   #7 (permalink)
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

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).
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:01 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design