Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions design-patterns/active-record.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ Related topics suggested by [Krzysztof Grzybek](https://github.com/krzysztof-grz
- How hard is to test code that uses Active Record? How is domain model tied or independent from data layer?
- What's the relation between objects implementing Active Record and the Single Responsibility Principle?
- How easy is to hit the database multiple times (e.g. in foreach loop) because of the leaking abstraction?


## Resources

- [Active Record on Wikipedia](https://en.wikipedia.org/wiki/Active_record_pattern)
- [Active Record on Martin Fowler's website](https://martinfowler.com/eaaCatalog/activeRecord.html)