NAME
POE::Component::LaDBI:Engine - Core DBI request servicing class.
SYNOPSIS
use POE::Component::LaDBI::Engine;
use POE::Component::LaDBI::Request;
use POE::Component::LaDBI::Response;
$eng = POE::Component::LaDBI::Engine->new();
$resp = $eng->request( $req );
DESCRIPTION
This module is meant a an abstraction layer to the DBI API.
POE::Component::LaDBI::Engine-new()>-
Instantiates a
POE::Component::LaDBI::Engineobject.This function takes no arguments.
It must be called as a method
POE::Component::LaDBI::Engine->new().The instatiated object maintains a cache of all DBI database and statement handle objects which are currently active.
Each
POE::Component::LaDBI::Engineobject is responsible for allocating database and statement handle ids. These IDs are cookies that represent DBI database and statement handle objects it has in the it's cache. ' $eng->request()-
This function take only one arguemnt. It is a
POE::Component::LaDBI::Requestobject. For most requests, thePOE::Component::LaDBI::Requestrequires a valid handle id.This funtion dispatches the command represented by the arguemnt.
The return value is always a
POE::Component::LaDBI::Responseobject. For most responses, the returnedPOE::Component::LaDBI::Responseobject contains a valid handle id.
EXPORT
None by default.
AUTHOR
Sean Egan, <seanegan:bigfoot_com>
SEE ALSO
perl, DBI, POE::Component::LaDBI::Request, POE::Component::LaDBI::Response.