Simplified Development

The HTML Template Language is easy to learn and its features are purposely limited to ensure that it stays simple and straight-forward. It also has powerful mechanisms for structuring the markup and invoking logic, while always enforcing strict separation of concerns between markup and logic. HTL is standard HTML5, using expressions and data attributes to annotate the markup with dynamic behavior. This approach maintains the validity and readability of the markup. The evaluation of the expressions and data attributes is done entirely server-side and is not visible on the client-side, where any desired JavaScript framework can be used without interfering.

These capabilities let HTML developers without Java knowledge to edit HTL templates, integrate into the development team, and streamline collaboration with full-stack Java developers. And vice versa, it lets Java developers to focus on the back-end code without worrying about HTML.

Reduced Costs

Increased security, simplified development, and improved team collaboration, translates for AEM Projects in reduced effort, faster time to market (TTM), and lower total cost of ownership (TCO).

Re-implementing the Adobe.com site with HTML Template Language has shown that project costs and duration are reduced up to approximately 25%.

Efficiently increase and cost decrease

The diagram above shows the following improvements in efficiency potentially made possible by HTL:

  • HTML / CSS / JS: HTML developers can directly edit HTL templates, allowing front-end designs to be implemented directly on AEM components, eliminating the need for separate implementation. This approach reduces painful iterations with the full-stack Java developers.
  • JSP / HTL: Because HTL itself does not require any Java knowledge and is straight-forward to write, any developer with HTML expertise is empowered to edit the templates.
  • Java: Thanks to the clear and simple to use Use-API provided by HTL, the interface with the business logic is clarified, which also benefits Java development overall.

Video Introduction

The following video from an AEM Gems session, gives an overview of the purpose of HTL as well as implementation examples.

video poster

Please note that the video refers to HTL by its former name, Sightly.

Next Steps

Now that you know the objectives and advantages of HTL, you can get started with the language. See Getting Started with the HTML Template Language.


Rapid Feature Releases with AEM Cloud: Telegraph Media Group’s RDE Strategy

Online | Session | Intermediate

Hear how Telegraph Media Group, the award-winning publisher of The Daily Telegraph, The Sunday Telegraph, The Telegraph Magazine,...

Wed, Mar 19, 3:30 PM PDT (10:30 PM UTC)

Register

The True Cost of a Failed Implementation

Online | Session | General Audience

A failed implementation isn’t just an inconvenience — it costs real revenue. Poor execution and misaligned tools disrupt pipelines,...

Wed, Mar 19, 2:00 PM PDT (9:00 PM UTC)

Register

Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more