Saturday, February 10, 2018

software design - Application Architecture in practice - Uncle Bob

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

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...