Chapter 2 | SAP Commerce cloud | Basic Building blocks
Welcome to the 2 blog post of SAP Commerce cloud.
We have already discussed in Part-1 –> what is SAP Hybris & why to use sap Hybris.
Today I would like you to discuss various components or Building Blocks of SAP Hybris.
SAP Hybris is built mainly on these components:
So Accelerators are the first thing that you install after unzipping the hybris setup.
Accelerators are the predefined templates that provide organizations with ready-to-use Omni-channel commerce solutions.
Some of the accelerators provided by SAP are for B2B, B2C, one of them for telecommunication and other accelerators are for China.
Accelerators are the reason you can create a new hybris website within a few hours & then we can customize it according to our needs.
Some features covered by Accelerators are:
- Spring MVC 3 Based multiple Storefront
- Page templates,pages & components
- Facade Layer
- SOLR integration
- Spring Security
- Hot Folder Batch Importer
- Data Model with sample data
- checkout, orders, and My Account.
- payments, carts, etc.
Extensions are single modules/projects to provide Business logic independently.
Whenever you unpack hybris, there are some predefined extensions already provided by SAP for basic functionalities, and other extensions based on requirements are provided by Accelerators.
We can also create our own custom or empty extension to modify or introduce new functionalities using the extgen command.
So at this point, I would like to compare
Extgen vs Modulegen
- extgen(extension generator): create new extensions based on existing templates.
- modulegen: is a wrapper around the extgen tool that allows you to create a set of extensions from a set of template extensions.
set of extensions :
trainingcore trainingstorefront traininginitialdata trainingtest trainingfulfilmentprocess trainingbackoffice
Addons are the kind of extensions used to enhance the existing functionality of the storefront.
The best part is, we can also remove this functionality whenever we don’t want just by uninstalling the addon
examples: captcha addon,asm addon, secureportal addon, etc
addons are installed in storefront extension because that allows you to add front-end files e.g. JSP, CSS, and JS from within your addon.
Extension vs Addon:
Use Extension whenever you require to implement a complex functionality
User Addon whenever you want to
add some functionalities like Captcha,asm, etc
add/remove a component,
enhance instead of altering existing functionality.
That’s it for now. will discuss the architecture of hybris in the next blog post coming soon.
Thanks for the Read.