App Architecture - Chris Eidhof, Matt Gallagher, Florian Kugler

App Architecture

Chris Eidhof, Matt Gallagher, Florian Kugler

出版社

出版时间

2018-05-01

ISBN

9781719030250

评分

★★★★★
书籍介绍
This book explains a range of application design patterns and their implementation techniques using a single example app, fully implemented in five design patterns. Instead of advocating for any particular pattern, we lay out the problems all architectures are trying to address: constructing the app’s components, communicating between the view and the model, and handling non-model state. We show high-level solutions to these problems and break them down to the level of implementation for five different design patterns — two commonly used and three more experimental. The common architectures are Model-View-Controller and Model-View-ViewModel + Coordinator. In addition to explaining these patterns conceptually and on the implementation level, we discuss solutions to commonly encountered problems, like massive view controllers. On the experimental side we explain Model-View-Controller+ViewState, ModelAdapter-ViewBinder, and The Elm Architecture. By examining these experimental patterns, we extract valuable lessons that can be applied to other patterns and to existing code bases.
用户评论
好书, 尤其喜欢testing部分的分析. Push not pull, declarative not imperative (even server driven)确实是modern app的架构趋势.
系统分析 app 架构的书还是很少,而且这个还是结合实际例子讲的。
收藏