RE: Database Application?
RE: Database Application?
- Subject: RE: Database Application?
- From: Jeff Laing <email@hidden>
- Date: Thu, 14 Dec 2006 11:00:21 +1100
> On Dec 13, 2006, at 3:59 PM, Ferhat Ayaz wrote:
>
> > Thank you for your answer. CoreData was my first stop where I
> > started to research. But in the documentation is written that
> > CoreData is definitly not a database. How should I understand this?
>
> CoreData is not a database. CoreData is a wrapper for Sqlite,
> although you can also use XML if you'd like.
I keep hearing this opinion and I think its very misleading, especially to
beginners.
CoreData is not a wrapper for SQLite.
SQLite is just one of the respositories that CoreData can use.
There are many database schemas you could build on SQLite that are just
impractical or impossible to do with CoreData.
CoreData is not a wrapper for XML files
XML files are one of the repositories that CoreData can use.
There are many document schemas you could build on XML that are just
impractical or impossible to do with CoreData.
CoreData does not have, at its heart, a relational database metaphor of
tables and columns. It is about entities and attributes.
The initial enquiry "I want to write a database application" needs to be
more focussed. Saying "database" implies certain kinds of operations that
the user can perform, for example the ability to specify SQL queries.
Whilst CoreData applications can be written to allow users to "query their
data", it does not allow "raw sql access".
If you want to write an application that allows "users to manipulate
entities on forms" then CoreData is probably a good fit. If you want to
write an application that uses a database that is accessible from other
applications then its probably not.
That'll be 2 cents, please.
Jeff.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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