Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.388.626 Times

OpenInteract2::Datasource::DBI 1.99_06

  Date Added: October 19, 2010  |  Visits: 618

OpenInteract2::Datasource::DBI

Report Broken Link
Printer Friendly Version


Product Homepage
Download (92 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Database Datasource Dbi Libraries Module Perl Perl Module Programming Using
Users rating: 0/10

License: Freeware Size: 931.84 KB
USER REVIEWS
More Reviews or Write Review


OPENINTERACT2::DATASOURCE::DBI RELATED
Libraries  -  OpenPlugin::Datasource::DBI 0.11
OpenPlugin::Datasource::DBI is a DBI driver, used to create DBI database handles for the OpenPlugin::Datasource plugin. SYNOPSIS # Define the parameters for a database handle main in the config file type = DBI db_owner = username =...
78.85 KB  
Database Tools  -  SQL Database Professional 3.7.7.221
The SQL Database Professional data export module for Accurate Printer Monitor is used for recording/saving variables the parser receives and extracts from the stream of bytes into SQL-compatible databases, such as SQLBase, Oracle, Microsoft...
 
Libraries  -  Thesaurus::DBI 0.01
Thesaurus::DBI is a Perl module that can store and query synonyms (Thesaurus) in an SQL database. SYNOPSIS use Thesaurus::DBI; # create new database connection my $th = new Thesaurus::DBI(dbhost=> localhost,...
5.12 KB  
Libraries  -  Email::Store::DBI 0.254
Email::Store::DBI is a Perl module for database backend to Email::Store. SYNOPSIS use Email::Store dbi:...; This class is a subclass of Class::DBI and contains means for Email::Store-based programs to register what DSN they wish to use. It...
28.67 KB  
Libraries  -  DBD::mysql 4.004
DBD::mysql is a Perl module with MySQL driver for the Perl5 Database Interface (DBI). SYNOPSIS use DBI; $dsn = "DBI:mysql:database=$database;host=$hostname;port=$port"; $dbh = DBI->connect($dsn, $user, $password); $drh =...
112.64 KB  
Libraries  -  DBD::mSQL 1.2219
DBD::mSQL / DBD::mysql is a Perl module with mSQL and mysql drivers for the Perl5 Database Interface (DBI). SYNOPSIS use DBI; $driver = "mSQL"; # or "mSQL1"; $dsn = "DBI:$driver:database=$database;host=$hostname"; $dbh =...
194.56 KB  
Libraries  -  CGI::Application::Plugin::Authorization::Driver::DBI 0.05
CGI::Application::Plugin::Authorization::Driver::DBI is a Perl module with DBI Authorization driver. SYNOPSIS use base qw(CGI::Application); use CGI::Application::Plugin::Authorization; # Simple task based authentication...
17.41 KB  
Libraries  -  Template::Tutorial::Datafile 2.15
Template::Tutorial::Datafile is a Perl module for creating Data Output Files Using the Template Toolkit. This tutorial gives an overview of the Template Toolkit, showing in particular how to use it to read and write data files in various...
778.24 KB  
Libraries  -  MP3::Tag::LastResort 0.9708
MP3::Tag::LastResort is a Perl module for using other fields to fill autoinfo fields. SYNOPSIS my $mp3extra = MP3::Tag::LastResort::new_with_parent($filename, $parent); $comment = $mp3inf->comment(); see MP3::Tag MP3::Tag::LastResort is...
174.08 KB  
Libraries  -  Acme::JavaTrace 0.06
Acme::JavaTrace is a Perl module for using Java-like stack traces. SYNOPSIS On the command-line: perl -wMAcme::JavaTrace program_with_strange_errors.pl Inside a module: use Acme::JavaTrace; warn "some kind of non-fatal exception...
15.36 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB