[Dbix-class] FYI: some QDRDBMS code now available

Darren Duncan darren at DarrenDuncan.net
Wed Nov 8 08:48:49 GMT 2006


Hello,

Following up on my list post of September 15th, I'm writing to let 
you know that my QDRDBMS project is partly coded, and you will be 
able to see its continuing progress prior to its first CPAN release 
at:

http://darrenduncan.net/QDRDBMS/

That contains the newest versions of the code files that actually do 
something, even if they are in progress.  In particular, Value.pm is 
the most interesting right now; it implements a bunch of strong data 
types, of both the scalar and collection variety, and all type 
conversion is explicit; this does form the foundation for anything 
else.

At the moment, I am emailing the DBIx-Class list only about this, 
because I have decided to make DBIx-Class the first external project 
to link to QDRDBMS, due to it being new and flexible and heavily 
updated.  By trying to get DBIx::Class to successfully use QDRDBMS as 
a data store, it will help with testing and improving both my module 
and yours.  Only after QDRDBMS and DBIx::Class work well together, 
I'll work towards bridging to other Perl frameworks.

While I will do my part in building the bridge code, it may help if 
others of you start looking at my code and API, so to take them into 
account when evolving DBIx::Class, so that it is easier to link them 
together.

What Value.pm defines, among other things, is my analogy to row and 
rowset objects, which are called tuple and relation.  Note that all 
types declared by Value.pm are immutable, so you don't update my 
analogy to rows or rowsets in place, but rather derive new ones that 
are the same as the old but for the changes.  Note that today's copy 
of Value.pm doesn't include the collection derivation functions yet, 
though it has collection constructors; it does have the scalar 
derivation functions now, though.

For the initial CPAN release, QDRDBMS has zero external dependencies 
but for Perl 5.8.1+ and what comes with it.  It is also file based, 
analagously to SQLite.

More updates to come over the next 1-2 weeks.

-- Darren Duncan



More information about the Dbix-class mailing list