• 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: Can core data save to a remote file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can core data save to a remote file?


  • Subject: Re: Can core data save to a remote file?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 13 Mar 2008 22:05:34 -0700


On 13 Mar '08, at 9:48 PM, Kyle Sluder wrote:

HTTP doesn't support writing.

It does, actually. That's what the PUT method does; Tim Berners-Lee saw writeability as an important part of the Web architecture. But everyone just ignored poor PUT, until a few years ago when the buzzword "REST" was coined. It's now used in a number of protocols to write to a server over HTTP, for example the Atom Publishing Protocol.


If you want to store the persistent store on a remote server, mount the
filesystem using WebDAV, AFP, SMB, NFS...

You don't need to mount a filesystem — just save the store to a temp file and use NSURLConnection to PUT or POST the file somewhere (provided the server supports it.)


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can core data save to a remote file?
      • From: "Kyle Sluder" <email@hidden>
References: 
 >Can core data save to a remote file? (From: "Adam Gerson" <email@hidden>)
 >Re: Can core data save to a remote file? (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: get currently logging in users
  • Next by Date: Re: get currently logging in users
  • Previous by thread: Re: Can core data save to a remote file?
  • Next by thread: Re: Can core data save to a remote file?
  • Index(es):
    • Date
    • Thread