Discussion about this post

User's avatar
Neural Foundry's avatar

Really solid walkthrough of the shared domain model pattern. The squirrel approach where SQL stays as actual SQL files instead of getting abstracted away is refreshing, especially since it lets you use full-text search without fighting an ORM layer. One thing I've wrestled with in similar setups is deciding when the mapping functions from SQL types to domain types actually earn their keep versus when they're just ceremony. In my experienc the abstraction pays off once queries start returning partial or joined data rather than full table rows.

1 more comment...

No posts

Ready for more?