Much later (about 2-3 years or so), I thought there should have been some better way to do this... to move the variation in program behavior out of code and into configuration.
I had been submitting patches to the author of DBIx::Password so that his module would work with packages such as Alzabo and DBIx::AnyDBD which have a special way of connecting to DBI databases, but he kept rejecting them, on the grounds that his module was designed to keep connection information private and there should be no way of seeing the connection information in cleartext.
So, I created DBIx::Connect, which is based on AppConfig. I am very happy with this module. belg4mit thought it would be a great way to catalog database connections for EZDBI but Dominus insisted that EZDBI would have no external dependencies. I have a co-developer but we have not done much to the module after our initial collaboration, after all, how much variability is there in connecting to databases?
Recently, on the #perlhelp IRC channel I learned of a neat module called autobox, and of course had to check out what other modules such a first-class programmer had made. His Xelig provides clean-cut MVC with calling conventions along the lines of HTML::Seamstress and PeTaL. But most relevant to this post is his XML::Object::DBI which provides DBI connection handles, but also a rather neat way of cataloging SQL, reminiscent of Class::Phrasebook::SQL and also retrieving the SQL without the prepare-execute-fetch ritual.
So anyway, click away to your heart's content... and let me know how you feel database connections should be cataloged... oh! I almost forgot probably the most widely used one: Ima::DBI, which is part of the ever-popular Class::DBI framework. I am working on something similar for DBIx::Recordset via the "living try-as-you-read" documentation in DBIx::Recordset::Playground which is based on DBSchema::Sample.
Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality. In reply to DBI database connection support and more
by princepawn
For:
Use:
& & < < > > [ [ ] ]