Best practices for component scripts development and deployment in Experience Manager as a Cloud Service

Last update: 2023-10-02
  • Created for:
  • Beginner
    Intermediate
    Experienced
    Developer

This session describes the newest best practices that Adobe Experience Manager developers can follow in order to have more predictable application deployments. Introduced as an Apache Sling feature in 2019 and used in AEMaaCS since 2020, precompiled bundled scripts provide developers two major improvements over the classic way of deploying Adobe Experience Manager components: 1. the scripts can be versioned and have explicit dependency chains, like any Java API 2. the script compilation can now be done during the application’s build process, allowing to discover potential errors fast (e.g. missing dependencies, wrong API usages, etc.) We will focus on how developers can set up their projects to provide their scripts as precompiled bundles and use local Adobe Experience Manager Sling Feature analysers to verify that the API requirements are satisfied, helping them to catch any potential error early.

Continue the conversation in Experience League Communities.

Additional Resources

On this page