The PCLT-DB package

[Tags: lgpl, library]

"PCLT" is an abbreviation for "Parametric Composable Localizable Templates" - in fact it should also hold Detalizable. Term "Detailizable content (message)" in this package has a following meaning: some content, representing which it is possible to regulate, in how much details it is represented.

Conceptually, this package is a powerful extension to the well known Show class, that (extension) is thought to be embeded in any Haskell program, which requires multilanguage support, and/or where messages should be detailizable.

For more information about PCLT, read in it's description in it's own Cabal file.

_________

By the base package (PCLT) the templates are provided to be stored statically in module declarations using Text.PCLT.HasStaticRawPCLTs.HasStaticRawPCLTs class instaniations.

The PCST-DB package adds a possibility to store templates in DB (under PostgreSQL v8.4. (not less)).

The following units are storable in DB:

For each catalog in DB there is stored a special flag "catalog data or config changed". The flag gets raised by an army of triggers, that watches every table, and is thought to get dropped by a program, which uses DB catalog. Drop the flag right before catalog update from DB.

Unfortunately, the current implementation of this flagging system constraints the number of agents that update their catalogs from DB by only one (because, when agent updates it's catalog, it drops the flag, and other agents don't know that flag was risen, so they can't know if version of catalog in their operative memory is older then in DB or not).

But this limitation removal is planned as a first ToDo in the next version of PCLT-DB.


Properties

Versions0.1, 0.1.1
Dependenciesbase (==4.*), bytestring, containers, convertible, HDBC, HDBC-postgresql, mtl, PCLT
LicenseLGPL
CopyrightCopyright (c) 2009 Andrejs Sisojevs
AuthorAndrejs Sisojevs <andrejs.sisojevs@nextmail.ru>
MaintainerAndrejs Sisojevs <andrejs.sisojevs@nextmail.ru>
Stabilityalpha
CategoryDatabase
Home pagehttp://github.com/Andrey-Sisoyev/PCLT-DB
Upload dateSat Dec 12 01:15:13 UTC 2009
Uploaded byAndreySisoyev
Downloads225 total (20 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees