This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
Original Post: DBI, Tim Bunce, JDBC
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
I listened to an interview with Tim Bunce this morning. Tim is the author of the Perl DBI module, probably the single most important (and popular) Perl module.
In the interview Tim mentions that, while the DBI spec was fairly well thought out in advance, the spec for the drivers themselves was not. And so, he's going to use the JDBC spec for a future DBI2 that's just starting. Don't panic - he's just using the JDBC spec, not the implemention. On a side note, there are already two JDBC modules out on CPAN - JDBC (written by Tim, which uses Inline::Java) and DBD::JDBC.
Ideally, Tim would like to use this spec to create a single driver per database using Parrot, which would then be used by all other language authors, instead of each language reinventing its own drivers. Less duplication of effort, more eyes on the same code.
It's a nice idea, but one that's several years off I think. The parrot thing, I mean. Using the JDBC spec for the drivers, that we can use today. So now I suppose I should start thinking about that for Ruby's own DBI drivers.