Contents

Architecture

what: 架构方法,

why:

  1. 分离关注: 各司其职=2.
  2. 易测试

basic rule

  1. testable: each layer must

TDD

test driven development

basic rule

  1. Independent
  2. testable

how

make interface through each year;

  1. domain
  2. respon

repository