in reply to ADO (DBI) vs ADODB.Connection

It appears your DBI-less second snippet IS perl. I think you can still program with a perl mindset and style, just perhaps not use the database connection in snippet one.

on Perl and asp links, I'd check with Activestate.com, they are taking on making perl an option within the ms environment.

You know, if you use SQL Server you can use Win32::ODBC, which is not unlike regular old DBI. MS Access...man I'm glad I can't feel your pain :-)

good luck!

Replies are listed 'Best First'.
Re: Re: ADO (DBI) vs ADODB.Connection
by ryddler (Monk) on Jan 10, 2001 at 06:08 UTC

    MS Access...man I'm glad I can't feel your pain :-)

    Fortunately the production DB isn't going to be Access. Not sure what it will be yet, we're in the process of building testbeds to try out some trial DBMS's to replace our current DBMS which is Pervasive / Btrieve (talk about feeling pain ;)

    My concern was/is that the interface seemed to be slower than would be acceptable. If I were designing for myself I'd be using a MySQL DB, but at work the company needs technical support offered by one of the mainstream databases.

    ryddler

      I think if you are selling perl, then use the fastest access method available. But any decent or lack of performance from Access isn't likely very valuable information if the goal is a multi-user relational database.

      Since Access is in house and thought to be usable, I bet you could get support for at least using SQL Server. I have used Perl in combination with SQL Server for a Customer Service website (Concur) and it's a very decent combination. You could use Win32::ODBC to make the database connection and it's very fast and a great way to show off the value of Perl on a Windows system.

      Since SQL Server is so easy to get setup (and I suspect you'd get support internally to make it happen), I would advise avoiding Access and going direct to SQL Server (or Oracle if possible). Another option to Access would be Sybase SQL Anywhere (formerly Watcom SQL) which is a real RDBMS for smaller MySQL type applications.

      of course using Perl instead of ASP, even Access can be "fun"...relatively speaking ;-)

      Well if you are unsure of what DB you are going to end up using I would suggest using DBI and then use DBD::ODBC or DBD::ADO to connect to Access. This should allow you to use almost any DB.

      --BigJoe

      Learn patience, you must.
      Young PerlMonk, craves Not these things.
      Use the source Luke.