- Mastering Windows Presentation Foundation
- Sheridan Yuen
- 369字
- 2021-06-24 16:49:01
A Smarter Way of Working with WPF
When Windows Presentation Foundation (WPF) was first released as part of the .NET Framework Version 3.0 in 2006, it was billed as the future of desktop application Graphical User Interface (GUI) languages and supporters claimed that it would put an end to the previous GUI technology, Windows Forms. However, as time passed, it has fallen far short of this claim.
There are three main reasons that WPF has not taken off as widely as previously expected. The first reason has nothing to do with WPF and stems from the recent push to host everything in the cloud and having web interfaces rather than desktop applications. The second reason relates to the very steep learning curve and a very different way of working that is required to master WPF.
The last reason is that it is not a very efficient language and if a WPF application has lots of 'bells and whistles' in, then either the client computers will need to have additional RAM and/or graphics cards installed, or they could face a slow and stuttering user experience.
This explains why many companies that make use of WPF today are in the finance industry, where they can afford to upgrade all users' computers to be able to run their applications optimally. This book will aim to make WPF more accessible to the rest of us by providing practical tips and tricks to help build our real-world applications more easily and more efficiently.
One of the simplest changes with the biggest workflow improvements that we can make to improve the way we work with WPF is to follow the MVVM software architectural pattern. It describes how we can organize our classes to make our applications more maintainable, testable, and generally simpler to understand. In this chapter, we will take a closer look at this pattern and discover how it can help us to improve our applications.
After discovering what MVVM is and what its benefits are, we'll learn several new ways to communicate between the various components in this new environment. We'll then focus on the physical structure of the code base in a typical MVVM application and investigate a variety of alternative arrangements.
- 一步一步學Spring Boot 2:微服務項目實戰
- .NET 4.0面向對象編程漫談:基礎篇
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優化計算
- Linux網絡程序設計:基于龍芯平臺
- 精通網絡視頻核心開發技術
- 高級語言程序設計(C語言版):基于計算思維能力培養
- Swift細致入門與最佳實踐
- Express Web Application Development
- Internet of Things with ESP8266
- Unity 2018 Augmented Reality Projects
- ASP.NET開發寶典
- 金融商業數據分析:基于Python和SAS
- Swift High Performance
- Beginning PHP
- Swift Essentials(Second Edition)