Genezzo::Contrib::Clustered::ModPerlWrap is a Perl module with Mod Perl wrappers for Genezzo.
SYNOPSIS
StartPage();
Connect("/dev/raw");
ProcessStmt("insert into t1 values (10, 'test10')");
ProcessStmt("insert into t1 values (11, 'test11')");
Commit();
FinishPage();
or
StartPage();
Connect("/dev/raw");
ProcessStmt("select * from t1");
FinishPage();
The Apache web server is used to provide multi-user XML over HTTP access to the Clustered Genezzo database. A page containing multiple SQL statements acts much like a stored procedure. The web page parameters are used like stored procedure parameters, and the processing on the page forms the transaction boundary.
Note control flow on page does not continue after errors or FinishPage().
See genezzo_form.pl for examples.
May use "PerlModule ModPerlWrap" in apache2.conf. This preloads this module and the rest of the Genezzo modules so they are (initially) shared between all apache processes, saving memory.
Product's homepage
Requirements:
· Perl