Refactoring Complex AEM Components and Pursuing Better Code Practices with AEM Authoring Toolkit, Part II
This article continues the story of decomposing complex AEM components. We propose a way to gently split component data and logic into several function-specific classes while preserving the look and feel of a “whole” component. We also discuss the use of AEM Authoring Toolkit’s @RadioGroup, as well as changes that may be introduced to HTL markup.
Refactoring Complex AEM Components and Pursuing Better Code Practices with AEM Authoring Toolkit, Part I
As an AEM developer, you’ve probably had to support AEM components that have grown too complicated and feature-packed. This article shows a way to use AEM Authoring Toolkit to decompose them for better maintainability and a better authoring experience. We discuss usage of fieldsets and reactive tabs, as well as other DependsOn features.