Attention: The Usenet Article Lookup site has been updated.
The code for this site has been ported from Perl to PHP, so you could say, it is in beta mode. Please contact me if find any problems, or have any suggestions. -- Howard
Deutsch   English   Fran├žais   Italiano  
<pgpmoose.200401201021.15293@despot.non.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!cyclone-sf.pbi.net!216.218.192.242!news.he.net!news-hog.berkeley.edu!ucberkeley!agate.berkeley.edu!agate!not-for-mail
From: "Stefan Vogel" <stefan.vogel@avinci.de>
Newsgroups: comp.lang.tcl.announce
Subject: ANNOUNCE: Tgdbm (Version 0.5)
Followup-To: comp.lang.tcl
Date: Tue, 20 Jan 2004 18:21:50 +0000 (UTC)
Organization: -
Lines: 52
Approved: tcl-announce@mitchell.org
Message-ID: <pgpmoose.200401201021.15293@despot.non.net>
Reply-To: <stefan.vogel@avinci.de>
NNTP-Posting-Host: alumni.eecs.berkeley.edu
X-Trace: agate.berkeley.edu 1074622910 20256 128.32.47.240 (20 Jan 2004 18:21:50 GMT)
X-Complaints-To: usenet@agate.berkeley.edu
NNTP-Posting-Date: Tue, 20 Jan 2004 18:21:50 +0000 (UTC)
X-Original-Priority: 3 (Normal)
X-Original-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-OriginalArrivalTime: 20 Jan 2004 14:51:34.0233 (UTC) FILETIME=[E5D76C90:01C3DF64]
X-Scan-Signature: 969d22792de484a908556a012cab1227
X-Processing-Note: Emailed submission
X-Auth: PGPMoose V1.1 PGP comp.lang.tcl.announce
	iQCVAwUAQA1xosVCYQpvzJ9ZAQEkowP/deXbD/qQ5u9RmTzl01tBB6rL3xsu8cxL
	0qG1Fk67cDqScezLh8w+vKAG0ufrcKEm/Fz7/dan0MqncItXUZPhaxsrS93AzS7n
	YBwJtOck638AieA08kLpriucIOZz6B47B7M3O7Ju6/0arYmicasHRuTi+ZVCyXCW
	qodUogPDKYI=
	=io4e
User-Agent: slrn/0.9.7.4 (Linux)

I hereby announce Tgdbm and Qgdbm (version 0.5).

    Tgdbm is a wrapper for  the GNU-version of dbm (gdbm) which stores
key/value-pairs in cross-platform-files by using extendible hashing.

    Qgdbm is  build on top of  Tgdbm and provides a  convenient way to
store and retrieve data in an tclish- SQL-like style. Qgdbm is written
in pure Tcl-Code and can be used to store small/medium amounts of data
in table-files.
Qgdbm provides  high-level commands for creating,  dropping tables and
users and for manipulating rows of data (e.g.: insert, delete, ...).

Changes from version 0.4:
    You can  now "attach" an  array-variable to the  gdbm-handle. This
allows persistant tcl-arrays. The Tcl-Array-Commands are used to store
or retrieve entries from a gdbm-file.

A simple example would be:
gdbm_open -writer -sync -array airports test.gdbm
set airports(PAR) Paris ;# will store or update the key/value to test.gdbm

# add/update some more data
array set airports {
  ADD "Addis Abeba"
  FFM "Frankfurt"
}

# print value (gdbm-file and array is synchronized)
puts "FFM: [airports fetch FFM] / $airports(FFM)"
unset airports          ;# this will close test.gdbm
                        ;# this could have be done with unset airportArray

The distribution contains  a simple gdbm-viewer (tests/demo.tcl) which
uses Dr.  Casa Nemethi's Tablelistwidget  (Thanks to Dr.  Casa Nemethi
for this cool widget).

The distribution (Tgdbm  and windows-port of gdbm 1.8.3)  can be found
at:
        http://www.vogel-nest.de/tcl/tgdbm

This was  a quick  release, so  don't hesitate to  contact me  for any
hints, bugs, improvement. 

--
Stefan Vogel
stefan dot vogel at avinci dot de

[[Send Tcl/Tk announcements to tcl-announce@mitchell.org
  Announcements archived at http://groups.yahoo.com/group/tcl_announce/
  Send administrivia to tcl-announce-request@mitchell.org
  Tcl/Tk at http://tcl.tk/ ]]