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' tasks efficiently.

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):
0: init   Initialize adaptor instance
1: free   Clean up instance before shutting down
2: info   Return XML describing the adaptor


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.