The BerkeleyDBXML package

[Tags: bsd3, library]

Berkeley DB XML is a powerful, fully transactional, XML-based database that uses XQuery as its query language. Berkeley DB XML is built on top of Berkeley DB. It is NOT an SQL database.

This package provides a 70% complete Haskell binding for Berkeley DB and Berkeley DB XML. It is also possible to compile for Berkeley DB only.

Berkeley DB XML home page: http://www.oracle.com/database/berkeley-db/xml/index.html

Haskell binding tutorial: http://www.haskell.org/haskellwiki/BerkeleyDBXML

DARCS repository: http://blacksapphire.com/BerkeleyDBXML/


[Skip to ReadMe]

Properties

Versions0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.6.1, 0.6.2, 0.7, 0.7.1, 0.7.2
Change logChangeLog
Dependenciesbase, bytestring (>=0.9) [details]
LicenseBSD3
Copyright(c) Stephen Blackheath
AuthorStephen Blackheath
Maintainerhttp://blacksapphire.com/antispam/
Stabilitybeta
CategoryDatabase
Home pagehttp://www.haskell.org/haskellwiki/BerkeleyDBXML
UploadedFri Dec 12 19:34:59 UTC 2008 by StephenBlackheath
DistributionsNixOS:0.7.2
Downloads2570 total (75 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed [all 2 reports]

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for BerkeleyDBXML-0.5

Berkeley DB / Berkeley DB XML binding for Haskell
Version 0.5  13 Dec 2008
by Stephen Blackheath

email me: http://blacksapphire.com/antispam/
darcs repository: http://blacksapphire.com/BerkeleyDBXML/
introduction/tutorial: http://haskell.org/haskellwiki/BerkeleyDBXML


Berkeley DB XML is a powerful, fully transactional, XML-based database that uses
XQuery as its query language.  It is NOT an SQL database.  You can download it here:

http://www.oracle.com/database/berkeley-db/xml/index.html

This package provides a Haskell binding for Berkeley DB XML.  It is a tolerable
subset of the API, and I hope to improve it over time.  I have stuck closely to
the C++ API, with some minor changes where a Haskell idiom seemed appropriate.
I hope that people will develop higher level wrappers for it.  I have had great
success with the "pickler" interfaces in the HXT library.  See the adventure
example in the examples/ directory.

The binding is only about 70% complete, but it should allow you to write a fairly
serious application.  If you would like a particular part of the API added,
please contact me.

If you just want Berkeley DB without Berkeley DB XML, you can do this by deleting
the lines in BerkeleyDBXML.cabal that pertain to Berkeley DB XML.  (The Berkeley DB
parts do not depend on the Berkeley DB XML parts.)  I would like to make this a
build option.

To install, use the standard Cabal install procedure:

sudo cabal install

or

runhaskell Setup.hs configure
runhaskell Setup.hs build
runhaskell Setup.hs haddock            (optional documentation in dist/doc)
sudo runhaskell Setup.hs install

If Berkeley DB or DB XML is not installed in the default location of /usr or
/usr/local, you will need to specify the paths in this way:

sudo cabal install \
    --extra-include-dirs=/usr/local/dbxml-2.4.16/include/ \
    --extra-include-dirs=/usr/local/dbxml-2.4.16/include/dbxml/ \
    --extra-lib-dirs=/usr/local/dbxml-2.4.16/lib/

See the examples/ directory for examples.