With Content Fragments and the GraphQL API you can use Adobe Experience Manager (AEM) as a Cloud Service as a Headless Content Management System (CMS).
This is achieved using Content Fragments, together with the AEM GraphQL API (a customized implementation, based on standard GraphQL), to headlessly deliver structured content for use in your applications. The ability to customize a single API query allows you to retrieve and deliver the specific content that you want/need to render (as the response to the single API query).
O GraphQL é usado atualmente em dois cenários (separados) no Adobe Experience Manager (AEM) as a Cloud Service:
A Headless Content Management System (CMS) is:
In terms of authoring Content Fragments in AEM this means that:
You can use Content Fragments to author content that is not primarily intended to be directly published (1:1) on formatted pages.
The content of your Content Fragments will be structured in a predetermined manner - according to the Content Fragment Models. This simplifies access for your applications, which will further process your content.
O GraphQL é:
"…um idioma de consulta para APIs e um tempo de execução para realizar essas consultas com seus dados existentes.".
For Adobe Experience as a Cloud Experience, a customized implementation of the standard GraphQL API has been developed. 🔗
Fragmentos de conteúdo:
Contain structured content.
Provide the data types and fields required for GraphQL. They ensure that your application only requests what is possible, and receives what is expected.
Is of particular interest in conjunction with GraphQL.
Is a specific data type that can be used when defining a Content Fragment Model.
References another fragment, dependent on a specific Content Fragment Model.
Allows you to retrieve structured data.
Procurando um tutorial prático? Veja o tutorial completo de Introdução ao AEM Headless e GraphQL que ilustra como criar e expor conteúdo usando as APIs GraphQL do AEM e consumi-lo por meio de um aplicativo externo, em um cenário de CMS headless.