DBIx::Recordset 0.26

DBIx::Recordset 0.26

Sponsored Links

DBIx::Recordset 0.26 Ranking & Summary

Ranking Click at the star to rankRanking level:
User Review: 0 (0 times) Download now
File size: 0.092 MB Platform: Any Platform License: Perl Artistic License Price: Downloads: 7720 Date added: 2007-07-02 Publisher: G.Richter Publisher URL: http://search.cpan.org/~g

DBIx::Recordset 0.26 description

DBIx::Recordset is a Perl extension for DBI recordsets.

SYNOPSIS

use DBIx::Recordset;

# Setup a new object and select some recods...
*set = DBIx::Recordset -> Search ({!DataSource => dbi:Oracle:....,
!Table => users,
$where => name = ? and age > ?,
$values => [richter, 25] }) ;

# Get the values of field foo ...
print "First Records value of foo is $set[0]{foo}n" ;
print "Second Records value of foo is $set[1]{foo}n" ;
# Get the value of the field age of the current record ...
print "Age is $set{age}n" ;

# Do another select with the already created object...
$set -> Search ({name => bar}) ;

# Show the result...
print "All users with name bar:n" ;
while ($rec = $set -> Next)
{
print $rec -> {age} ;
}

# Setup another object and insert a new record
*set2 = DBIx::Recordset -> Insert ({!DataSource => dbi:Oracle:....,
!Table => users,
name => foo,
age => 25 }) ;


# Update this record (change age from 25 to 99)...
$set -> Update ({age => 99}, {name => foo}) ;

DBIx::Recordset is a perl module for abstraction and simplification of database access.

The goal is to make standard database access (select/insert/update/delete) easier to handle and independend of the underlying DBMS. Special attention is made on web applications to make it possible to handle the state-less access and to process the posted data of formfields, but DBIx::Recordset is not limited to web applications.

DBIx::Recordset uses the DBI API to access the database, so it should work with every database for which a DBD driver is available (see also DBIx::Compat).
Most public functions take a hash reference as parameter, which makes it simple to supply various different arguments to the same function. The parameter hash can also be taken from a hash containing posted formfields like those available with CGI.pm, mod_perl, HTML::Embperl and others.
Before using a recordset it is necessary to setup an object. Of course the setup step can be made with the same function call as the first database access, but it can also be handled separately.

Most functions which set up an object return a typglob. A typglob in Perl is an object which holds pointers to all datatypes with the same name. Therefore a typglob must always have a name and cant be declared with my. You can only use it as global variable or declare it with local. The trick for using a typglob is that setup functions can return a reference to an object, an array and a hash at the same time.

The object is used to access the objects methods, the array is used to access the records currently selected in the recordset and the hash is used to access the current record.

If you dont like the idea of using typglobs you can also set up the object, array and hash separately, or just set the ones you need.

Download now

DBIx::Recordset 0.26 Screenshot

Sponsored Links
Download DBIx::Recordset 0.26

DBIx::Recordset 0.26 Keywords

Bookmark DBIx::Recordset 0.26

Hyperlink code:
Hyperlink and Intro code:

DBIx::Recordset 0.26 Copyright

WareSeeker periodically updates pricing and software information of DBIx::Recordset 0.26 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 DBIx::Recordset 0.26 Edition. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

DBIx::Recordset 0.26 Related Software


DBIx::Simple provides a simplified interface to DBI, Perls powerful database module.

DBIx::XHTML_Table is Perl module for SQL query result set to XML-based HTML table.

DBIx::OO is a database to Perl objects abstraction.

DBIx::OO::Tree is a Perl module to manipulate hierarchical data using the "nested sets" model.

DBIx::DBStag is a Perl module for Relational Database to Hierarchical (Stag/XML) Mapping.

DBIx::SQLCrosstab::Format is a Perl module with formats results created by DBIx::SQLCrosstab.

DBIx::Recordset::Playground is a Perl module with working sample usages of DBIx::Recordset.

DBIx::XMLServer is a Perl module to serve data as XML in response to HTTP requests.

DBIx::Class::FormTools is a utility module for building forms with multiple related DBIx::Class objects.

DBIx::SQLCrosstab Perl module creates a server-side cross tabulation from a database.
DBIx::Recordset 0.26 Review:
Author name* :  
Author Email* :  
Comment* :  
Security code* :  
     
   
My Software
You have not saved any software. Click "Save" next to each software to save it to your software basket
Related Information
Sponsored Links
TOP POPULAR DOWNLOAD