Subject: Re: [boost] [contract] Contract Programming Library
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-01-07 08:15:08
On Thu, Jan 7, 2010 at 5:20 AM, Lorenzo Caminiti <lorcaminiti_at_[hidden]> wrote:
> On Tue, Jan 5, 2010 at 7:54 PM, OvermindDL1 <overminddl1_at_[hidden]> wrote:
>> For note, the Wt (C++ web toolkit) is making a Dbo sublibrary. Â No
>> fancy meta-programming techniques, but it runs well and is quite
>> lightweight. Â It has just been started, but it is already usable.
> OvermindDL1, can you please provide a link to Wt DbC source, examples,
> documentation, etc. I would like to take a close look at it.
To the source, it uses git: http://www.webtoolkit.eu/git/wt.git
For examples, there are two included in the source (pretty simple, but
the example page works well so far)
The documentation is pretty simple currently, mostly just doxygen in
the main doc area, but the tutorial demonstrates it best:
The first blog post about it is:
About the only place it uses templates is the query structure to bind
to a table class or something like an int if you ask for a count(*) or
something. You still have to type in a lot of the SQL constructs, but
all binding is done safely and it uses stored procedures a *lot*, and
everything requires transactions. I still think boost could make a
more db-backend agnostic version ala sqlalchemy, but they are trying
to go for it.
It is basically version 0.0.1 right now. It has some cool features,
and they are adding more things in the git trunk as time goes by.
The main problem I have, is like all of the Wt things, it is gpl2
(making it fine for web server stuff, which Wt is, but nothing for
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk