aware controls.
You must keep in mind that DB aware controls were a breakthrough way
back when the delphi's and the visual basic's were all trying to show
off how little someone has to code in order to get an application
running. Back in the days the word RAD (Rapid Application Development)
was all the rave.
Another thing was that at that time paradox, access, dbase was all the
rave; not much of client server systems if you ask me; and db aware
controls worked quite well for such applications.
Nowadays RAD doesn't really mean a thing; if you are going to program,
you might as well go all the way. I remember back in the days of turbo
pascal for windows where you had to program *all* the code including the
winmain() function - message loops; then build dialogs using a resource
editor link the resource into the exe file and load and display; then
use window messages to change the controls "properties" - man!
As much has delphi has tried to make our lives easier; never forget that
borland wants to make money in the end; and because of that some of its
technology (CORBA - MIDAS) were created just because others were doing
it and not necessarily well thought of.
Back to DB aware; they get the job done; but when doing a 2 tier
application with lots of users; id suggest you go the other way and
write that little bit extra code. You can check the data before you
post, you know exactly what's going in (some db aware display something
different from what they post), and really - a programmers guide i read
said "An application should not give the user an idea that he or she is
accessing a database" - so the next previous edit post first last
buttons shouldnt be common place in an application of today.
Its also quite rear to find a form that *directly* maps into a table;
usually you have things like name address class age, where class is a
foreign key - and a post here would more effeciently be done by a stored
procedure that makes sure the classid etc exists to maintain database
integrity... score -1 for db components
another thing - i never access tables directly be it a post, edit,
select - all stored procedures. makes use of the database (they claim
they have some intelligence dont they?) my delphi apps are more of *shells*
quite a mouthful!
j
constantijnw wrote:
> Hi,
>
> What are compelling reasons not to use db-aware controls?
>
> Constantijn
>
>
> -----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe: [EMAIL PROTECTED]
> Yahoo! Groups Links
>
>
>
>
>
>
>
-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
SPONSORED LINKS
| C programming language | Computer programming languages | Java programming language |
| The c programming language | C programming language | Concept of programming language |
YAHOO! GROUPS LINKS
- Visit your group "delphi-en" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

