<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Crackpot Idea for Core Data Multi-User Document</title>
	<atom:link href="http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/feed/" rel="self" type="application/rss+xml" />
	<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/</link>
	<description>this is my tagline</description>
	<lastBuildDate>Thu, 19 Jun 2008 00:54:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: nerkles</title>
		<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/#comment-845</link>
		<dc:creator>nerkles</dc:creator>
		<pubDate>Sat, 19 Nov 2005 21:38:56 +0000</pubDate>
		<guid isPermaLink="false">http://lumpus.info/nerkalog/archives/2005/08/idea-for-core-data-multi-user-document#comment-845</guid>
		<description>&lt;p&gt;I have to admit I got the book but haven&#039;t dug into it. I&#039;ve concluded, at least for now, that Cocoa + Core Data is not the right approach for the project I&#039;m working on, although this Coordinator model might actually work if somebody had time to try it and refine it. &lt;/p&gt;

&lt;p&gt;I&#039;ve decided that &lt;a&gt;TurboGears&lt;/a&gt; is the way to go for this project (when they release 0.9 or 1.0) because part of the spec is that it&#039;s going to have frequent changes to the GUI. That&#039;s going to get too crazy... creating and deploying a new build every few weeks. Better to centralize all that implementation on the server and have &quot;instant&quot; deployment to the browser. &lt;/p&gt;

&lt;p&gt;It means a slight compromise on the speed of updates to each user&#039;s View, but AJAX will keep that problem to a minimum. I&#039;ll just have to ensure only one user at a time can edit each object. It may even end up using a similar Coordinator pattern, but with AJAX, and the web server handling that coordination.&lt;/p&gt;

&lt;p&gt;Feel free to pursue the idea though... Drop me a line if you get anywhere with it, I&#039;d like to know it was helpful or not.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have to admit I got the book but haven&#8217;t dug into it. I&#8217;ve concluded, at least for now, that Cocoa + Core Data is not the right approach for the project I&#8217;m working on, although this Coordinator model might actually work if somebody had time to try it and refine it. </p>

<p>I&#8217;ve decided that <a>TurboGears</a> is the way to go for this project (when they release 0.9 or 1.0) because part of the spec is that it&#8217;s going to have frequent changes to the GUI. That&#8217;s going to get too crazy&#8230; creating and deploying a new build every few weeks. Better to centralize all that implementation on the server and have &#8220;instant&#8221; deployment to the browser. </p>

<p>It means a slight compromise on the speed of updates to each user&#8217;s View, but AJAX will keep that problem to a minimum. I&#8217;ll just have to ensure only one user at a time can edit each object. It may even end up using a similar Coordinator pattern, but with AJAX, and the web server handling that coordination.</p>

<p>Feel free to pursue the idea though&#8230; Drop me a line if you get anywhere with it, I&#8217;d like to know it was helpful or not.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: fondomatic</title>
		<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/#comment-832</link>
		<dc:creator>fondomatic</dc:creator>
		<pubDate>Tue, 15 Nov 2005 14:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://lumpus.info/nerkalog/archives/2005/08/idea-for-core-data-multi-user-document#comment-832</guid>
		<description>&lt;p&gt;Did the Advanced Mac OS X Programming book provide any insight into this issue? Just curious...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Did the Advanced Mac OS X Programming book provide any insight into this issue? Just curious&#8230;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: nerkles</title>
		<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/#comment-770</link>
		<dc:creator>nerkles</dc:creator>
		<pubDate>Wed, 12 Oct 2005 05:21:05 +0000</pubDate>
		<guid isPermaLink="false">http://lumpus.info/nerkalog/archives/2005/08/idea-for-core-data-multi-user-document#comment-770</guid>
		<description>&lt;p&gt;Hey Jeremy,&lt;/p&gt;

&lt;p&gt;I&#039;ve been too busy, haven&#039;t tried it yet. I&#039;ll definitely post when I do. I just got my hands on Advanced Mac OS X Programming from Big Nerd Ranch, which claims to have some secret about getting Distributed Objects to work right. So we shall see!&lt;/p&gt;

&lt;p&gt;Please drop me a line if you make any progress before I do. [nerkles &lt;em&gt;at&lt;/em&gt; &quot;gmail&quot; d0t c0m].&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey Jeremy,</p>

<p>I&#8217;ve been too busy, haven&#8217;t tried it yet. I&#8217;ll definitely post when I do. I just got my hands on Advanced Mac OS X Programming from Big Nerd Ranch, which claims to have some secret about getting Distributed Objects to work right. So we shall see!</p>

<p>Please drop me a line if you make any progress before I do. [nerkles <em>at</em> "gmail" d0t c0m].</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Clark</title>
		<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/#comment-769</link>
		<dc:creator>Jeremy Clark</dc:creator>
		<pubDate>Sat, 08 Oct 2005 16:03:36 +0000</pubDate>
		<guid isPermaLink="false">http://lumpus.info/nerkalog/archives/2005/08/idea-for-core-data-multi-user-document#comment-769</guid>
		<description>&lt;p&gt;Hello - &lt;/p&gt;

&lt;p&gt;Did you every have any success with using Distributed Objects to vend out an NSPersistentStoreCoordinator?
I too am looking to do the same thing. I&#039;ve exprimented, but I can&#039;t get it to work. I&#039;m able to get the PSC in my client app, but it seems that its coming over as a DO proxy object - I think this is causing a problem in the Core Data system somewhere, but I&#039;m not sure.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hello &#8211; </p>

<p>Did you every have any success with using Distributed Objects to vend out an NSPersistentStoreCoordinator?
I too am looking to do the same thing. I&#8217;ve exprimented, but I can&#8217;t get it to work. I&#8217;m able to get the PSC in my client app, but it seems that its coming over as a DO proxy object &#8211; I think this is causing a problem in the Core Data system somewhere, but I&#8217;m not sure.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Gustavo Vera</title>
		<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/#comment-755</link>
		<dc:creator>Gustavo Vera</dc:creator>
		<pubDate>Mon, 19 Sep 2005 18:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://lumpus.info/nerkalog/archives/2005/08/idea-for-core-data-multi-user-document#comment-755</guid>
		<description>&lt;p&gt;I finish publishing some information related to coreData and a multi-user application in gustavovera.blogspot.com. 
Regards.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I finish publishing some information related to coreData and a multi-user application in gustavovera.blogspot.com. 
Regards.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Gustavo Vera</title>
		<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/#comment-706</link>
		<dc:creator>Gustavo Vera</dc:creator>
		<pubDate>Mon, 22 Aug 2005 13:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://lumpus.info/nerkalog/archives/2005/08/idea-for-core-data-multi-user-document#comment-706</guid>
		<description>&lt;p&gt;Hi! I am very interested an looking for a solution to the problem of multiple users on different computers accessing the same data using core data... 
I have made some tests with the SQLite storeType, specifying the mergePolicy in the managedObjectContext to NSRollbackMergePolicy and allowing to the application&#039;s user to do a commitEditing and a save against the context every time it is necessary... 
With this configuration i can see that, at least on my tests, the data is not corrupted during simultaneous operations of two application instances.... but also is hard to keep synchronized the two applications... the fetch recovers the new objects, added from the other running instance, but don&#039;t recover the changes done in one of the existing and previously added ones... 
The idea of a coordinator server is not bad... but a think that is going to make the things very complicated in comparison...
Somebody has some kind of little example already running???
And another completely different question.... what i should do to become a member or to enter to the mailing lists published in cocoabuilder? I can&#039;t find that info, and the &quot;terms of use&quot; at the bottom of each page doesn&#039;t seem to work... &lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi! I am very interested an looking for a solution to the problem of multiple users on different computers accessing the same data using core data&#8230; 
I have made some tests with the SQLite storeType, specifying the mergePolicy in the managedObjectContext to NSRollbackMergePolicy and allowing to the application&#8217;s user to do a commitEditing and a save against the context every time it is necessary&#8230; 
With this configuration i can see that, at least on my tests, the data is not corrupted during simultaneous operations of two application instances&#8230;. but also is hard to keep synchronized the two applications&#8230; the fetch recovers the new objects, added from the other running instance, but don&#8217;t recover the changes done in one of the existing and previously added ones&#8230; 
The idea of a coordinator server is not bad&#8230; but a think that is going to make the things very complicated in comparison&#8230;
Somebody has some kind of little example already running???
And another completely different question&#8230;. what i should do to become a member or to enter to the mailing lists published in cocoabuilder? I can&#8217;t find that info, and the &#8220;terms of use&#8221; at the bottom of each page doesn&#8217;t seem to work&#8230; </p>]]></content:encoded>
	</item>
	<item>
		<title>By: nerkles</title>
		<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/#comment-700</link>
		<dc:creator>nerkles</dc:creator>
		<pubDate>Wed, 10 Aug 2005 13:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://lumpus.info/nerkalog/archives/2005/08/idea-for-core-data-multi-user-document#comment-700</guid>
		<description>&lt;p&gt;JS-- Thanks for trying that out!  When I have time to mess with this, I&#039;d like to try it both ways. I think for my case the network traffic wouldn&#039;t be so bad since there will be &lt; 20 users.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>JS&#8211; Thanks for trying that out!  When I have time to mess with this, I&#8217;d like to try it both ways. I think for my case the network traffic wouldn&#8217;t be so bad since there will be &lt; 20 users.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: JS</title>
		<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/#comment-699</link>
		<dc:creator>JS</dc:creator>
		<pubDate>Wed, 10 Aug 2005 10:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://lumpus.info/nerkalog/archives/2005/08/idea-for-core-data-multi-user-document#comment-699</guid>
		<description>&lt;p&gt;Hi
