473,804 Members | 2,112 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New Module: DBIx::Config - please comment

DBIx::Config is a new module I've written to simplify connecting to
databases and passing the resulting handles between packages. Before
uploading to CPAN, I'd like to see what people around here think.
Please comment in either a followup here or in an email to tobeya at
cpan dot org

http://www.tobert.org/tmp/Config.html
http://www.tobert.org/tmp/Config.pm

Of course, I have a few test written that will be bundled with this that
aren't on the web yet.

A topic worth discussing that I realized in the process of writing this is
the lack of "good" ways to test DBI subclassing modules. The best I've
found is either writing your own dummy DBD or DBD::CSV. I wonder
how hard or useful it would be to write a Test::DBI module .... A
quick/random survey of other DBIx modules shows that not much testing is
done in that namespace.

Thanks!
-Al Tobey
tobeya at cpan dot org
Jul 19 '05 #1
0 1421

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1646
by: Tom Willis | last post by:
How are the expert pythoneers dealing with config files? Is there anything similair to .net's config files or java's .properties? A quick search on google didn't return anything that looked useful, and I almost would expect to see some module that would be for dealing with config information. I can think of at least one way to do it, but I'm sure there are shortcomings I can't see yet, and I'd rather use something someone
4
1015
by: Lee Silver | last post by:
We are in the process of converting a VB-6 DLL with about 100 classes to .NET as part of the process of transforming a VB-6 app into an ASP app. Data that is used by more than one of the Classes (e.g. configuration) is stored in variables in a Module in the DLL. Question: When more than one user is using the ASP app (and hence the DLL) at the same time, do they have separate instances of the Module-level data or is that shared amongst...
0
1709
by: Marek | last post by:
Hi I need to call various functions in a native C++ DLL (FORTRAN eventually too) - passing integers, doubles, (pointers and arrays to both of these as well) and ultimately structures too. I was quite happily proceeding using ModuleBuilder.DefinePInvokeMethod until I started implementing calls to pointer (byref) parameters. The switch to TypeBuilder.DefinePInvokeMethod (the one with the required custom modifiers) has resulted in the...
0
958
by: Radu | last post by:
Hi. In a public module which I have named "MAIN.VB", I use something like this: Public g_strRequestorsPIN As String Public g_strWebSiteLanguage As String Public g_dbtSettings_HeaderInfo As New DataTable Public g_dbtGeneralInfo As New DataTable Public g_dbtSettings_Locations As New DataTable Public g_dbtSettings_Targets As New DataTable
3
1603
by: JimInAJam | last post by:
Hi, Please don't stress to find a solution - I've got a workaround I just want to see if I can improve on it. I'm using Access 2003 and have a form module which I want to edit using a standard module. Please find below the sub from the standard module. When this runs the text from the standard module get's eaten up and eventually self distructs and shuts/crashes Access down.
0
1601
by: sarang | last post by:
Hi, I want to use gzip compression library in kernel module. I have source of of gzip library. I dont understand how to use this library in kernel module. Please suggest me easiest way to intergrate this library with kernel moduel. Also can 'gzip' command be directly used in kernel module?
4
3768
rajiv07
by: rajiv07 | last post by:
I have some problem in session loading use CGI; use CGI::Session; use CGI::Cookie; my $session = "" ; my $sid = "" ;
2
2978
by: sshub | last post by:
I am using YAML module(Config:YAML) for one of the perl script. When i run the script, i get an error saying like ' Can't locate YAML.pm in ..........'. The error is pointing to a line 7 of the YAML.pm module itself and that line is 'use YAML; '. How can a module use itself and expect to be in the path. Am new to perl, pls someone help on for this issue
3
5213
by: Alex Gusarov | last post by:
Hello, I have a following module and in its end I want to initalize collection of tables: Module: from sqlalchemy import * metadata = MetaData() calendars_table = Table('calendars', metadata,
0
9712
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10595
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10341
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9171
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7634
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.