wftk core: task index adaptor
[ back to the core ] [ discussion ]
A task index adaptor is responsible for interfacing with a database or other indexing system in order to
provide indexing capabilities for active processes, tasks and requests. Usually this will be a relational database, but it
could well be anything at all, I suppose. I'm sure I'll find creative ways of using it. Eventually
we might also want to do some kind of user or group cross-indexing in order to find particular users'
These are the functions exposed by a task index adaptor (it's a long list; I don't want to take the
time right now -- read the code instead):
||Initialize adaptor instance|
||Clean up instance before shutting down|
||Return XML describing the adaptor|
- TASKINDEX_stdout: prints notifications to stdout.
- TASKINDEX_odbc: interfaces to an ODBC datasource (Windows-specific).
- TODO: TASKINDEX_postgres: interfaces to a PostgreSQL database.
- TODO: TASKINDEX_mysql: interfaces to a MySQL database.
This code and documentation are released under the terms of the GNU license. They are
additionally copyright (c) 2000, Vivtek. All rights reserved except those explicitly
granted under the terms of the GNU license. This presentation was prepared with
LPML. Try literate programming.
You'll like it.