BerkeleyDBXML: Berkeley DB XML binding

[ bsd3, database, library ] [ Propose Tags ]

This package is a Haskell binding for Berkeley DB XML, which is a powerful, fully transactional, XML-based database written in C++ that uses XQuery as its query language. It is NOT an SQL database. It is not free for commercial use.

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 Berkeley DB or DB XML is not installed in the default location of /usr or usrlocal, you will need to specify the paths in this way:

cabal install BerkeleyDBXML \
   --extra-include-dirs=/usr/local/dbxml-2.5.16/include/ \
   --extra-include-dirs=/usr/local/dbxml-2.5.16/include/dbxml/ \
   --extra-lib-dirs=/usr/local/dbxml-2.5.16/lib/

See the examples/ directory for examples.

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://code.haskell.org/BerkeleyDBXML/

Changes: 0.7: Compatible (only) with dbxml 2.5.


[Skip to Readme]

Modules

  • Database
    • Berkeley
      • Database.Berkeley.DbXml

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.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 log ChangeLog
Dependencies base (>=4 && <5), BerkeleyDB (>=0.8.4), bytestring (>=0.9) [details]
License BSD-3-Clause
Copyright (c) 2009 Stephen Blackheath, (c) 2010 typLAB
Author Stephen Blackheath, Erik Hesselink <erik@typlab.com>
Maintainer http://blacksapphire.com/antispam/, typLAB <code@typlab.com>
Category Database
Home page http://www.haskell.org/haskellwiki/BerkeleyDBXML
Uploaded by StephenBlackheath at 2011-09-06T20:51:27Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 10801 total (25 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-10-24 [all 18 reports]

Readme for BerkeleyDBXML-0.7.2

[back to package description]
Berkeley DB / Berkeley DB XML binding for Haskell
6 May 2011
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.  It is not free for
commercial use.  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.

To install, use the standard Cabal install procedure:

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:

cabal install BerkeleyDBXML \
    --extra-include-dirs=/usr/local/dbxml-2.5.16/include/ \
    --extra-include-dirs=/usr/local/dbxml-2.5.16/include/dbxml/ \
    --extra-lib-dirs=/usr/local/dbxml-2.5.16/lib/

See the examples/ directory for examples.