Ken Williams wrote:

On Dec 1, 2004, at 3:48 AM, Tim Bunce wrote:

I know what it does, I'm trying to find real examples that demonstrate
why people think it's needed. Nick has provided a good one. Any others?


Suppose someone's creating a GUI app (Perl/Tk, etc.) in which the end user fills in the server, port, user, password, and database into a screen of some sort. The back-end app will have to know how to translate that into a DBI connection string. And it's probably not reasonable to make the user understand the details of how to make a DBI connection string in this case.

Can I point out that you seem to be assuming the MySQL/Pg model of how servers, ports, databases, users and passwords work.

This all has no meaning to SQL*Net (Oracle), SQLite, ODBC and probably
other databases, too.

I suspect this is part of the reason that Tim is questioning your
objectives!
--
Sam Vilain, sam /\T vilain |><>T net, PGP key ID: 0x05B52F13
(include my PGP key ID in personal replies to avoid spam filtering)

Reply via email to