Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ZenLiuCN/1cd95c4f08a7009d9fced41618ef213b to your computer and use it in GitHub Desktop.
Save ZenLiuCN/1cd95c4f08a7009d9fced41618ef213b to your computer and use it in GitHub Desktop.

Just other common useable DDD like design pattern

layers

This will describe from inner to outter , from lower to higher

layers of application

  1. Infrastructure should not depend on other layer except implement some port in core
  2. Core should not depend on infrastructure, but infrastructure is impl port in core as adapter
  3. Application could be depend on core as well as infrastructure. but do not depend on anything in api
  4. Api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment