Highlighted

Dynamic vs static templates

jakej40603950

12-08-2018

Are dynamic templates meant to be a replacement of static templates? If not, are there any guidelines as to which of the two template types are to be used depending on the requirement at hand? - mainly asking from the point of view of the layout of a page. Any limitations of dynamic templates that'll necessitate the use of static ones for specific cases?

Is a page component still needed for dynamic templates like they used to for static ones?

Still new to dynamic templates - so just trying to figure out when it'll be appropriate to use them. Thanks.

Replies

Highlighted

Arun_Patidar

MVP

12-08-2018

Hi

dynamica templates are able to replace static templates. It is recommend ate to use dynamic templates instead static templates.Dynamic templates have lots of advantages over static templates.

Yes Page component is still needed in dynamic templates.

More info

Templates

AEM Developer Learning : Dynamic (Editable) Templates in AEM 6.3 : Part-1

Highlighted

Ratna_Kumar

MVP

13-08-2018

Hi.

Yes, Page component is still needed in dynamic templates.

As Arun stated, Dynamic templates are having more advantages then static templates. Also, it is the replacement of static templates.

See Getting Started with AEM Sites Part 2 - Creating a Base Page and Template

You will know more deeply here.

Also, here is the difference between Static and Dynamic Templates in AEM: Static or Editable Template? An In-Depth Comparison and Guide

Hope this helps!!

Thanks,

Ratna Kumar.

Highlighted

smacdonald2008

13-08-2018

As you are new to Editable Templates - see this Guided Journey -- Scott's Digital Community: Guided Journey for Experience Manager on Editable Templates

This takes you through everything you need to understand - creating a editbale template, how to drive style, define policies, and then how to create an AEM page based on an editable template.