I was studying the new feature of AEM, "Content Fragments", introduced in AEM 6.2 and further enhanced in 6.3, however I am not very clear about the actual use-cases of the Content Fragments and need more insight.
- The Content Fragments are suitable for long article pages or news pages, but I don't think it can be used for all types of authoring right?
- Suppose, we have Article Pages and News Pages in our website, both of which are created everyday, so authors can create those as Content Fragments instead of authoring those as pages? Is that right? And once the authors have created the content fragments, are we required to write some workflows/event listeners which automatically create pages for them?
- Also, as Content Fragments are only about content and not layout, so we need some component which will take its content and render it in the required layout. What happens when we want different layout for different content fragments for Article and News Pages? Also, in a dialog we can ask author to provide the summary text, description, author, date and article body, which is displayed on the page, however how will these different fields be written in a content fragment and how will component recognize which part is what?
I have some other questions as well, however, the above three would help in really understanding the actual use-case scenarios, for which this feature was created.
Regards, Gaurav