The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
More thoughts on DBI

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Daniel Berger

Posts: 1383
Nickname: djberg96
Registered: Sep, 2004

Daniel Berger is a Ruby Programmer who also dabbles in C and Perl
More thoughts on DBI Posted: Jul 26, 2005 3:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Daniel Berger.
Original Post: More thoughts on DBI
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Daniel Berger
Latest Posts From Testing 1,2,3...

Advertisement
The more I think about it, the more I'm leaning towards a wrapper for libdbi as part of a DBI rewrite. I've already signed up on the devel and user mailing lists, and I've helped eliminate a few compiler warnings.

Adding a third party dependency really doesn't bother me at all. Let's face it, half the standard library already has a third party dependency. This is not an issue. Plus, it means someone else gets to do all the heavy lifting, while I provide a simple wrapper. And, in theory, it should be faster with a C backend.

All that being said, I still haven't decided for sure that I'll take this approach. I'll probably layout the desired API, see how well I can bend the C backend into a Ruby frontend, and see how things progress. If I like them, great. If not, I'll ditch libdbi and go with a pure Ruby approach.

While writing this, I was just thinking it would be nice to have something like Perl's Test::MockDBI in Ruby. Quick, someone write that.

Read: More thoughts on DBI

Topic: Periodic Table Previous Topic   Next Topic Topic: RubyistMagazineVol8

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use