Lukas Renggli a écrit :
your approach is certainly very interesting. Congratulations, you are
the first one to use Magritte together with a relational database!
I was thinking about similar things, especially using Magritte (maybe
together with ROE) to do relational object mapping. Having a generic
framework like this would be very cool.
Yes, we need to work on something like this.
Basically Magritte descriptions can be directly mapped to a
You are using the MAAssociationDescription to do the mapping from the
db-id to the object? I think a database-layer should be as
transparent as possible and not require the programmer to think about
ids and primary-keys, etc. But yeah, this is not an easy problem ;-)
And I work with what I have because I have no time to improve my code.
I am interested to see a demo of your code!
I'm sure it is not very interesting currently and I'm far from proud of
my source code :-( But you can already download from SqueakSource :
The project is called 'Gestion Parc Immobilier' and can be found with
the search tool using '*Immobilier*'. It is currently in french but will
be changed after if you want to do something with it.