Menu

Naming conventions in the JCR

Adhering to naming conventions in Java Content Repository (JCR) enhances code consistency, reduces the occurrence of defects, and boosts developer productivity within the system. Adobe employs the following conventions in the development of AEM:

Node names

  • All lower case
  • Word separation using hyphens

Property names

  • Camel case, starting with a lower case letter

Components (JSP/HTML)

  • All lower case
  • Word separation using hyphens

References

  • https://experienceleague.adobe.com/docs/experience-manager-65/developing/bestpractices/content-architecture.html

No comments:

Post a Comment