CVS update: gnucash/src/engine
Linas Vepstas
linas at linas.org
Wed Jun 11 22:52:05 CDT 2003
On Mon, Jun 09, 2003 at 03:14:26PM -0400, Derek Atkins was heard to remark:
> FYI, I'm planning to move the entity table out of the book and into
> the session...
Why? Gut reaction is that that would be wrong: the 'session' is
supposed to be an ephemeral thing, for hooking up the gnc-engine
to some particular data store.
In particular, I've tried to design things so that one book could
sit in several sessions, so that e.g. one could implement a copy
command, or mirroring. Also, I'd always envisioned that if there
was a networked gnucash, then it could work when disconnected,
and resync backup with the backend when the connection was
re-established (and meanwhile save to a temp file).
If you moved the entity table to session, then you'd loose all
of your data if a session is torn down .... as currently happens (??)
when you save to a different file than you used to save to ...
--linas
> > Modified Files:
> > gnc-book.h gnc-book-p.h
> > Log Message:
> > need to expose the entity table
--
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