62
CHAPTER 3 | Architecting container and microservice-based applications
Figure 4-21. Example of a composite UI application shaped by back-end microservices
Each of those UI composition microservices would be similar to a small API Gateway. But in this case,
each one is responsible for a small UI area.
A composite UI approach that’s driven by microservices can be more challenging or less so,
depending on what UI technologies you’re using. For instance, you won’t use the same techniques for
building a traditional web application that you use for building an SPA or for native mobile app (as
when developing Xamarin apps, which can be more challenging for this approach).
The
eShopOnContainers
sample application uses the monolithic UI approach for multiple reasons.
First, it’s an introduction to microservices and containers. A composite UI is more advanced but also
requires further complexity when designing and developing the UI. Second, eShopOnContainers also
provides a native mobile app based on Xamarin, which would make it more complex on the client C#
side.
However, we encourage you to use the following references to learn more about composite UI based
on microservices.
Dostları ilə paylaş: