Adobe Experience Manager's Content Fragments and Experience Fragments may seem similar on the surface, but each play key roles in different use cases. Learn how Content Fragments and Experience Fragments are similar, different, and when and how to use each.

Content Fragments and Experience Fragments comparison

  Content Fragments (CF) Experience Fragments (XF)
Definition
  • A Content Fragment (CF) is design agnostic content.
  • Content Fragment can be structured or unstructured editorial content, or a combination of both.
  • An Experience Fragment (XF) is a composite of one or more components including content and layout.

 

Core Tenants
  • Text-based content, often long-form.
  • The data is the canonical content; CF metadata, mixed-media and associated assets are not sufficient to logically represent the the CF.
  • Requires the channel to provide style, layout and design.
  • Content-first, channel-second world view.
  • Defines design and layout of content.
  • May contain content of its own or source from CF's, assets, or elsewhere.
  • Can be used "as is" in channels.
  • Composed of one or more AEM components, to create a cohesive experience.
  • Content and channel considerations equally important.
Technical Details
  • Implemented as a dam:Asset.
  • Implemented as a cq:Page.
Variations
  • The Master variation acts as the canonical variation.
  • Variations are use-case specific, which may or may not align with channels.
  • Variations are channel or context specfic.
Re-use
  • Content Fragments can be used in XF via CF components.
  • Sync, Diff and Summarization tooling optimizes CF variation creation and maintenance.
  • Supports translation/localization by AEM.
  • Intended to be re-used; "Single use XF" is an oxymoron. 
  • XF-based Live Copy optimizes variation creation and maintenance.
  • Supports translation/localization by AEM.
Delivery
  • The Core Content Fragment Component renders CFs on AEM.
  • AEM Content Services can serialize Content Fragments to JSON for delivery.
  • Renders on AEM-own channels via OOTB XF component.
  • OOTB support of publication to Facebook and Pintrest.

Content and Experience Fragments working together

Content and Experience Fragments have different use cases as outlined above, and thus, they work together to great effect to optimize web content managent and promote re-use across AEM pages and beyond. The diagram below illustrated how Content Fragments, Experience Fragments and AEM pages all work in concert to deliver maintainable and compelling experiences to users.

Content Fragments vs Experience Fragments
Click to download

Supporting materials

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy