Theocacao
Leopard
Design Element
Comment on "Apple Rails Article Has Subtle Message"
by Scott Stevenson — Nov 09
Because CoreData can only use XML, SQLLite and a binary format. I'd like to (be able to) use Postgres or oracle

The Persistent Store Coordinator only supports those formats, but Core Data in the larger sense is not married to any one format. You can use Core Data for change tracking and just write your own code to write to PostgreSQL when necessary.

Also, I believe SQLite's dump format is compatible with PostgreSQL, so the easiest approach might just be to use SQLite as a local cache and periodically write out the results to a larger database.

Technically, you could use Active Record instead of Managed Objects, but you'd be missing out on a ton of very useful code that Apple provides, both now and in Leopard.
Back to "Apple Rails Article Has Subtle Message"
Design Element

Copyright © Scott Stevenson 2004-2015