snusnu / ramom

relational algebra meets object mapping
MIT License
6 stars 0 forks source link

Compile relations into a custom module class with collected metadata #21

Closed snusnu closed 9 years ago

snusnu commented 9 years ago

This will allow to define an arbitrary #initialize method in the (custom) class to be used as the generated schema's superclass. Furthermore, since the schema metadata will be encapsulated inside a module instance, this opens up interesting possibilities like including only parts of the registered relations into (various) schema classes, providing more isolation and separation of concerns. This would be somewhat akin to alf's concept of viewpoints.

snusnu commented 9 years ago

Compiling into a custom module class doesn't work and won't get us anywhere. Closing ...