[cad-linux] Re: database access methods

> The following was supposedly scribed by
> Roland Krause
> on Thursday 15 May 2003 11:52 am:

>Eric,
>I believe access library and solid modelling kernel should be reversed.
>
>The model should imo be
>
>Parametric Solid Modelling Kernel
>  implements access to:          --> Database
>  provides an interface for:     --> GUI
>                                 --> "Spreadcheat"
>                                 --> "PHBs' cellphone"
>Providing the interface could be by means of C++ API, C-API, DCOP, COM,
>Corba, .not... etc.

I was trying to illustrate that the database access and format are handled by 
the library.  Should an application need graphics or high-level geometry 
data, it would utilize the kernel which utilized the library to access the 
database.  An application could also use the kernel for accessing some 
entities and the library for accessing the database.

I'm not sure why you would reverse the positioning of the kernel and the 
library.  The kernel would build against the access library and a 
project-management (non-geometry) app would build against the access library.

The idea is that the library creates a standard method of read-write access to 
the database.  Therefore, to make the kernel standards-compliant, you simply 
use this library for the database access.  To make any other app standards 
compliant, simply use the library for database access.

Sure, the kernel may be providing the interface for the cell-phone geometry 
viewer, but I don't think it needs to provide that for the spreadsheet.

--Eric

Other related posts: