Re: GRAND MASTER PLAN

[email protected] (Linas Vepstas)
Newsgroups gmane.comp.gnome.apps.gnucash.devel,gmane.comp.gnome.db,gmane.comp.gnome.office.general
Message-ID <[email protected]>
On Sat, Mar 13, 2004 at 01:28:58PM +1300, Dru was heard to remark:
> I know what you mean. i stopped trying to populate c style structures 
> from db's, sockets etc a while ago.  I didn't like having to write new c 
> structures for every table, and a couple supporting functions for 
> mapping values in structure to values in db. 

Yes, that is true; simple apps like bugzilla don't do any processing, 
they simply map db contents to web pages and back.  These kinds of 
apps can be specified in a purely declarative fashion, and someday 
we may have a new declarative programming language to do this.

(That's what I tried to do with DWI/DUI: at its core, it really
is a new declarative programming language. Unfortunately, I embedded 
it in XML.  Although XML is superficially declarative, its just plain 
not human-readable for the most part).

But some apps need to do proceedural things, and for these, one
needs to have access to a proceedural language, such as C or C++. 
(or perl or python or java or mono/c#) And for that, you want to 
have a DB layer that will map SQL tables to objects.  (and be 
multi-user, distributed, yadda yadda).

--linas

-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <[email protected]>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.