Home β€Ί Content Modelling & Delivery β€Ί Pages vs fragments β€” what to build

Pages vs fragments β€” what to build

Purpose: Decide between a page, a content fragment and an experience fragment for any new content requirement.

Who this page is for

AudienceWhy it matters to you
All engineersThe most common modelling fork in the road

The decision table

CriterionPageContent FragmentExperience Fragment
Has a URL of its ownYesNo (data only)Not primarily
Authors compose layoutYesNoYes (once, reused)
Channel-neutralNo (web-first)YesPartially
Structured/typed fieldsVia dialogsYes β€” schema (CF model)No
Reused across pagesVia XF/embedVia referenceYes β€” that's the point
Typical PHI exampleThe gold plan pagePlan data (premium, benefits)"Why PHI" promo band

Litmus tests

Combining them (the usual answer)

Plan PAGE (/content/phi/plans/gold-hospital)
 β”œβ”€β”€ hero component            ← page-local authored content
 β”œβ”€β”€ plan-facts component ────▢ references CF /content/dam/phi/fragments/gold-hospital-data
 β”œβ”€β”€ "Why PHI" XF ───────────▢ references XF /content/experience-fragments/phi/why-phi
 └── disclaimer component ───▢ references CF /content/dam/phi/fragments/hospital-disclaimer

The page is thin composition; facts and reusable blocks live once. This is the shape most mature AEM sites converge on.

Quick navigation