Next: , Previous: , Up: Relational Database   [Contents][Index]


6.1.5 Database Macros

(require 'within-database)

The object-oriented programming interface to SLIB relational databases has failed to support clear, understandable, and modular code-writing for database applications.

This seems to be a failure of the object-oriented paradigm where the type of an object is not manifest (or even traceable) in source code.

within-database, along with the ‘databases’ package, reorganizes high-level database functions toward a more declarative style. Using this package, one can tag database table and command declarations for emacs:

etags -lscheme -r'/ *(define-\(command\|table\) (\([^; \t]+\)/\2/' \
      source1.scm ...