
xDash::Archive::Pg - Base class for Archive

package Archive;
use base xDash::Archive::Pg;
# Set up your own database access parameters
sub SetParameters { shift->SUPER::SetDatabaseConnection(
name => 'xdash', user => '', password => '' ) }

The module is developed in the object orientated way. It can be used as the base class for archiving based on PostgreSQL as persistence. The base class has to implement a fixed set of methods, called by the derived class Archive. Archive is hardcoded in the xDash::Archivist (driver pattern). For more details, how to set up all the needed components, see the introduction to the deployment: Planning and deploying xDash in a sandbox at http://xdash.jabberstudio.org/deployment/perl. By deriving from the class, as the way of passing arguments, you have to implement explicit methods listed below . The synopsis above is an example of the client script generated by the xdscr.
Passes the self explanatory parameters to the DBI module, required by xDash::Archivist.

Any suggestions for improvement are welcomed!
If a bug is detected or nonconforming behavior, please send an error report to <jwach@cpan.org>.

Copyright 2005 Jerzy Wachowiak <jwach@cpan.org>
This library is free software; you can redistribute it and/or modify it under the terms of the Apache 2.0 license attached to the module.
