How to: many users edit same file at the same time ?

2009-04-22 Thread Mario Kušnjer
Hello everyone ! Again me with another bizarre question So I am interested how to implement a possibility that many users can edit same file (text, XML, sheet, database entry) at the same time ? Forget the networking part for now and focus on the part of what to use for file: txt file, xml

Re: How to: many users edit same file at the same time ?

2009-04-22 Thread Greg Guerin
Mario Kušnjer wrote: To explain what I'm trying to figure out, is how collaborative editor like SubEthaEdit works (with files, file-locking, accessing, saving, etc) Magic: Pure unadulterated. Quantity: One small truckload. Seriously, though, it's not an easy problem, and if you have to

Re: How to: many users edit same file at the same time ?

2009-04-22 Thread Mario Kušnjer
On 2009.04.23, at 03:20, Greg Guerin wrote: Seriously, though, it's not an easy problem, and if you have to ask How to without even describing What Have You Tried, then it probably means it's too hard for you to solve simply by asking someone else How to. Maybe you should consider my

Re: How to: many users edit same file at the same time ?

2009-04-22 Thread Greg Guerin
Mario Kušnjer wrote: Something that will help me to get started. I haven't provided What I Have Tried because I Haven't Tried at all. Because I don't know where to start. Use the internet. The two simplest things to try are: 1. Google. 2. Wikipedia. Searching Wikipedia for the

Re: How to: many users edit same file at the same time ?

2009-04-22 Thread Mario Kušnjer
On 2009.04.23, at 04:02, Greg Guerin wrote: Use the internet. The two simplest things to try are: 1. Google. 2. Wikipedia. Searching Wikipedia for the keyword SubEthaEdit finds a nice article about the product itself: http://en.wikipedia.org/wiki/SubEthaEdit The first link on that

Re: How to: many users edit same file at the same time ?

2009-04-22 Thread Kyle Sluder
On Wed, Apr 22, 2009 at 10:17 PM, Mario Kušnjer mario.kusn...@sb.t-com.hr wrote: But that doesn't answers questions about how it is working under the hud, what classes, functions and methods it combines and uses in Cocoa (read this: What framework documentation should I be looking for to read

Re: How to: many users edit same file at the same time ?

2009-04-22 Thread Mario Kušnjer
On 2009.04.23, at 04:23, Kyle Sluder wrote: So you're asking what API should I be using? Break it down a bit. Think about what resources SubEthaEdit uses: 1. General application type stuff (windows, etc.) 2. Text 3. Network Then search from there. I realize that everything gets

Re: How to: many users edit same file at the same time ?

2009-04-22 Thread Michael Ash
On Wed, Apr 22, 2009 at 10:48 PM, Mario Kušnjer mario.kusn...@sb.t-com.hr wrote: So yes, what API should I be using that has the ability to perform writing (and reading) to a file on disk (local or remote) without file-locking and other options related to this subject (that enables multiple

Re: How to: many users edit same file at the same time ?

2009-04-22 Thread WT
On Apr 23, 2009, at 4:17 AM, Mario Kušnjer wrote: On 2009.04.23, at 04:02, Greg Guerin wrote: Use the internet. The two simplest things to try are: 1. Google. 2. Wikipedia. Searching Wikipedia for the keyword SubEthaEdit finds a nice article about the product itself:

Re: How to: many users edit same file at the same time ?

2009-04-22 Thread WT
On Apr 23, 2009, at 4:48 AM, Mario Kušnjer wrote: So yes, what API should I be using that has the ability to perform writing (and reading) to a file on disk (local or remote) without file-locking and other options related to this subject (that enables multiple users access the same file at

Re: How to: many users edit same file at the same time ?

2009-04-22 Thread Greg Guerin
Mario Kušnjer wrote: Thanks for your help Greg, but give me some credit. I know what Google is for. Been there, done that. And now I'm here. Did you read the Wikipedia article on collaborative real-time editors? Did you follow any of the links in that article? Because it doesn't seem