Yes, this is overdue. Here is an introduction and table of contents
to my “Build Your Own CAB” series of blog posts on designing WinForms
applications. You’ll see nothing here about user experience and not
much WinForms technology. That stuff is covered quite well in a hundred
different places. This series is about code. How to write it, how to
write less, how to test it, and how to structure it. And there is code
in user interfaces, no doubt about that. Code that’s complex. Code
that changes every time you’re foolish enough to ask an end user how
they like it. Code that’s hard to test if you’re not careful.
I’m still working on the series, so check back here occasionally for
updates and new downloads. After I finish posting the menu state series
I’m going to take a break for a while, but it’s for a good cause. The
most persistent complaint throughout the series is that it’s not clear
how all the pieces fit together. Understandable. At the same time that
I’m writing this series I’m also working on my OSS StoryTeller
tool that includes a sizable WinForms client. Last week I scrapped
about half of the StoryTeller UI code so I could go back and incorporate
the ideas that I’ve explored through “Build a CAB.” I can say without a
doubt that I’m the one person who’s learned the most from “Build a
CAB.” What I’m hoping to do is use the StoryTeller UI code to
demonstrate fully working screens from end to end. The beauty of using
OSS code for examples is that the code is automatically available for
download.
I’ll finish before the end of the summer, I promise. Just set a
bookmark to this page and I’ll keep updating it as the series expands.
At the end I’ve committed to gathering all this stuff up into a single,
printable PDF for download.
Downloads
Soon…
Table of Contents
There’s an extended introduction below.
-
How I got into this mess – Look for the section “Microsoft, OSS, and the Patterns and Practices Team”
-
Preamble
-
The Humble Dialog Box
-
Supervising Controller
-
Passive View
-
Presentation Model
-
View to Presenter Communication
-
Answering some questions
-
What’s the Model?
-
Assigning Responsibilities in a Model View Presenter Architecture
-
Domain Centric Validation with the Notification Pattern
-
Unit Testing the UI with NUnitForms
-
Event Aggregator
- Event Aggregator with Generics
-
Rein in runaway events with the “Latch”
-
Embedded Controllers with a Dash of DSL
-
Managing
Menu State with MicroController’s, Command’s, a Layer SuperType, some
StructureMap Pixie Dust, and a Dollop of Fluent Interface
- MicroControllers
- Boil down the “wiring” to a Registry
- The Command Executor
- The Main Players
- Testing through the UI – Forthcoming
- Subcutaneous Testing – Forthcoming
- Creating the Application Shell – probably a couple posts
- Wiring the Components with an IoC tool – Forthcoming, but I may push this off into late summer
- A Day in the Life of a Screen – by popular demand (gripe), let’s
look at a couple of complete screens through their entire lifecycle
....................................
分享到:
相关推荐
### 量化交易:如何构建自己的算法交易业务 #### 核心知识点概述 本文将深入探讨《量化交易:如何构建自己的算法交易业务》一书中的核心知识点。本书由Ernest P. Chan撰写,作为一位在量化交易领域有着丰富经验的...
It’ll also help you develop your own cryptocurrency by creating ERC20, and ERC721 smart contracts from scratch. Finally, we explain private blockchains, and you learn how to interact with smart ...
Table of Contents Build Your Own Database Driven Website Using PHP & MySQL Introduction Chapter 1 - Installation Chapter 2 - Getting Started with MySQL Chapter 3 - Getting Started with PHP ...
最新的Build Your Own AngularJS。Build Your Own AngularJS helps you understand everything there is to understand about Angular.
本书《Build Your Own AngularJS》由Tero Parviainen编写,旨在带领读者深入了解AngularJS的核心机制之一——Scopes以及其背后的消化(Digest)循环,从而更好地理解和应用AngularJS。 #### 二、项目搭建 在开始...
Build Your Own Website The Right Way Using HTML & CSS, 2nd Edition teaches web development from scratch, without assuming any previous knowledge of HTML, CSS or web development techniques. This book ...
More than that, we’ll also show you how to build dynamic, robust sites that are easy to update for your clients… all at a fraction of the cost of an enterprise CMS. We’ll simplify your life as a ...
《Build Your Own Lisp 》是经典之作,由KSCO (numbksco@gmail.com)翻译。其中第十一章、十二章翻译未完成,本人采用翻译软件进行补充翻译。制作成CHM中文版电子书供朋友们学习使用。
[TOC]build your own x 项目中文翻译为什么有这个项目?偶然发现一个很酷的项目:以前阅读过一本书,叫 buid your own angularjs,受益匪浅。对于那些喜欢研究轮子的,这个系列简直太棒!因为本人目前是一名前端,所以...
Pro HTML5 Games Learn to Build your Own Games using HTML5 and JavaScript(2nd) 英文epub 第2版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
老书了,全英文 ...This book is a hands-on guide to learning all the tools, principles, and techniques needed to build a fully functional database-driven Web site using PHP and MySQL from scratch.
Build.Your.Own.Website
Build Your Own 2D Game Engine and Create Great Web Games teaches you how to develop your own web-based game engine step-by-step, allowing you to create a wide variety of online videogames that can be ...