Dot All 2022

Using Entries and Relationships as a content builder system

Using Matrix for content builders is a very common pattern but experience has found that it lends to content bloat and can become quickly unwieldy with extensive schemas containing numerous blocks. This content modeling approach can also result in decreased entry save performance and increased page processing load times. An alternative to this approach is to structure your content blocks/​components as Entries in their own structure and feed them to page entries using relationship fields. This allows a content editor to reuse content blocks in various entries in the site while also allowing performance and content organization improvements. Craft 4 improvements in entry relationship fields, Collections, and the slideout editing menu also enhances and improves this content modeling approach.

Prev
Mind the Gap - What's left behind when we build for the cutting edge?
Dot All 2022
Next
Accessibility takeaways from the W3C website redesign