Tag: orm
Browse 6 practical software engineering resources tagged with "orm". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving orm. Each resource is written for engineers who ship real systems, with copy-paste examples and practical trade-offs.
Object-Relational Mapping
ORMs bridge object-oriented code and relational databases. They reduce boilerplate but introduce abstraction costs and performance trade-offs.
The resources below cover SQLAlchemy, Hibernate, Prisma, TypeORM, and Entity Framework. Each guide explains how to use ORMs effectively while avoiding common pitfalls.
Every resource includes clear explanations, copy-paste code, and practical warnings. Use them to make informed decisions, avoid production pitfalls, and speed up your delivery. If you are just getting started, read the beginner-friendly articles first; if you are experienced, jump straight to the advanced patterns and architecture guides. New resources are added regularly, so bookmark this page and check back for the latest patterns.
Active Record Pattern
Wrap a database table or view in a class where an instance is tied to a single row, and the class...
Composite Entity Pattern
Map a coarse-grained entity to multiple database tables by composing dependent objects, reducing...
Data Mapper Pattern
Separate in-memory domain objects from the database by delegating persistence to a dedicated mapper...
Identity Map Pattern
Ensure each object is loaded only once per transaction by caching instances by their primary key,...
Unit of Work Pattern
Track changes to in-memory objects during a business transaction and commit all updates atomically...