Background: I would like to create a notebook application for notepad in which several people can edit one document / notepad. I have already created a graphical interface and now I want to start exploring part of its collaboration.
Questions: How to get text from one client text window to go to another client text field. Can I use sockets? Where can I save text to be used by all clients? What I will need to use / do to create a live text block in real time. What is a good starting point from which I can explore?
Examples: Etherpad.com/Titanpad.com/Piratepad.com or Docs.Google.com (in addition, I want to create a desktop application, not a website)
The solution of some questions that arose in the answers:
How do users select the document they want to change: Yes
How users create new documents: by selecting the "New file" option in the main menu
What happens if many users try to edit the same document at the same time ?: They are allowed to edit the document.
Does the user need to click the "Save" button before the changes are reflected ?: No, the changes must be reflected simultaneously
Do you need to log in ?: Yes
Can anyone edit any document or is there access restriction ?: There are restrictions, i.e. the document creator may prevent the user from editing documents ..
source
share