Design by Contract
摘要:A failure on the precondition indicates a bug on the client/callerA failure on the postcondition indicates a bug on the routine/supplier.Inheritance:Making sure that the precondition is always equal t...
阅读全文
what's interface
摘要:Someone may think thatinterface, the more the better, but not indeed: interface is action inclining, and interface supposes that it can have several implementation, if not, there's not necessary to us...
阅读全文
Provider, Manager, Helper
摘要:Provider: supports you,- "has"Manager: Designates &keepsyou, - "knows & manage", it seems that it will manage a family of product and expose services to cusumersHelper: asto itself, it does no...
阅读全文
Layer supertype for MVP
摘要:Presenter: publicinterfaceIPresenter{///<summary>///Bindstheview.///</summary>///<paramname="view">Theview.</param>voidBindView(objectview);///<summary>///Bindsthemodel./...
阅读全文
Build your own CAB#11 - Event Aggregator
摘要:meet problems too many subscribers and publisher too many kinds of eventSo aggregator know all objects manage the events from all objects propagate event to subscribers
阅读全文
Build your own CAB Part #2 - The Humble Dialog Box -- Jeremy D. Miller
摘要:I'd say the very first concept to grasp in software design is separation of concerns. Divide and conquer. Eat the elephant one bite at a time. Learning how to decompose a bigger problem into a seri...
阅读全文
Reading Build your own CAB (1) -- Jeremy D. Miller
摘要:UI can be an important part and not seems so easy Creating user interface code is time intensive. Not just in terms of the initial coding, but in my experience UI code generates the most...
阅读全文
Webpage redirection
摘要:view: use constrol, a user interfacecode-behind of webpage: as a view initializer, a mediatorPresenter: can't associate with system.web; expose an event, which will be registered by the initializer, ...
阅读全文
Miscellaneouse
摘要:What's pattern: Pattern is a particular solution, on that's both common and effective in dealing with one or more recurring problems. It's kind of reuse of good method dealing some problems. Patterns ...
阅读全文
Mthodology about performance
摘要:Many architectural dcisions are about performance. For most performance issue someone prefers to get a system up and running, instrument it, and then use a disciplined optimization process based on me...
阅读全文
Some ingredients in an enterprise appliction
摘要:DataBusiness LogicUIUserPerformanceSecurity...
阅读全文
Kinds of enterprise application
摘要:When we discuss how to design enterprise applications, and what pattern to use, it's important to realize that enterprise applications are all different and that different problems lead to different w...
阅读全文