Server-side integration

In the text, it mentions…

Web pages with server-side integration originate entirely from the server. Thus, the integration makes sense when the web page can be correctly displayed only if all the content is integrated.

The confusing party is integrated. Normally this is referring multiple components combined to be whole.

Is this statement merely saying that if all the components are on the server… it is delivered?

Thanks for the question!

Let’s say there is a component that displays the number of items in the shopping cart. That should be integrated in a web page that shows product details. The product detail page is usable without the number of items in the shopping cart.

Let’s assume this shopping cart component fails. With client-side integration, the component will just not be loaded and the page shows otherwise OK. With server-side integration, you will need to handle the failing service and make sure the rest of the page is displayed.

If the shopping cart was needed to show the page, this isn’t a problem any more: If the shopping cart component fails, the page will just not be shown. Actually it is harder to ensure the page is not shown with client-side integration. So server-side integration is preferable if the component is needed to show the page.

Let me know if you have any other questions!

Thank you. I needed the example to better conceptualize the problem. I appreciate you getting back so quickly.

1 Like

Excellent - glad you found the answer helpful! :blush: