body { margin:0px; background-color:#fff } img { margin:0px; border-style:none } button { margin:0px; border-style:none; padding:0px; background-color:transparent; vertical-align:top } p:first-child { margin-top:0px } table { empty-cells:hide } .f-sp { font-size:1px; visibility:hidden } .f-lp { margin-bottom:0px } .f-x1 { } .f-x2 { } .f-x3 { } a:visited { color:#8b0000; text-decoration:underline } .capsub { color:#808080; font-weight:bold; text-transform:uppercase; letter-spacing:2.4px } .fixed { color:#000; font-family:monospace } .bold { color:#00f; font-weight:bold } .style17 { color:#000 } .style9 { margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom:0.1px } .rightaligned { margin-left:0px; margin-right:0px; text-align:right; margin-top:0px; margin-bottom:0.1px } .footer { color:#808080; font-size:90% } .FWExtra { } .FWExtra a:link { text-decoration: none; } .FWExtra a:active { text-decoration: none; } .FWExtra a:visited { text-decoration: none; } .FWExtra a:hover { text-decoration: underline; } -->
Equi4 Softwaremetakit

top pages

 

Metakit
Tclkit
Starkit
CatFish

 

Soapbox

 

Blog
Musings

Tclers' Wiki
The SAX

Company

 

About
Services
Contact info
Support

 

Site map

documentation

The documentation of Metakit is somewhat lacking. The excuse used to be that MK was a moving target, but even now that the API has been fixed for quite some time, the situation has not improved much, unfortunately. The amount of documentation also depends on which language binding you use: C++, Python, or Tcl.

• C++ •

The documentation for the C++ API is generated by Doxygen. There are also some older docs and an intro from the pre-2.3 days. There is C++ sample code in the demo/ and examples/ areas of the source code distribution.

Riccardo Cohen has written a small tutorial with some nice code examples, see his Metakit C++ tutorial on the web.

Further information can be gleaned from the 140+ small C++ snippets which form the regression test suite in the tests/ directory.

• Python •

The Mk4py page describes the use of MK from Python. There is Python sample code in the examples/ area of the source code distribution.

An annotated, newer version of the above has been created by Brian Kelley, with several examples, explaining new features such as hashes and ordered views.
Update Nov 2005: the above link is broken, but Brian has made a copy of this info available, which is now here.

• Tcl •

The Mk4tcl page describes the procedural interface from Tcl to MK. Mark Roseman has written a tutorial for Mk4tcl, which is an excellent way to get started in Tcl. There is Tcl sample code in the examples/ area of the source code distribution.

There is a newer Oomk binding (Object Oriented MK) which exposes more of MK's C++ core to Tcl, i.e. like the Python binding. It is based on Mk4too (a relatively unknown part of Metakit for Tcl which is best left alone now that Oomk exists).

The "Starkits" chapter in the 4th edition of Practical Programming in Tcl and Tk by Brent Welch includes documentation about the Mk4tcl binding.

Carsten Zerbst wrote a German article in the July 2003 edition of Linux Magazin.

• OTHER •

MK's View model - two graphic-rich pages which aim to get a high-level "mental model" across of how MK deals with views, subviews, and column-wise storage.

File format - Andreas Kupries has documented the Metakit file format. It supercedes older documentation of the pre-2.3/2.4 file format.

Memory mapped files - here is a bit of background info on MMF's used by Metakit (on platforms which support it)

Mapping views, i.e. hashed and blocked views, are described in more detail on a separate page. Design details about blocked views can be found here.

Commit modes - information about the "commit extend" and "commit aside" modes introduced in release 2.3 can be found on this page, copied from the Metakit wiki.

metakit index

Intro / News

Overview

Documentation

Licensing

Download

Mailing lists

To-do list

Acknowledgements

Quotes

Links