Jump to content

Collaberation script

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
brokenbylaw

brokenbylaw

    Learning Programmer

  • Members
  • PipPipPip
  • 62 posts
Ok this is a new type of programming i really never thought about before, i want to have a text box that reads a file and allows you to edit and save that file.

now this is all fine and good, but how would i make it synchronised so that more than 1 person could be editing that file. i want it to auto update.

if you've seen the http://flockdraw.com...f?room=codecall pad i want something similar where you can see the other user editing it, but you would also be editing it :p

sorry for a bad description,

and sorry for grammatical errors, linux is giving me a hard time with the rendering, the font wants to become blurry.

#2
brokenbylaw

brokenbylaw

    Learning Programmer

  • Members
  • PipPipPip
  • 62 posts
Ok i got a crappy scripted version up and running link comeing soon

*edit*
this is a very buggy version, and as you can tell the scripting is far from done, if you look at the source you will see its disorganized. im working on a CodeEdit box, line-numbers, line highlighting, the works. and the AJAX submitting, i need to have php load the textbox with the file data.

if you think of a better way to save the data instead of onkeyup please tell me, also as you can see im submitting the data every so often for insurance.

how crappy is it? i was rushed doing it in 30min
brokenbl.codecall.net/collab

Edited by brokenbylaw, 16 March 2010 - 05:24 AM.