qof-generator

Generates the C source code for Query Object Framework objects and provides a test environment linked against QOF to query objects, store in XML and export into SQL files. Create the fundamental object code from XML exported by any other QOF project.

Rather than simply providing new code, qof-generator can also have a role in maintaining the code. There are already a number of projects based on the QOF CLI and there is a portion of common code in all these programs. By bringing each program back to a central core of common files, it should be possible for qof-generator to also provide patches for existing programs derived from a qof-generator base.

This common code will not be brought into the QOF library. It isn't appropriate to bring so many front-end dependencies into the library. Equally it is inefficient to create a template that cannot keep pace with the generated code. The common code will be based on:

qofmain.c
qofmain.h
A single qof_cli context struct.
Wraps for each project to extend the base context struct. (see pilot-qof for how this works.)
The CLI code also benefits GUI projects (like the embedded projects to be based on QOF) by providing a usable command line behind the scenes. This can be very powerful in interprocess communication, providing real-time queries between applications from disparate or common data sources. Objects can also be shared between applications - allowing a single application to use the objects derived for smaller utilities. QOF could make it easier to synchronise between embedded systems and a host PC. Data freedom includes within particular machines as well as between platforms.

http://sourceforge.net/projects/qof-gen/

http://freshmeat.net/projects/qofgen/

http://qof-gen.cvs.sourceforge.net/qof-gen

http://qof-gen.sourceforge.net/php/qof-generator.php