Books, sessions [was: Re: UI independance]

Linas Vepstas linas at linas.org
Sat Apr 12 19:36:46 CDT 2003


On Tue, Apr 08, 2003 at 09:32:40PM -0500, Matthew Vanecek was heard to remark:
> On Tue, 2003-04-08 at 20:42, Derek Atkins wrote:
> >  how does that relate to a GNCSession?

A 'session' is supposed to have the same meaning that it does in 
communications stacks: It holds the info about how an application 
(gnucash) is connecting to a data store (file/sql-db).  A session 
is created when the app first connects to the data store, and the 
session is deleted when the user 'hangs up the phone'.   A session 
does not having any direct accounting meaning on its own; it's ephemeral
to the, umm, session. 

At this point, the core engine does not have any concept of 'a collection
of books', I don't know if it should or not, nor what that concept should
be.

--linas

BTW, search gooogle for the words 'ontology' and 'accounting'.  I beleive
you will get hits about concepts like 'book' and 'transaction', which have
common, well understood accounting meanings, but surprisingly little formal
agreeement about what these things really are in a deep sense.


-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas at linas.org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933


More information about the gnucash-devel mailing list