开发者

Are there any GOOD iPhone orms?

开发者 https://www.devze.com 2022-12-10 02:15 出处:网络
I\'m traditionally a .NET developer and am spoiled for choice when it comes to ORMs. My flavor of choice is NHibernate but there are a bunch of choices out there.

I'm traditionally a .NET developer and am spoiled for choice when it comes to ORMs. My flavor of choice is NHibernate but there are a bunch of choices out there.

I was wondering if anyone here uses an ORM when developing for the iPhone and, if so, how do the feature sets compare with that of it's Java and .NET counterparts. I understand my question is somewhat subjective (good can encompass many things) but feature-richness, ease-of-use and performance are my key interests. I know that there are a few out there, but would like to hear from开发者_如何学运维 the StackOverflow community in terms of how good they are...


I think that Core Data is the ORM of choice for almost all iPhone developers. It's fast, easy to use, and well integrated with the rest of Cocoa.


Apple's own Core Data is probably a good choice as it integrates seamlesly with the rest of the SDK.

  • Core Data Programming Guide
  • Data Modeling Guide
  • Core Data Reference for Objective-C


Unless you're going to roll your own special purpose ORM I'd probably stick with CoreData, although I've heard some good things about SQLite Persistent Objects, it's been compared to RoR's ActiveRecord (keep in mind I've never used it myself, I only added here because I've heard a few colleagues talk about it).

0

精彩评论

暂无评论...
验证码 换一张
取 消