Re: DBIx::DBH - Perl extension for simplifying database connections
From: Tim Bunce (Tim.Bunce_at_pobox.com)
Date: 12/01/04
- Previous message: Tim Bunce: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Maybe in reply to: Tim Bunce: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Next in thread: Eric: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Reply: Eric: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Reply: Ron Savage: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Reply: Henri Asseily: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Reply: Mark Stosberg: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Reply: Henri Asseily: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 1 Dec 2004 18:39:00 +0000 To: John Siracusa <siracusa@mindspring.com>
On Wed, Dec 01, 2004 at 09:56:01AM -0500, John Siracusa wrote:
> On Wed, 1 Dec 2004 09:46:24 +0000, Tim Bunce <tim.bunce@pobox.com> wrote:
> > Do you generally pass URLs around as a string or broken up into a hash?
>
> If they had different formats for different consumers, I would. (And even
> today, I use my own URI objects when I know I'll have to do any significant
> amount of manipulation.)
>
> I think this module is definitely useful. I already store my DSNs in hashes
> and assemble the pieces as necessary depending on the driver.
Lots of people do, it seems, but I'm not getting much background about why.
FWIW, the reason I'm digging here is because I agree there may be
some value in the DBI supporting something along these lines, but
I need a better understanding of the underlying issues. More real-
world examples would help.
It'll always come down to the issue of "why not store complete DSNs?"
and so far that's not been well covered by the feedback I've got.
Tim.
- Previous message: Tim Bunce: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Maybe in reply to: Tim Bunce: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Next in thread: Eric: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Reply: Eric: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Reply: Ron Savage: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Reply: Henri Asseily: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Reply: Mark Stosberg: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Reply: Henri Asseily: "Re: DBIx::DBH - Perl extension for simplifying database connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|