What is the difference between extend, overlay and override component in aem

What is the difference between extending a component, overriding a component, and overlaying a component. Can someone explain from a developer's point of view

+4
source share
1 answer

Extension and Overlay are the same. This is just a matter of terminology. Extending and overlaying involves copying a component from / libs / (or another base library) to the / apps node and changing the behavior.

Overriding is like an extension, but the only difference is that you modify the sling:resourceSuperTypecomponent so that its behavior changes completely (hence, it is redefined).

:

https://docs.adobe.com/docs/en/aem/6-3/develop/components/components-basics.html

+4

Source: https://habr.com/ru/post/1679964/


All Articles