Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Martin Fowler's Patterns of Enterprise Application Architecture has a section called "Data Source Architectural Patterns" with some data access patterns. It doesn't explicitly call out "ORMs" but they tend to combine multiple patterns. It also has a section on "Query Objects" which cover some of the method -> SQL magic ORMs do. It also lists pros and cons of these patterns

As with many things, ORMs come with pros and cons. Imo they can be especially productive for simple CRUD applications and prototyping but may quickly increase complexity with object or data models that use more complex query patterns.

https://martinfowler.com/eaaCatalog/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: