loading table of contents...

Connector for SAP Commerce Cloud Manual / Version 2310

Table Of Contents

5.1 Commerce-led Scenario Overview

Commerce-led Architecture Overview

Figure 5.1. Commerce-led Architecture Overview

Figure 5.1, “Commerce-led Architecture Overview” shows the commerce-led integration scenario where the CoreMedia CAE operates behind the commerce server for all page request. Moreover, you can see two kinds of requests. While the left side shows HTTP page requests to the commerce server, that include fragments delivered by the CAE, the right side shows resource or Ajax requests directly redirected by the one virtual host in front of both servers to the CAE.

A typical flow of requests through a commerce-led system is as follows:

Commerce-led Request Flow

Figure 5.2. Commerce-led Request Flow

  1. A user requests a product detail page that is received by the virtual host.

  2. The virtual host identifies the request as a commerce request and forwards it to the commerce server.

  3. Part of the requested Product Detail Page (PDP) is a CMS content fragment. Hence, the commerce system requests the fragment from the CAE.

  4. The resulting HTML page flows back to the user's browsers. Because the page contains dynamic CAE fragments which have to be fetched via Ajax, the browser triggers the corresponding request against the virtual host.

  5. As this is a CAE request, the virtual host forwards it directly to the CAE.

From the point of view of the user all requests are sent to exactly one system, represented by the one virtual host that forwards the requests accordingly. That leads to the same-origin policy problem. Solutions for this are presented in section Section 5.4, “Solutions for the Same-Origin Policy Problem”.

Search Results

Table Of Contents

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.