Re: Core Data Multiuser
Re: Core Data Multiuser
- Subject: Re: Core Data Multiuser
- From: Jens Alfke <email@hidden>
- Date: Mon, 16 Jul 2012 16:36:12 -0700
On Jul 16, 2012, at 4:11 PM, Flavio Donadio <email@hidden> wrote:
> To be honest, I know a little about Cocoa and can write almost any simple app you can imagine. Core Data is not, by any measure, a simple framework. I think I understand it, so it feels comfortable for me to try and stick with it. But it doesn't have to be Core Data. It must be Cocoa, though.
To be honest, I never really got comfortable with Core Data. It always seemed to be very complex to do anything real with it, and there was a lot of boilerplate to set it up. (That was 5+ years ago, though. Maybe it's gotten simpler ;-)
One of the nice things about CouchDB-like databases is that everything is JSON, which is a kissing cousin of a PList, so you can treat your data like property-lists if you want. Or alternatively, the CouchModel class lets you treat data items as objects with custom properties, which can often make the code cleaner. But the choice is yours, and you can in fact mix the two approaches.
(I did a presentation about this a few months ago: <http://www.youtube.com/watch?v=U4h90TgWan0>. Just wherever it says "Couchbase Mobile", think "TouchDB".)
—Jens
_______________________________________________
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