minimalist stored procedure mapper based on LedgerSMB's DBObject
PGObject::Simple is a minimalist framework for mapping stored procedures in PostgreSQL to object methods. The framework is truly minimalist and hence the "Simple" designation (in fact the module contains less than 50 lines of code, and the code is dwarfed by both POD and test cases). It is intended to be of use for developers wishing for such a minimalist framework and those who may want to have a reference for how to build such a mapping framework themselves.
The framework lends itself to a few specific antipatterns. Objects can become ill-formed, overly nebulous, or the like. It is thus very important when using this for actual development to ensure that acceptable data structures are well documented and that these are adhered to.
This module is based on a simple idea, namely that stored procedures can tell application classes how to call them. See the POD for specific information and guidelines.
Debian: Robert James Clay <email@example.com>
16 October 2014
Leaders and contributors
Resources and communication
|Debian (Ref) (R)||https://tracker.debian.org/pkg/libpgobject-simple-perl|
This entry (in part or in whole) was last reviewed on 11 April 2018.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.