Ruby/DBI is a database interface in the spirit of Perl's prolific DBI authored by Tim Bunce.
Ruby/DBI differs in quite a few ways, however. It incorporates many "rubyisms" while maintaining the core DBI interface, and a suite of commonly used DBD's are maintained with the application.
Ruby/DBI is not an ORM, like ActiveRecord or DataMapper. It is a lightweight, centralized API to database manipulation. An ORM may or may not be what you want for a given situation, due to weight, ease-of-use or other issues. Our goal with Ruby/DBI is to provide a compelling, lightweight interface that you can use for things where an ORM is too much or too cumbersome.
Getting started with Ruby/DBI is very easy if you have a working knowledge of SQL and your target database. Read the Documentation to get on your way!
The maintainer, Erik Hollensbe, has made a commitment to keeping Ruby/DBI compatible with future Ruby releases. There is also a significant interest in enhancing the suite by further clarifying and enforcing the interface, and further tailoring DBI for the specific needs of Ruby users (as opposed to many of the Perlisms maintained) without impacting the goal of the project. There is also significant effort applied to clarifying the underpinnings, making debugging and development simpler.
No comments:
Post a Comment