How to create OODBSM's database engine in Objective-C & cocoa?
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