What are proxy components?
Proxy Components are site-specific components which are inherited from core components, which define the desired component name and group to display for page authoring.
[Click on image to see it big]
Advantages of creating Proxy Components
Modern AEM Component Implementation Patterns
AEM Core Components
Proxy Components in AEM 6.4
See below video to understand more about Proxy Components.
Proxy Components are site-specific components which are inherited from core components, which define the desired component name and group to display for page authoring.
- Proxy Components refer to a Core Component as their super-type.
- Proxy Components follow the path : /apps/my-site/components (Where core components path : core/wcm/components)
[Click on image to see it big]
Advantages of creating Proxy Components
- Proxy components helps categorization of components in a reusable way.
- Better seggregation: It is a good practice to have 'sling:resourceType' property pointing to site-specific components, instead of pointing to components that are shared by multiple sites.
- This provide more flexibility and avoid content refactoring if one site needs a different behavior for a component.
- Customization can then be achieved on the site-specific component and won't affect the other sites.
- Proxy components can be entirely empty if they fully inherit the functionality, or they can redefine some aspects of the component.
Modern AEM Component Implementation Patterns
AEM Core Components
Proxy Components in AEM 6.4
See below video to understand more about Proxy Components.