App Architecture: iOS Application Design Patterns in Swift
Chris Eidhof, Matt Gallagher, Florian Kugler
- 出版商: W. W. Norton
- 出版日期: 2018-05-13
- 售價: $1,640
- 貴賓價: 9.5 折 $1,558
- 語言: 英文
- 頁數: 230
- 裝訂: Paperback
- ISBN: 1719030251
- ISBN-13: 9781719030250
-
相關分類:
Apple Developer、Design Pattern 設計模式
下單後立即進貨 (約1週~2週)
買這商品的人也買了...
-
$680$476 -
$1,810$1,720 -
$450$405 -
$1,200$948 -
$350$315 -
$1,220$1,159 -
$960$912 -
$520$442 -
$580$458
商品描述
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 View-State-Driven Model-View-Controller, 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.