meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sap_hybris_commerce:orders:commerce_facades_key_concepts_features [2019/08/26 16:43] – [Key Concepts] Antonio Robirosa | sap_hybris_commerce:orders:commerce_facades_key_concepts_features [2019/12/18 20:17] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
The **commercefacades** extension exposes a group of facades which simplify the communication between the store frontend and the service layer. This is a summary which I wrote while studying for the certification. The Hybris Documentation about commercefacades has one page and it is worth reading. | The **commercefacades** extension exposes a group of facades which simplify the communication between the store frontend and the service layer. This is a summary which I wrote while studying for the certification. The Hybris Documentation about commercefacades has one page and it is worth reading. | ||
- | ====== Key Concepts ====== | + | ===== Key Concepts ====== |
* The facades return **data objects** which are completely separated from the models. They can be extend using the file ***-beans.xml.** | * The facades return **data objects** which are completely separated from the models. They can be extend using the file ***-beans.xml.** | ||
Line 17: | Line 17: | ||
* Then a configurable populator fills the fields which are only required by some components/ | * Then a configurable populator fills the fields which are only required by some components/ | ||
* [[https:// | * [[https:// | ||
- | ====== Key Features ====== | + | ===== Key Features ====== |
* There are facades for: | * There are facades for: | ||
Line 35: | Line 35: | ||
* Extending or new data objects | * Extending or new data objects | ||
* yacceleratorfacades is an example of an extension which extends the facades. | * yacceleratorfacades is an example of an extension which extends the facades. | ||
- | * Out-of-the-box converters and populators: | + | * Out-of-the-box converters and populators: |
* The **URLResolver** must be implemented to provide relative URLs for the business objects. Hybris comes with URL resolvers for products, categories and search using facets. | * The **URLResolver** must be implemented to provide relative URLs for the business objects. Hybris comes with URL resolvers for products, categories and search using facets. | ||
- | ====== Workflow ====== | + | ===== Workflow ====== |
- | The interaction of the controllers, | + | The interaction of the controllers, |
- | + | ||
- | [[https:// | + | |
**In the B2C Accelerator the converters and the populators are never used to convert from a DTO to a model.** But they could be used. | **In the B2C Accelerator the converters and the populators are never used to convert from a DTO to a model.** But they could be used. | ||
--Based on Hybris 6.3 | --Based on Hybris 6.3 |