• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to create OODBSM's database engine in Objective-C & cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to create OODBSM's database engine in Objective-C & cocoa?


  • Subject: How to create OODBSM's database engine in Objective-C & cocoa?
  • From: Christ Levesque <email@hidden>
  • Date: Sun, 10 Feb 2013 05:24:57 -0800

Please note that my database is Object Oriented Database management system. I work on it so much and I got something interesting. First of all I implemented B-Tree but now days the problem is how to add dynamic object with it's instance variable to a binary tree. I want to give you an example for clarity:
For instance we have our database and user write this as SQl command:

Create Table exampleTable (
	StrignObject first name
	IntegerObject age
	FloatObject salary
);

Insert into exampleTable (christ, 19, 5000000$);
Insert into exampleTable (Joanna, 19, 5000000$);
…

The problem is because every object use Archiving mechanism to save themselves on disk how to forward message to each object. The methods are -initWithCoder: and encodeWithCoder:. Another problem is what is table? Another question is how to implement relationship. And so on. Any suggestions are welcomed.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Prev by Date: How to create a dynamic object - The question is mark than it please read full text
  • Next by Date: Changing drag image while modal
  • Previous by thread: How to create a dynamic object - The question is mark than it please read full text
  • Next by thread: Changing drag image while modal
  • Index(es):
    • Date
    • Thread