[plug] Database and C++

James Devenish devenish at guild.uwa.edu.au
Sun Jul 6 12:45:55 WST 2003


In message <200307061132.24220.mike at gilks1.com>
on Sun, Jul 06, 2003 at 11:32:24AM +0800, J Michael Gilks wrote:
> Classes to describe data seem to map very directly to database tables.

(Aside: it is not true of well-designed systems that there is
necessarily a direct correspondence between programme logic and
database tables.)

> My question is, would it be general practice to include functions to
> manipulate employee data in a database? or should there be a
> connection class which contains all the manipulation functions.

There is an huge amount of literature and code regarding this sort of
thing. There is an especially large number of Java projects concerned
with opinions on this matter. People have tried a large number of
variations on this theme. I should probably be more specific, but I
wouldn't know where to start :) (And many opinions depend on where
these "classes to describe data" fit into a system overall.)




More information about the plug mailing list