Table of Contents
The framework is made up of two primary classes: the
DMS::Repository class and the
DMS::File class. The Repository
represents a single connection to the repository and manages concurrent access
to it. The File class provides the means to read from and
write to files in the repository. Just as there are two principle components to
DMS — the database and file system — so these classes kind of
represent those components. The Repository class shadows
the database and File class the file system.
Should you need more code for examples, the test suite (in
ruby/test/repo.rb) contains working code that uses every
part oxf the repository module. It is a good place to play around with actual
code and familiarize yourself with the API.