App Architecture: iOS Application Design Patterns in Swift
Chris Eidhof, Matt Gallagher, Florian Kugler
- 出版商: W. W. Norton
- 出版日期: 2018-05-13
- 售價: $1,970
- 貴賓價: 9.5 折 $1,872
- 語言: 英文
- 頁數: 230
- 裝訂: Paperback
- ISBN: 1719030251
- ISBN-13: 9781719030250
-
相關分類:
Apple Developer、Design Pattern
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$680$537 -
$2,170$2,062 -
$450$405 -
$1,200$948 -
$350$315 -
$1,490$1,416 -
$1,190$1,131 -
$520$442 -
$580$435
相關主題
商品描述
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.
商品描述(中文翻譯)
本書解釋了一系列的應用程式設計模式及其實作技巧,並以一個範例應用程式完整實作了五種設計模式。
我們並不主張任何特定的模式,而是闡述所有架構試圖解決的問題:構建應用程式的組件、視圖和模型之間的通訊,以及處理非模型狀態。我們提供了這些問題的高層次解決方案,並將其細分到五種不同的設計模式的實作層次上,其中包括兩種常用的模式和三種更實驗性的模式。
常用的架構包括模型-視圖-控制器(Model-View-Controller)和模型-視圖-視圖模型+協調器(Model-View-ViewModel + Coordinator)。除了在概念和實作層次上解釋這些模式,我們還討論了常見問題的解決方案,例如龐大的視圖控制器。
在實驗性方面,我們解釋了視圖狀態驅動的模型-視圖-控制器(View-State-Driven Model-View-Controller)、模型適配器-視圖綁定器(ModelAdapter-ViewBinder)和The Elm Architecture。通過研究這些實驗性模式,我們提取出了可以應用於其他模式和現有程式碼庫的寶貴經驗教訓。