Modularization

Bill Gribble grib@linuxdevel.com
Tue, 12 Jun 2001 10:53:38 -0500


On Tue, Jun 12, 2001 at 11:50:48PM +1000, Robert Graham Merkel wrote:
> 1)	Are there self-contained parts of gnucash that we
> could turn in to libraries, enabling their easy use in 
> projects that don't contain any other parts of the GnuCash
> codebase? 

I'm sure that there are, though I think it's important not to fall
into the trap of building tools without audiences.  If we have
well-defined modules with good interfaces, people who need them for
unrelated projects can take what they need pretty easily; there are
few parts of gnucash that are really appropriate to be totally
standalone libraries in their own "project". 

> 2)	One of the difficulties of using guile as an
> extension language for GnuCash is that the GUI is implemented
> in C.  So, if you want to get information from the user
> for your funky scheme script, you have to code up some
> C and g-wrap it.  Is this always going to be the case?

I hope not.  I have experimented with guile-gnome for another project
and found it to be breathtakingly better for GUI development than the
C gtk.  One word sums it up: CLOSURES.  It works great with libglade.
I don't know how it will integrate with a C-centric GTK event loop,
but I suspect it won't be too nasty.

b.g.