Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Simple Database development in cocoa

Simple Database development in cocoa
Thread Tools
peterferrett
Guest
Status:
Reply With Quote
Oct 17, 2000, 08:07 PM
 
I want to write an application which stores records in a simple database. I have used "B-tree helper" in the past (for Mac OS). I want to store records in multiple B-trees. I have some really basic queries.

I notice that the c compiler for MacOS X allows storage of records in a simple B-tree. I was thinking that multiple b-trees could be used by creating a file wrapper, and then making multiple file to go in the file wrapper(each file is one b-tree?). Does this sound feasible/desirable?

I understand that Enterprise Object Frameworks is an object framework for database management, but that a "backend" database is required. Can the b-tree utilities in the native C-compiler form that backend?

Is EOF framework packaged with Cocoa?

Is there any other solutions to a basic database storage/retrieval in OS X?

Any comments appreciated.

Peter
     
davebrennan
Guest
Status:
Reply With Quote
Oct 18, 2000, 08:57 AM
 
Peter,

EOF is not packaged with the Cocoa development tools - in fact it's not yet released for MacOS X. You do get EOF with WebObjects but that currently only works on OSX server, Windows NT and Solaris?

EOF works using a "database adaptor" to the back end database so that your business logic code is independent of the database. In principal you could write an adaptor to interface with your simple b-tree storage system. This would then let you plug in a more powerful database back end as the requirments for the system grow. However if you're just writing an address bok app this may be overkill :-)

Dave

------------------
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:48 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2