3 ms·
It's worth checking out the Red ORM, great progress is being made and it feels very Perl 6 native in terms of its semantics.
by snapdangle 7y ago
It's worth checking out the Red ORM, great progress is being made and it feels very Perl 6 native in terms of its semantics.
- Ovid 7y agoRed looks interesting. Though I don't like the mapping of tables to "model". In general, I find that a model should be a consumer of an ORM, not the ORM itself. Otherwise, you expose to much to the business layer and it's harder to refactor. For example, if you have a column on table A and you later need to move that to table B, a clean model can encapsulate that change. Hard to do when the ORM is being treated directly as the model.
- hirihoto 7y agoTry Xoos. Red also uses a meta model syntax for extra ugliness.