Coding Guidelines

Guidelines, Tips and Tricks

Working with AEM Communities has evolved from being heavily dependant on Java Server Pages to flexibility in the choice of templating scripting languages where business logic, style, and page content are distinct from one another.

Further flexibility in working with user generated content (UGC) is through the SocialResourceProvider API, which eliminates the need for awareness of which SRP option was chosen for the deployment.

Following are various coding guidelines and best practices for AEM Communities developers :

Code

Accessing UGC with SRP - how to avoid writing an application that only works when UGC is stored in JCR (JSRP).