Boost logo

Boost :

Subject: Re: [boost] [contract] Contract Programming Library
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2010-01-07 08:20:36

Hi OvermindDL1

Are you sure you posted in the right thread?
There was also a database thread recently, and what you write "You still have to type in a lot of the SQL constructs..." sounds more database related than related to Design by Contract (TM).


-----Original Message-----
From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On Behalf Of OvermindDL1
Sent: Donnerstag, 7. Januar 2010 14:15
To: boost_at_[hidden]
Subject: Re: [boost] [contract] Contract Programming Library

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:
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
anything decent).
Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at