Welcome to SourcedCode.com

A blog that provides AEM tutorial and AEM solutions. This technical blog will cover new topics like experience fragments, personalisation, editable templates, Apache Sling, OSGI, and much more.


Featured Posts

How to write Javascript Unit Tests for AEM Client Libraries with Jest

This article demonstrates how to set up and run Javascript Jest unit test for client libraries. As a part of ...
Read More
/ AEM, Development

Caching Experience Fragment Techniques in AEM Sites 6.5

This article explains different techniques to handle cache invalidation with AEM experience fragments. This topic will cover some of the ...
Read More
/ AEM, Caching

AEM Global Objects for Backend and Front-end Sightly (HTL) Development

While working on an AEM project, we can speed up the process of development by utilizing the global objects offered ...
Read More
/ AEM, Quick Reference

Most Recent Posts

Sugar Coat Registered AEM Servlet Scripts and Paths Endpoint

In AEM we tend to write Sling Servlet OSGI Services to expose JSON data using the various service reference properties such as "sling.servlet.paths", "sling.servlet.resourceTypes", "sling.servlet.selectors", and "sling.servlet.extensions". Example 1: DirectoriesServlet.Java doGet Servlet Implementation (html extension): This is an example how ...
Read Article
/ AEM, Development, Security

Improve Performance of AEM Components During Development Phase

Web performance is how quick web pages are successfully downloaded and viewable on the visitor's browser. When we say "Web Performance Optimization", this means that we are optimising or increasing web performance. Quicker download speeds of websites, in general, have ...
Read Article
/ AEM, Development, Performance

Scenario: Building AEM Components with 3rd Party Integrations in a High Performance and Scalable Way

we are assigned to build a hospital search component in a very high traffic website. This hospital search component allows users to search for available hospital private rooms across the United States; there are approximately 200,000 hospital private rooms across ...
Read Article
/ AEM, Development

How to write Javascript Unit Tests for AEM Client Libraries with Jest

This article demonstrates how to set up and run Javascript Jest unit test for client libraries. As a part of this setup, code coverage will be produced by Jest. With this implementation, we will utilise the frontend-maven-plugin, where it makes ...
Read Article
/ AEM, Development

JUnit 4: AEM WCMUsePojo Unit Test Example (Passing Paramaters)

This article will demonstrate how to write AEM Unit tests for building WCMUsePojo Java classes using the Junit4 testing framework. With developers being more visual, the source code is posted below. In this example, I am building a Sightly utils ...
Read Article
/ AEM, Development, Junit4

Caching Experience Fragment Techniques in AEM Sites 6.5

This article explains different techniques to handle cache invalidation with AEM experience fragments. This topic will cover some of the questions that have been asked: What are the most efficient ways to cache AEM Experience Fragments in AEM? What are ...
Read Article
/ AEM, Caching
Loading...
Back To Top