• 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: Core Data Multiuser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Multiuser


  • Subject: Re: Core Data Multiuser
  • From: Flavio Donadio <email@hidden>
  • Date: Tue, 09 Oct 2012 14:07:02 -0300

On 09/10/2012, at 11:57, Keary Suska wrote:

> This is not an easy problem, although I would say it is more of a business logic issue than a technical one. Namely, what would be the uncommitted data policy? Discard all changes? Or commit with a discard fallback (in case of validation errors)?
> Both approaches could lead to data integrity and customer service issues, depending on the business logic.

I thought about this. Then I started to think about crazy "timer" ideas... And then gave up. :)

> In my most recent project I opted for  a "social" approach: when locks are made they are "forever", but when another user tries to edit the locked row the app tells them the user that locked the record, which (hopefully) provides some action of recourse, and avoids the pitfalls I mention above.

I thought about this too and I am getting more and more fond of this idea each minute...


Cheers,
Flavio
_______________________________________________

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

References: 
 >Re: Core Data Multiuser (From: Flavio Donadio <email@hidden>)
 >Re: Core Data Multiuser (From: Alex Zavatone <email@hidden>)
 >Re: Core Data Multiuser (From: Flavio Donadio <email@hidden>)
 >Re: Core Data Multiuser (From: Keary Suska <email@hidden>)

  • Prev by Date: NSScreen ID Unreliable
  • Next by Date: Hybrid Autolayout/Storyboard
  • Previous by thread: Re: Core Data Multiuser
  • Next by thread: Re: Core Data Multiuser
  • Index(es):
    • Date
    • Thread