Skip to content

Docs: explain how the persistence patterns relate - #35

Merged
byjg merged 1 commit into
masterfrom
7.0
Oct 24, 2026
Merged

byjg merged 1 commit into
masterfrom
7.0

Conversation

@byjg

@byjg byjg commented Oct 24, 2026

Copy link
Copy Markdown
Owner
  • New docs/patterns.md (Choosing a Pattern): the three patterns are layers, not alternatives; three combinations with examples and a decision table.
  • README, architecture-layers, active-record and getting-started-model link to it instead of repeating the comparison; Mapper vs attributes is explained by where the mapping lives, not by PHP version.
  • Sidebar positions renumbered 1–25 (there were duplicates).

…late

New Choosing a Pattern page: the Mapper and the Repository are always there, the
ActiveRecord trait is a facade over them, and the choice is where the mapping and the
persistence calls live. The duplicated pattern text in architecture-layers and
active-record now links to it, and the sidebar positions are unique.
@byjg
byjg merged commit 34e3c8a into master Oct 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant