Posts

Showing posts from 2017

Sightly | HTL(HTML Template Language)

Image
HTL (Previously known as Sightly) was first introduced in AEM 6.0 as an alternate of JSP, EcmaScript & JSLT. Now it is preferred templating language in AEM. It is recommended for new AEM projects to use HTL as it offers multiple benefits compared to JSP.  Although languages like of JSP (Java Server pages) and ESP (ECMA Script Server Pages) serve well for website development in AEM, HTL is emerging to be a preferred templating language for HTML because, HTML developers can participate better in AEM project without any JAVA knowledge. Advantages of using HTL:- ·    New AEM developers have shorter learning curve ·    Easy to maintain project with cleaner code ·    Elimination of UI/AEM integration issues ·    Increased developer productivity ·    Secure: URL Externalization and XSS Protection ·    Finally helps you forget about JSP Scriptlets, with embedded business logic. ·    Offers pure view and help move the business logic to Java classes (externalizing th