CrazyEngineers
  • Parallel and Live code editor

    Updated: Oct 25, 2024
    Views: 1.4K
    I'm planning to make a code editor, as part of my academic project. It uses a web interface that displays to the other team members what i'm coding(lively). It will also permit each collaborator to write a module, so that the programming task of assembling the code, aswell as time required is reduced to a large extend.
    The main feature is, I can see what my friend is coding, and he can see what i'm coding, so that we can edit or suggest what to be edited in each others code segment. I wish to know whether it is doable? If yes what are the main difficulties/hurdles to overcome?
    Thanks for the replies in advance
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • simplycoder

    MemberMar 6, 2013

    siraj.mussafirr
    I'm planning to make a code editor, as part of my academic project. It uses a web interface that displays to the other team members what i'm coding(lively). It will also permit each collaborator to write a module, so that the programming task of assembling the code, aswell as time required is reduced to a large extend.
    The main feature is, I can see what my friend is coding, and he can see what i'm coding, so that we can edit or suggest what to be edited in each others code segment. I wish to know whether it is doable? If yes what are the main difficulties/hurdles to overcome?
    Thanks for the replies in advance
    You have to work out a save method that will save current fiile after every character entered, but it will lead to lot of chaos when more people would work.
    Thing is we should ideally always lock the file so seeing other person code is fine but coding in the same file is bad, a crime.

    If you can work out save, rest is, develop a website simple, then you can write a windows service or equivalent to receive the content of the file.

    Some thing like..

    User Enter a character --->Auto Save--->WCF Windows Service picks up the file ----> Displays it on the webpage.

    You can schedule windows service with a minimum delay.

    The disadvantage of this method is, service would hit the server continuously every time for all the pages and all the members.
    Are you sure? This action cannot be undone.
    Cancel
  • siraj.mussafirr

    MemberMar 8, 2013

    simplycoder
    You have to work out a save method that will save current fiile after every character entered, but it will lead to lot of chaos when more people would work.
    Thing is we should ideally always lock the file so seeing other person code is fine but coding in the same file is bad, a crime.

    If you can work out save, rest is, develop a website simple, then you can write a windows service or equivalent to receive the content of the file.

    Some thing like..

    User Enter a character --->Auto Save--->WCF Windows Service picks up the file ----> Displays it on the webpage.

    You can schedule windows service with a minimum delay.

    The disadvantage of this method is, service would hit the server continuously every time for all the pages and all the members.
    I found some similar resources, i'd like to share here.
    #-Link-Snipped-#
    google Docs is also a collaborative text editor. so I dont feel a crime there
    thank you simplycoder for your help. but saving creates too much overhead to the server. need to fnd some other better methods
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register