Subject | Re: [Firebird-Architect] GPRE |
---|---|
Author | Adriano dos Santos Fernandes |
Post date | 2010-02-09T11:31:56Z |
Em 9/2/2010 09:25, Peter Faulks escreveu:
application that does that.
You send statements to the server (that may be embedded) to test them,
but generate the sources with SQL code, instead of BLR.
This is how SQLJ works, for example.
Adriano
> I prefer it.So you can easily build an simple (than GPRE way) preprocessor
>
> Code is easy to read, and the apps I make are small and fast.
>
> I use C++ Builder for GUI stuff. For every form that interacts with the
> db, I simply create another unit (so the class for the form is split
> into two units) One has all the ide generated code, and functions that
> have embedded sql are in a separate file.
>
> eg:
>
> Unit1.cpp / Unit1.h / Unit1.dfm
> Unit1_SQL.epp -> Unit1_SQL.cpp
>
>
> Too easy.
application that does that.
You send statements to the server (that may be embedded) to test them,
but generate the sources with SQL code, instead of BLR.
This is how SQLJ works, for example.
Adriano