Also, I have started to get used to looking at the
unit tests to figure out
what things are supposed to do, then I noticed that there are NO tests for
MAVisitor and subclasses. Why is that? (Or am I missing something?)
There are tests, but the tests do not directly work with the visitors
but indirectly through the descriptions. For example the tests
MAElementDescriptionTest>>#testToString... and #testFromString... test
MAStringReader and MAStringWriter.
I cannot comment on your approach, because I don't exactly know what
you want to do.
Additionally to what Keith pointed out, there is the package
Magritte-Roe in <http://source.lukas-renggli.ch/magritteaddons>. It
depends on ROE and the PostgreSQL drivers (both from SqueakSource) and
provides a simple object mapping mechanism that I used in a few
commercial projects. Usually I prefer to directly persist objects
(instead of relations) though.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch