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
....................................
分享到:
相关推荐
Quantitative Trading - How to Build Your Own Algorithmic Trading Business.
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 You Own Angular js
最新的Build Your Own AngularJS。Build Your Own AngularJS helps you understand everything there is to understand about Angular.
Build Your Own CNC Machine is the book to get you started. CNC expert Patrick Hood-Daniel and best-selling author James Kelly team up to show you how to construct your very own CNC machine. Then they...
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 ...
Build your own web site the right way using HTML and CSS.pdf
Build your own PaaS using the much-appreciated software Docker. Isolate services in containers to have a fully modularized and portable system. Step-by-step tutorials that take you through the process...
Build Your Own Angularjs 英文版完整版
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中文版电子书供朋友们学习使用。
Build your own ruby on rails web application
Build Your Own Angularjs完整版
Absolutely terrific book about superhet (and other styles) ...If I had not heard an interview of the author on the podcast "The Amp Hour," I would not have considered this book just because of the title.
本书包含了 17 个短小精练的章节。你应该安排好你的阅读进度,每天按照计划阅 读并及时实践。建议每天至少阅读一个章节。读完本书之后,你还可以继续完善你 的 Lisp,使它更加完整与强大。
Table of Contents Chapter 1. Installing Docker Chapter 2. Exploring Docker Chapter 3. Creating Our First PaaS Image Chapter 4. Giving Containers Data and Parameters Chapter 5. Connecting Containers ...
[TOC]build your own x 项目中文翻译为什么有这个项目?偶然发现一个很酷的项目:以前阅读过一本书,叫 buid your own angularjs,受益匪浅。对于那些喜欢研究轮子的,这个系列简直太棒!因为本人目前是一名前端,所以...
学习angular的架构思路,一步一步教你构建自己的angularjs