Persisted Selectors


What is Selector? Apache Sling defines Selectors as: ” If the first character in the request URL after the resource path is a dot (.), the string after the dot up to but not including the last dot before the next slash character or the end of the request URL comprises the selectors. If the resource…

Tool for Dispatcher Security


Dispatcher Security is one of the most ignored things in AEM implementations. I used to wonder why people still do this manually and don’t follow any best practices while configuring it. Adobe recommends using a Security Checklist, but who has got time for doing it manually when you can automate it. And it gets complex with…

Improvise the Search Index


Conquering the necessary query is a battle half won (Read QueryBuilder API).  The other crucial aspect of Search in AEM is indexing. Many times it happens that even after the Query is well written with correct predicates, it results in slow executions and traversals of the repository. This can prove to be an expensive request…

Digest the Query Builder API


A lot of times I have experienced and seen that Heavy Queries are mostly responsible for the bad page load speeds and performance of the application.  We all have used Query Builder API in some form or another , but a lot of times we miss its complete potential. Through this post I want to…

GitHub Project


Hi, Watch out this GitHub space – https://github.com/hashimkhan786 where I would be sharing a lot of useful scripts and code for everyone to pick or enhance and contribute to the AEM community. Feel free to clone the repository and use in your projects or if you think you can contribute to the repositories you are most…

Useful Shell Scripts for AEM


Evolve your work-style with Shell Scripts in AEM. I thought of sharing few of the useful scripts here so that you can also use them in your day to day work without much hassle. Secondary aim of this blog post is to expose you to Shell scripts , if you are not using it yet and give you an inspiration to build your own script one day and share with everyone .

Sling Pipes


Its a tool where you can load content tree nodes , perform some operation and either Retrieve an output or Modify the nodes. The aim here is to provide reusable blocks called pipes which can be configured for any possible operation on content.

Query Builder


Search is always the backbone of many functionalities in an AEM application . It becomes quite critical in Business scenarios to implement the most Optimized Query which fetches the best possible result. To perform search in AEM , Query Builder is highly recommended over simple SQL / XPATH query statements. The Query Builder , if…

Useful Links


Hi Guys, Through this page I would be sharing all the important Links which become quite useful and handy while executing projects and for quick reference . I am using these myself and so may the world . I would be updating and categorizing them whenever I will find something worthy. Keep this page as a bookmark…

Guidelines for Performance Optimziation


Performance Optimization of an AEM instance is one topic which gets neglected during almost all the development phase and when the site degrades in various levels , a concern is raised for checking the Performance of the system. Lately I have been working on a lot of projects wherein there was this problem and we…