天天看點

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

版本号:v1.00 2020年4月13日

@

TOC

子產品圖

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

layer chart

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

類型

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

類型繼承

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄
SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄
  1. At the bottom is the Service layer, which includes fine-grained(細粒的; 精準的) business methods, such as the ones responsible for adding promotions to a cart, or for calculating the total value of the cart. These services expose the data model, which persists in the database.
  2. On top of the Service layer, there are facades, which implement specific business use-cases, such as adding a product to a cart, placing an order, or searching for a product. The facades expose the Data Transfer Objects (DTOs), which are completely independent from the underlying storage technology. There may be a one-to-one mapping of the model (such as store products), but there may also be a subset of the model, or aggregated models. The DTOs are not always stored in the database. An example of this is the Solr objects, which are stored in the Solr index.

The converters delegate to populators to convert the DTOs back and forth to models. For example, a product that has basic attributes, such as name, title, and description, can also have classification attributes. Therefore, you might have two populators, one for the basic attributes, and one for the classification attributes.

The facade layer, including the DTOs, represents the SAP Commerce OmniCommerce Connect. This is a business API, and the foundation for the web services.

  1. On the top layer, the Controllers take the DTOs and expose them to the view. This is done using the Spring Model View Controller (MVC), which replaces all the facades, services, and controllers.

出自

這裡

.

ServiceLayer Direct

Here is a comparison of write operations in ServiceLayer Direct and Jalo:

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

Here is a comparison of read operations in ServiceLayer Direct and Jalo:

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

core extension

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

Order extensibility

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

Service Layer

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

Model runtime

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

Model interceptor

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

Application Context hierarchy

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

key service

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

Accelerator架構

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

請求互動圖

SAP Commerce(原Hybris)的一些架構圖,持續更新子產品圖layer chart類型類型繼承ServiceLayer Directcore extensionOrder extensibilityService LayerModel runtimeModel interceptorApplication Context hierarchykey serviceAccelerator架構請求互動圖檔案目錄

檔案目錄

檔案或子產品名 路徑
chinesepspwechatpayservices ext-commerce
alipay ext-accelerator

本文來自雲栖社群合作夥伴“汪子熙”,了解相關資訊可以關注微信公衆号"汪子熙"。