According Uncle Bob /source/, every user story should have separated "integrator/controller". Its sounds good because classes will be small and do the only one thing.
But in the real world I didnt see architecture organized in that way. Always if there was eg AccountController it contained all methods related with Account. In Uncle Bob "way" this should be designed just like this:
+Controllers
---+Account
------+DepositMoneyIntoAccount
------+WithdrawalMoneyFromAccount
------+TransferMoneyToAccount
or maybe Im misunderstanding of Uncle Bob? But if not, have someone of you see architecture organized in this look? Its practical in real world?
Regards
No comments:
Post a Comment