Chapter 5. Designing business logic in a microservice architecture

This chapter covers:

  • Applying the business logic organization patterns: Transaction script pattern and Domain model pattern
  • Designing business logic with the Domain-driven design (DDD) aggregate pattern
  • Applying the Domain event pattern in a microservice architecture

The heart of an enterprise application is the business logic, which implements the business rules. Developing complex business logic is always challenging. The FTGO application’s business logic implements some quite complex business logic, especially for order management and delivery management. Mary had encouraged her team to apply object-oriented design principles, because in her experience this was the best way ...

Get Microservices Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.