I spent a little time looking at this problem this weekend, but i couldn&#039;t get it working and obviously have alot more to learn - however;&lt;/p&gt;

&lt;p&gt;It seems to me that the proper object to vend is the Persisent Store Coordinator. Multiple MOCs can use one PSC, but each client will need it&#039;s own MOC. Also there is probably alot of messaging that takes place between the MOC and the UI widgets because of the observing stuff that would clog up the network.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi
I spent a little time looking at this problem this weekend, but i couldn&#8217;t get it working and obviously have alot more to learn &#8211; however;</p>

<p>It seems to me that the proper object to vend is the Persisent Store Coordinator. Multiple MOCs can use one PSC, but each client will need it&#8217;s own MOC. Also there is probably alot of messaging that takes place between the MOC and the UI widgets because of the observing stuff that would clog up the network.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: nerkles</title>
		<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/#comment-697</link>
		<dc:creator>nerkles</dc:creator>
		<pubDate>Tue, 09 Aug 2005 18:18:39 +0000</pubDate>
		<guid isPermaLink="false">http://lumpus.info/nerkalog/archives/2005/08/idea-for-core-data-multi-user-document#comment-697</guid>
		<description>&lt;p&gt;I just thought of the most obvious thing. Could it be this easy? Use Distributed Objects to &quot;vend&quot; the ManagedObjectContext? One instance of the app with access to the data store could vend, while the others use a vended MOC?&lt;/p&gt;

&lt;p&gt;Well, that would sure simplify things. I won&#039;t have time to try it for a couple weeks, but if anyone knows whether this is even possible, it&#039;d be good to know.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I just thought of the most obvious thing. Could it be this easy? Use Distributed Objects to &#8220;vend&#8221; the ManagedObjectContext? One instance of the app with access to the data store could vend, while the others use a vended MOC?</p>

<p>Well, that would sure simplify things. I won&#8217;t have time to try it for a couple weeks, but if anyone knows whether this is even possible, it&#8217;d be good to know.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: JS</title>
		<link>http://nerkalog.lumpus.info/2005/08/05/core-data-multi-user/#comment-691</link>
		<dc:creator>JS</dc:creator>
		<pubDate>Sat, 06 Aug 2005 16:18:49 +0000</pubDate>
		<guid isPermaLink="false">http://lumpus.info/nerkalog/archives/2005/08/idea-for-core-data-multi-user-document#comment-691</guid>
		<description>&lt;p&gt;Hi &lt;/p&gt;

&lt;p&gt;I have not been able to spend the time with core data that I wanted to, but I have also thought about what would be the best way to achieve a client server setup with core data. It seems to me that what would be needed is some kind of server/deamon app to be written that would use core data to create a MO context for each connection. The client app could then use Distributed Objects or some other suitable mechanism to treat that server side MO context as it&#039;s datasource for its own local core data stack. Can you do nested MO contexts the way you could do nested EOF editing contexts? If DO worked, would the client app even need a core data stack? Might only need the proxy for the remote MOcontext.&lt;/p&gt;

&lt;p&gt;I think that this is sorta like the arrangement used in the WO/EOF Java Client app arrangement. I think that if you looked at how that was setup you could get some ideas. Bury all actual file access in your coordinator app and have the clients connect to it, not the file.&lt;/p&gt;

&lt;p&gt;(fancy DO example here: http://homepage.mac.com/azc/DistributedWidgets/)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi </p>

<p>I have not been able to spend the time with core data that I wanted to, but I have also thought about what would be the best way to achieve a client server setup with core data. It seems to me that what would be needed is some kind of server/deamon app to be written that would use core data to create a MO context for each connection. The client app could then use Distributed Objects or some other suitable mechanism to treat that server side MO context as it&#8217;s datasource for its own local core data stack. Can you do nested MO contexts the way you could do nested EOF editing contexts? If DO worked, would the client app even need a core data stack? Might only need the proxy for the remote MOcontext.</p>

<p>I think that this is sorta like the arrangement used in the WO/EOF Java Client app arrangement. I think that if you looked at how that was setup you could get some ideas. Bury all actual file access in your coordinator app and have the clients connect to it, not the file.</p>

<p>(fancy DO example here: <a href="http://homepage.mac.com/azc/DistributedWidgets/" rel="nofollow">http://homepage.mac.com/azc/DistributedWidgets/</a>)</p>]]></content:encoded>
	</item>
</channel>
</rss>

