Greetings Dave,
Exactly.  In the case of a Core Data document based app, that is where I was
scratching my head.  Then it hit me.  There would need to be an intermediate
Shoe-Box app.   It would actually provide the ERSync connection and a
sublcass of NSAtomicStore.   The document based app is a self contained
Core-Data  database.  I suspect we could have a special naming convention in
this case.  Say have the name of the application and the location of the
Core-Data database (its document) marshaled into the name of the client app.
In other words, the document is the client app.

Of course the name of the application could also become the apiKey, in that
special case.  In any case, this something worth thinking about.  I will
probably have some fun tonight working on the Shoe-Box app that provides the
ERSync connectivity.   Hopefully, I continue to make some progress.

Thank you,

Daniel Beatty
Computer Scientist, Detonation Sciences Branch
Code 474300D
1 Administration Circle M/S 1109
China Lake, CA 93555
[email protected]
(LandLine) (760)939-7097
(iPhone) (806)438-6620



P.S. I would also like to add the notion of a Domain Relational Calculus
(DRC) style query to ERSync (WO side).   The idea is that the DRC queries
would also be associated with the device/app principle.   Thus if a database
is larger WO side than the capacity of an iPhone for example, the authorizer
would check the queries to help govern the amount fed to the iPhone ensure
that we do not overwhelm it.


On 11/21/11 9:18 AM, "David Aspinall" <[email protected]> wrote:

> Hi Daniel,
> 
> I think depending on your shoe box this could work. Let me rephrase where I
> see this going.
> 
> 
> Option 1: if your shoebox document is a custom binary store, XML document or
> anything of that nature, then this will NOT work.  Sync'ing something like
> that is really hard.  You might find success using a modified 'rsync'
> protocol, but even then there are going to be risks.  Oh another good example
> of this would be git, svn or cvs.  They only really work well with simple text
> documents, therare not that I know of that will merge (for example) a word
> document.  They basically treat them as large binary blobs.
> 
> Option 2:  Each shoebox is a self contained core data database.  This could
> work.  The idea behind ERSync was to leverage the change notification system
> to create very small delta packages between the EOF legacy and the mobile core
> data system.
> 
> Hope that helps,
> David
> 
> 
> On 2011-11-20, at 9:49 PM, Daniel Beatty wrote:
> 
>> Greetings Amy, Dave, Chuck, anyone,
>> Does any one have any idea if ERSync could be expanded to handle
>> synchronization to include document based applications?  The shoe-box
>> applications seems to be the current model for both the iOS and Mac.   I was
>> struck by a sort of revelation this weekend to construct a kind of shoe-box
>> ERSync Cocoa app with scriptable capabilities that supplies subclass of
>> NSAtomicStore.  The premise is that the shoe-box app would serve kind of the
>> same function as the ERSync framework does in the WO app except for the Cocoa
>> app.   The NSAtomicStore subclass would enable the user to call up the
>> document (or shoe-box app) via their own app.  The ERSync Cocoa shoe-box app
>> would give the user a sort of user level admin capability over all ERSync
>> enabled apps on their Mac (kind of a D2W for the shoe-box).
>> 
>> The gotcha came when I considered the possibility of a document-based app
>> using the NSAtomicStore subclass.  Any ideas?  I will try at first under the
>> presumption that document-based apps don't exists.   I am not sure how long
>> that fairy will stay away for, I forgot to give him Guinness.
>> 
>> V/R,
>> 
>> 
>> Dan Beatty, ABD
>> Ph.D. Student 
>> Texas Tech University
>> [email protected] <mailto:[email protected]>
>> http://web.me.com/danielbeatty/My_Home_Page/Welcome.html
>>  <http://web.me.com/danielbeatty/My_Home_Page/Welcome.html> (806)438-6620
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> On Jul 24, 2011, at 12:35 PM, Amy Worrall wrote:
>> 
>>> Great, thanks. I'll check it out.
>>> 
>>> Amy
>>> 
>>> On Sun, Jul 24, 2011 at 8:05 PM, Pascal Robert <[email protected]> wrote:
>>>> 
>>>> Le 2011-07-24 à 12:02, Amy Worrall a écrit :
>>>> 
>>>>> Hi all!
>>>>> 
>>>>> Could anyone point me to where I can find ERSync? I've heard about it
>>>>> (i.e. that it's good for writing backends for iPhone apps), but I
>>>>> don't know anything more about it than that.
>>>> 
>>>> https://github.com/davidAtGVC/RemoteSync/tree/master/WebObjects/ERSync
>>>  _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/danielbeatty%40mac.com
>>> 
>>> This email sent to [email protected]
>> 
>>  _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/daspinall%40global-vill
>> age.net
>> 
>> This email sent to [email protected]
> 
> --
> David Aspinall
> Senior IT Consultant
> Global Village Consulting Inc.
> E: [email protected]
> P: 1-647-927-7442
> 
> 
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/daniel.beatty%40navy.mil
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to