You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.2 KiB

From: pchristo at (Pavlos Christoforou)
Date: Tue, 13 Apr 1999 14:13:14 -0400
Subject: simple indexed file module?
In-Reply-To: <7evg0s$spu$>
References: <> <7evg0s$spu$>
Message-ID: <Pine.SOL.3.96.990413140918.24975D-100000@sparky>
X-UID: 392
On Tue, 13 Apr 1999 aaron_watters at wrote:
> In article <joe-120419991008353558 at>,
> Joe Strout <joe at> wrote:
> > For a CGI script I'm working on, I need to keep a couple of indexed
> > files. These will contain variable-length data (descriptions), which
> > may be changed fairly frequently. So I imagine that in addition to the
> > data file, there will be an index file that keeps track of the position
> > and length of each record. New or expanded records will be stuffed in
> > wherever there is free space, or at the end if no sufficient free chunk
> > is available.
I would suggest you use BoboPOS, the Object database used in Zope and
available as a seperate component. It supports transactions, multiple
versions and undo plus a lot of other cool things. It is very easy to use
and very stable.