• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ERSync?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERSync?


  • Subject: Re: ERSync?
  • From: David Aspinall <email@hidden>
  • Date: Mon, 21 Nov 2011 12:18:53 -0500

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@hidden
http://web.me.com/danielbeatty/My_Home_Page/Welcome.html
(806)438-6620









--
David Aspinall
Senior IT Consultant
Global Village Consulting Inc.
E: email@hidden
P: 1-647-927-7442

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERSync?
      • From: Dan Beatty <email@hidden>
References: 
 >Re: ERSync? (From: Daniel Beatty <email@hidden>)

  • Prev by Date: Re: Using NTLM Authentication in WO apps
  • Next by Date: Problem loading Ajax frameworks
  • Previous by thread: Re: ERSync?
  • Next by thread: Re: ERSync?
  • Index(es):
    • Date
    • Thread