Subject | Re: [Firebird-Architect] GPRE |
---|---|
Author | Peter Faulks |
Post date | 2010-02-09T11:25:52Z |
I prefer it.
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.
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.
> I'd first ask you to start why you need embedded SQL.
>
> Is it for development purposes (SQL integrated with the application
> versus SQL in strings, files or dynamically generated) or for
> performance purposes (precompiled versus runtime compiled SQL)?
>
> Adriano