Universal Apps for Windows 10: MVVM Patterns Revealed
暫譯: Windows 10 通用應用程式:MVVM 模式揭密
Ashish Ghoda
- 出版商: Apress
- 出版日期: 2017-07-11
- 售價: $1,300
- 貴賓價: 9.5 折 $1,235
- 語言: 英文
- 頁數: 200
- 裝訂: Paperback
- ISBN: 1484213211
- ISBN-13: 9781484213216
海外代購書籍(需單獨結帳)
相關主題
商品描述
In Windows 10 Microsoft has created a single platform with a common runtime to enable development of single code-base applications running on various Windows devices. These applications are called Universal Windows Apps. With the introduction of the Universal App Platform (UAP), an integrated set of development tools and APIs/SDKs for Windows 10, it is now truly possible to have "One Windows Platform" to develop Universal Apps.
The Model-View-View-Model (MVVM) pattern is valued by many developers as an excellent way of creating sophisticated modern applications. Its clear separation of presentation and business logic produces a clean implementation that promotes speed, scalability and code reuse in applications with a complex UI. These characteristics are particularly valuable to WPF developers.
This 200 page, information-rich, guide we will show you how MVVM works with both XAML (C#) and HTML5 (JavaScript) flavors of Windows 10 Universal Apps. Beginning with a brief recap of Windows 10 Universal Apps and Microsoft One Windows Platform and MVVM concepts under .NET ( to provide a common frame of reference) the author then will then dive into the details of how MVVM can best be implemented for Windows 10 Universal Apps, showing a working application framework in each case.
商品描述(中文翻譯)
在 Windows 10 中,微軟創建了一個單一平台,並提供了共同的執行環境,以便開發可以在各種 Windows 設備上運行的單一代碼庫應用程式。這些應用程式被稱為通用 Windows 應用程式(Universal Windows Apps)。隨著通用應用平台(Universal App Platform, UAP)的推出,這是一套針對 Windows 10 的整合開發工具和 API/SDK,現在確實可以實現「一個 Windows 平台」來開發通用應用程式。
模型-視圖-視圖模型(Model-View-View-Model, MVVM)模式受到許多開發者的重視,因為它是一種創建複雜現代應用程式的優秀方法。它清晰地分離了表示層和業務邏輯,產生了乾淨的實現,促進了速度、可擴展性和代碼重用,特別是在具有複雜用戶界面的應用程式中。這些特性對於 WPF 開發者尤其有價值。
在這本 200 頁、資訊豐富的指南中,我們將展示 MVVM 如何在 Windows 10 通用應用程式的 XAML(C#)和 HTML5(JavaScript)版本中運作。首先簡要回顧 Windows 10 通用應用程式、微軟的一個 Windows 平台以及 .NET 下的 MVVM 概念(以提供共同的參考框架),然後作者將深入探討如何最佳實現 MVVM 以用於 Windows 10 通用應用程式,並在每個案例中展示一個可運行的應用程式框架。