item2
Next»

contents

 

Introduction - 1

Background - 2

Deployment - 3

Starkits - 4

Tclkit - 5

Advanced topics - 6

Repositories - 7

Server apps - 8

Who uses this - 9

Examples - 10

Conclusion - 11

 

Acknowledgements

References

6.2 - Database management using Metakit

 

As mentioned, Tclkit also includes Metakit - an embedded high-performance database package. As well as being used to hold the Starkit VFS, Metakit can be used by developers in their applications. It fills the gap between flat-file, relational, object-oriented, and tree-structured databases - supporting relational joins, serialisation, nested structures, and instant schema evolution.

Metakit is accessed from Tcl using one of two packages:

  • the Mk4tcl package provides a more procedural interface to Metakit (details on using Mk4tcl are outside the scope of this paper, but Mark Roseman has produced an excellent tutorial on using Mk4tcl)
  • the oomk package provides a more object oriented interface to Metakit - it is an advanced interface that exposes the relational, hierarchical and set-wise operators of Metakit

To use the oomk package it will be necessary to download the oomk Starkit and include its contents in your own Starkit.

For more on Metakit see the Metakit home page at.

see also

Starkit Home Page

Tclkit Home Page

Metakit Home Page

SDX Utility

Wikit Home Page

Tclers' Wiki

Author's Website

Updated paper, by Steve Landers, as presented at Tcl/Tk 2002 conference - see also original PDF.

Papers & Presentations