architecture icon indicating copy to clipboard operation
architecture copied to clipboard

Port Architecture for module Development so Can use both inbuild custom feature development as well external integration

Open lalittmohan opened this issue 2 years ago • 0 comments

Problem

we have various integration so need different module to add functionality and we have some functionality inbuilt so Need to create single module to add all possible integration domain wise like Reviews, Product Management , Carriers, Payment, Order, etc/

Example: Customer need some third party review services from external source like google or trustpilot so need custom module to integrate & API Adapter to compatible with existing review system in-built.

  • Existing system doesn't support for DDD by use-case. As every customer have different use-case for same features/functionality

Solution

Main focus is to change module structure to ports architecture so module is more testable by use-case & domain oriented so we can use single module to add all possible integration for payment OR shipping in plug-n-play manner.

  • testable by use-case( can be test like unit test )
  • DDD (domain driven development)
  • Adapter test
  • Loosely couple

Requested Reviewers

lalittmohan avatar Apr 22 '22 07:04 lalittmohan