Main > Programming > Libraries >

OpenInteract2::Datasource::DBI 1.99_06

OpenInteract2::Datasource::DBI 1.99_06

Sponsored Links

OpenInteract2::Datasource::DBI 1.99_06 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.91 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 854
Date added: 2007-06-22
Publisher: Chris Winters

OpenInteract2::Datasource::DBI 1.99_06 description

OpenInteract2::Datasource::DBI is a Perl module that can create DBI database handles.

SYNOPSIS

# Define the parameters for a database handle main using PostgreSQL

[datasource main]
type = DBI
dbi_type = Pg
dsn = dbname=urkelweb
username = webuser
password = urkelnut

# Define a handle win32 that uses Microsoft SQL Server and connects
# with ODBC

[datasource win32]
type = DBI
dbi_type = MSSQL
use_odbc = yes
dsn = MyDSN
username = webuser
password = urkelnut

# Request the datasource main from the context object (which in
# turn requests it from the OpenInteract2::DatasourceManager object,
# which in turn requests it from this class)

my $dbh = CTX->datasource( main );
my $sth = $dbh->prepare( "SELECT * FROM urkel_fan" );
$sth->execute;
...

No, we do not subclass DBI with this. No, we do not override any of the DBI methods. Instead, we provide the means to connect to the database from one location using nothing more than a datasource name. This is somewhat how the Java Naming and Directory Interface (JNDI) allows you to manage objects, including database connections.

Note that if you are using it this should work flawlessly (although pointlessly) with Apache::DBI, and if you are using this on a different persistent Perl platform (say, PerlEx) then this module gives you a single location from which to retrieve database handles -- this makes using the BEGIN/END tricks ActiveState recommends in their FAQ pretty trivial.

OpenInteract2::Datasource::DBI 1.99_06 Screenshot

Advertisements

OpenInteract2::Datasource::DBI 1.99_06 Keywords

Bookmark OpenInteract2::Datasource::DBI 1.99_06

Hyperlink code:
Link for forum:

OpenInteract2::Datasource::DBI 1.99_06 Copyright

WareSeeker periodically updates pricing and software information of OpenInteract2::Datasource::DBI 1.99_06 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of OpenInteract2::Datasource::DBI 1.99_06 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
OpenInteract2::TT2::Plugin is a Perl module for custom OpenInteract functionality in templates. Free Download
OpenInteract2::Manual::Tutorial is a Perl module that will teach learn you how to create and modify a package. Free Download
OpenPlugin::Datasource::DBI is a DBI driver, used to create DBI database handles for the OpenPlugin::Datasource plugin. Free Download
OpenInteract2::Config::Initializer is a Perl module for observable configuration initialization events. Free Download
OpenInteract2::Conversion::ActionConfig is a Perl module that can convert old action.perl files into INI configurations. Free Download
DBD::Teradata is Perl module with a DBI driver for Teradata. Free Download
PerlPoint::Tags::Basic is a Perl module that declares basic PerlPoint tags. Free Download
The Perl Dev Kit (PDK) provides essential tools for Perl programmers, making it simple to build and deploy applications. PDK features application builders for Windows, Mac OS X, Linux, Solaris and AIX. Free Download