When working with AEM, you’re confronted with tedious work - writing components with dialogs defined in XML, lots of boiler-plating. Ideal for automation!

Enter your favorite code generator

Yeoman, “the Web’s Scaffolding ToolFor Modern Webapps” is great for this purpose. I came to know this when working on some JHipster project.

It’s very easy to define generator (eg. generate an AEM component) using templates (renderscript, dialog, ….)

I’ve put things together in the AEM Generator Repo. So far, it contains generators for

  • AEM component
  • AEM Client Library
  • Log Configuration
  • AEM Page with Ipsum Lorem content

Check out the repository for instruction on how to install and run the generators.