Comment

Comment by bob1029

We do something almost like this, but we didn't try to invent any of the hard bits. We serialize our domain instances into JSON documents which also happen to contain the business rules as in-line SQL properties, and then project this JSON document into SQL databases as required for evaluating business logic.

Ephemeral, in-memory instances of SQLite can be incredibly powerful tools for building an extensible business logic engine.

parent bob1029 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton