ExamGecko
Question list
Search
Search

Question 48 - AD0-E126 discussion

Report
Export

Which best practice can be used to customize core AFM components?

A.

Overlay core AEM component under /libs/<website-name>/components/<MyCcmponent>

Answers
A.

Overlay core AEM component under /libs/<website-name>/components/<MyCcmponent>

B.

Refactor core component Itself under core/wcm/<component-name>

Answers
B.

Refactor core component Itself under core/wcm/<component-name>

C.

Overlay core AEM component under/apps/< website-name /component3/<MyComponent>

Answers
C.

Overlay core AEM component under/apps/< website-name /component3/<MyComponent>

Suggested answer: C

Explanation:

The best practice for customizing core Adobe Experience Manager (AEM) components is to overlay them under the /apps directory, rather than directly modifying the components in /libs. By overlaying the core component in /apps/<website-name>/components/<MyComponent>, developers can extend and customize core components while keeping the original intact. This approach ensures that customizations are preserved during AEM updates and align with AEM's best practices for maintainability and upgradability.

Key Benefits of Overlaying Components in /apps:

Preservation of Core Components: By overlaying, the original core component in /libs remains unaltered, which prevents issues during AEM updates as overlays in /apps are not overwritten.

Customization and Flexibility: Overlays allow developers to extend or modify core components to meet specific project needs without impacting the standard AEM components.

Best Practice for Maintainability: Customizing components under /apps aligns with AEM's recommended practices for ensuring that the project remains compatible with future updates and upgrades.

Adobe Experience Manager

Reference:

Adobe's documentation on component development emphasizes the importance of using overlays in /apps for customizations. This approach helps maintain a clear separation between core components and custom implementations, supporting a sustainable and maintainable AEM architecture.

asked 25/10/2024
Louis Reeves
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first