Geeks With Blogs
Billy McCafferty whatever (but really just .NET) Architecture
Model-View-Presenter split into two "new" patterns
For the past year or so, Martin Fowler has included the pattern Model-View-Presenter, or MVP, in his upcoming addendum to Patterns of Enterprise Application Development. Due to apparent confusions between MVC and MVP, Fowler has now split this pattern into what he's calling “Passive View” ( and “Supervising Controller/Presenter” ( (Now what am I to do! ;) Passive View ......

Posted On Thursday, July 20, 2006 7:53 AM

Model-View-Presenter with ASP.NET: An (almost) exhaustive examination
I've been working on an article for the past few weeks concerning the usage of the Model-View-Presenter pattern with ASP.NET. The article has been completed and uploaded to I hope you find this article useful. Please feel free to raise your questions and/or concerns. Billy ......

Posted On Sunday, July 2, 2006 8:22 PM

Dependency Injection for Loose Coupling
This post describes the use of Inversion-of-Control, or Dependency Injection, to promote loose coupling and convenient unit testing.---- Introduction In designing an object-oriented application, a major tenant of design is "loose coupling." Loosely, no mean for the pun, "loose coupling" means that objects should only have as many dependencies as is needed to do their job - and the dependencies should be few. Furthermore, an object's dependencies should be on interfaces and not on "concrete" object ......

Posted On Tuesday, April 18, 2006 11:30 AM

NHibernate Best Practices with ASP.NET, Generics & Unit Tests
I finally got around to it... the whole shebang of NHibernate best practices with ASP.NET and Generics. The article, along with the related source, can be found at Your review, feedback and suggestions would be much appreciated! 3/3/06 UPDATE I've updated the article on Code Project to include a unit testing project to show how to simulate the web context and how to create “mock” DAO objects within your unit tests ......

Posted On Saturday, March 11, 2006 10:22 PM

Copyright © Billy McCafferty | Powered by: