Linked by Eugenia Loli on Sun 27th Nov 2005 22:12 UTC
Java Marcus Zarra discusses Core Data, which is a new framework that was introduced by Apple with the release of OS X 10.4 Tiger. Core Data replaces the need for building data objects and helps manage storing data in a flat file, XML file or SQLite database. Marcus walks you through some of the basic usages of Core Data and tells you why it is so useful.
Order by: Score:
modmans2ndcoming
Member since:
2005-11-09

the fact that SQLite is installed on the system make it super awesome to write web apps that make use of DBs.... for testing at least.

Reply Score: 1

kaiwai Member since:
2005-07-06

True; it will be interesting to see how well it would scale as a database beyond the scope that it was originally designed for - but like I said, it would have been better had Apple adopted something like Cloudscape, which has alot more grunt in regards to scalability and feature completeness.

Reply Score: 1

Anonymous Member since:
---

The database backend is an implementation detail. The whole point about CoreData is to separate you (the developer) from the implementation; and that is done very well.
Of course, if SQLite doesn't scale high enough for your specific needs, you're basically SOL; there's no way to swap out the backend in CoreData.
But there's already a cloning effort underway (http://gscoredata.nongnu.org/, in its infant stages), so some day CoreData apps will even be portable.

Reply Score: 0

Second link
by Ronald Vos on Mon 28th Nov 2005 16:22 UTC
Ronald Vos
Member since:
2005-07-06

The second link was just what I needed, only I need a version with a more straight to the point language (less purely technical). :|
I'm still trying to figure out what Eclipse really entails and what it can do for me.

Reply Score: 1

Hm
by Phuqker on Mon 28th Nov 2005 20:38 UTC
Phuqker
Member since:
2005-07-17

I like CoreData. I've used it in several personal projects and it does the job. My initial criticism of it was from a DBA perspective, until I realized that CoreData is merely a persistence mechanism, and that things like uniquing and constraints have to be done by client code or in custom NSManagedObject subtypes. Because my data stores are sometimes used from multiple apps, I have tended to write a shared framework to handle all the book-keeping. This works beautifully.

Reply Score: 1

RE: Hm
by tyrione on Tue 29th Nov 2005 07:55 UTC in reply to "Hm"
tyrione Member since:
2005-11-21

Not much experience or exposure to EOF, perhaps? I'd download the tutorials on EOF which still exist and are included by reference in Openstep books still available at Amazon.

Reply Score: 1