Path to this page:
Subject: CVS commit: pkgsrc/devel/qof
From: Thomas Klausner
Date: 2008-10-29 00:36:40
Message id: 20081028233640.1E250175D0@cvs.netbsd.org
Log Message:
Import qof-0.7.5 as devel/qof.
QOF, the Query Object Framework, provides a set of C Language
utilities for performing generic structured complex queries on a
set of data held by a set of C/C++ objects. This framework is unique
in that it does NOT require SQL or any database at all to perform
the query. Thus, it allows programmers to add query support to
their applications without having to hook into an SQL Database.
Typically, if you have an app, and you want to add the ability to
show a set of reports, you will need the ability to perform queries
in order to get the data you need to show a report. Of course, you
can always write a set of ad-hoc subroutines to return the data
that you need. But this kind of a programming style is not extensible:
just wait till you get a user who wants a slightly different report.
The idea behind QOF is to provide a generic framework so that any
query can be executed, including queries designed by the end-user.
Normally, this is possible only if you use a database that supports
SQL, and then only if you deeply embed the database into your
application. QOF provides simpler, more natural way to work with
objects.
Files: