Showing posts with label authoring. Show all posts
Showing posts with label authoring. Show all posts

Friday, 8 September 2017

Experience Fragments Vs Content Fragment

Namastey & Welcome !

It's quite a common questions these days, What is the difference between Experience Fragments and Content Fragments ?

Its Simple !

A Fragment is useful because we can reuse them on multiple pages and
whenever required you can edit them from one single location.

To differentiate between CF and XF it's important to understand who is the target user.
Experience Fragment is mainly for authors
And Content Fragment is mainly for content writers.



Usually content writers ( e.g. news editors, magazine authors ) are more concerned of writing textual content and provide associated images.

They may worry about creating variations of content for different channel like mobile, print,tablet etc or different variation of content like teasers, summary etc.

Once the content is created, Authors may use the content on AEM Page as authors are more responsible for presenting content in appropriate layout

EXPERIENCE FRAGMENT

Lets take an example, You have contact information section on your AEM page which contains a few custom components like address, phone number and email details and a map view of address. This set of component is a meaningful experience in itself.

You can create this set of component as Experience fragment and then you can use this experience fragment on any number of the pages.

Please let me know if you have any other question.

Dhanywad !

Sunday, 21 May 2017

AEM Static Template Vs Editable Template

Namastey, 

Templates are basis of AEM page. Author can create a page using a template . These templates define basic structure of the page, what components can be used on the page and design of the page.

With AEM 6.2 , Editable Templates were introduced to reduce dependency of authors on developers.
In AEM 6.3 Editable Templates are quite a mature and powerful feature.

AEM Static Templates 

  • Static templates are created by developers ( It defines page rendering component , availability of template for authors to create the page ) 
  • Stored in /apps directory of CRX
  • Once a page is created using templates, after that if we make any change in static template it wouldn't affect the page.
  • Design mode is available for applying Page design.

AEM Editable Templates

  • Editable Templates can be created by template-authors ( non-developers ).
  • Stored in /conf directory of CRX
  • Pages created using editable templates would affect if any changes on editable templates are done.
  • Page design is controlled by content and page policies.Hence no design mode available.


Dhanywad.



Basic Sling Model Exporter

/* Open a page which is having component /apps/project/components/page/page /content/project/en/jcr:content.model.json Don't miss...