[fpc-pascal] Looking for a Firebird book?
Graeme Geldenhuys
graemeg.lists at gmail.com
Wed Apr 9 22:41:23 CEST 2008
On 09/04/2008, Bee <bisma at brawijaya.ac.id> wrote:
>
> I used to think that way too. But, based on my personal experience, in
> certain conditions and requirements, implementing logic in database is
> inevitable. That's why many databases support server side logic though it's
> implemented in various ways (UDF, SP, SF, etc).
>
> But I also agree that we shouldn't use this mechanism at all time. Each
> decision and choice has its own consequences. ;)
The reason we stopped using stored procs..... The speads business
rules across layers.... Business rules do no belong in the storage
layer - the same reason business logic does not belong in Forms (gui
layer). If they are mixed like that, you cannot write unit tests for
them and makes it very hard to debug business rules!
But as I said in a earlier post, that's a whole other discussion, and
I have no interest in starting a flame war. :)
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-pascal
mailing list