10101 Software

News

XDB Released!

Posted on November 22, 2011 at 7:15 PM

I just started a week-long break from school so I decided to finish XDB (X Database), a lightweight database solution for REALbasic developers. Check out the Developer Tools page for more details. 


Thanks, 

-Tristan


P.S. I have discontinued development on XPrefs, please use XDB Light as a replacement. 

Categories: News

Post a Comment

Oops!

Oops, you forgot something.

Oops!

The words you entered did not match the given text. Please try again.

Already a member? Sign In

3 Comments

Reply Tristan Bellman-Greenwood
7:58 PM on March 16, 2012 
Ricahrd says...
the reading seems a bit fragile

Yes, the reading is very fragile only because XDB uses the plist structure definitions (although, not the data type definitions) very strictly so as long as the file remains in spec, the loading works.It was the easiest way to get it out to the community.

As for the folder creation, I will look into adding a recursive operation to make sure all the parent folders exist.

Thanks!
Reply Ricahrd
7:25 PM on February 25, 2012 
Hi, well done with this, and thanks!

A couple of comments though, which I hope will make it better:
- I've tried XDB Light as I just want to build a preferences plist. I wanted to put the file in a dedicated folder in Applications support, but the folder didn't yet exist. I found I had to add some code at the start of load() to explicitly create the folder, before I could create the file.

- the reading seems a bit fragile if one (inadvertently) deletes a line from the plist (which I actually did by accident). The method load() fails at the line currentNode = XMLDoc.FirstChild.NextSibling.FirstChild.FirstChild
with a nil object exception.

Anyway, good work! Keep it up!

best regards,
Richard
Reply Jason
2:59 PM on February 10, 2012 
Greetings,

Very nice class. I'm interested in switching over, but am first very curious how you store objects. I have objects with data-type-only properties, and I wish to store these. The class I currently use requires this to be done per class, but I was wondering if your class had elegant solution.

Thanks for the time and work!

~Jason