Why Sightly?

Heard of Adobe Sightly??

Welcome to Adobe’s new AEM 6 Sightly framework!  Sightly is the new templating engine in AEM and is meant to replace JSP and ESP templating engine for AEM 6. Among the great improvements in the technology stack (like new OAK repository) it also introduces a new way of component development.

With Sightly, Adobe presents a more readable, maintainable, and secure code, while distinctly separating the logic and markup. Sightly is attempting to address the most common problems found in the existing foundation and sample reference code, e.g. the lack of separation of concerns between business and presentation logic and the sloppy use of scriplets.

Why Sightly:



Below is the feature comparison of Sightly vs Handlebar vs JSP:

Table 1: A comparative analysis of Sightly over JSP and Handlebar:

  Sightly Handlebar JSP
Basic logic permissions Y Y+++ Y
Open source/based on published standards Y Y Y+
Officially supported/documented Y Y Y
IDE support Y N Y
Extension model documented N N Y
XSS escaping included Y N Y++
Enables Bad coding practices N N Y

+ Proprietary Tag libraries
++ Additional tag libraries
+++ Very limited support

Reference links

[0] https://github.com/Adobe-Marketing-Cloud/sightly-spec/blob/master/SPECIFICATION.md

[1] https://docs.adobe.com/docs/en/aem/6-0/develop/sightly.html


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s