A client want to use Carousel Core Component for their page content but also needs several advanced functionalities that the Core Component does not have. Which strategy will assist this client while keeping within budget and scope?
A.
Modify the Carousel Core Component directly to meet the client's business needs.
B.
Create a brand new component by creating a Carousel component under /apps
C.
Extend the Carousel Core Component and modify the backend logic to obtain the needed functionality
Step by Step Comprehensive Detailed Explanation with References:
Understanding the Requirement:
The client wants to use the Carousel Core Component but needs additional functionalities.
Component Development Strategies:
Modify the Carousel Core Component directly:Not recommended as it could complicate future updates and maintenance.
Create a brand new component:Time-consuming and may exceed budget and scope.
Extend the Carousel Core Component:Best practice for adding functionality while maintaining compatibility and leveraging existing features.
Extending the Core Component:
Create a new component that extends the existing Carousel Core Component.
Modify or add the backend logic to include the required advanced functionalities.
This approach ensures that the core functionalities are preserved while adding new capabilities.
References:
Extending Core Components
AEM Core Components
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit