Geeks With Blogs
Billy McCafferty whatever (but really just .NET) July 2006 Entries
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” (http://martinfowler.com/ea... and “Supervising Controller/Presenter” (http://martinfowler.com/ea... (Now what am I to do! ;) Passive View ......

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

Using NHibernate with Multiple Databases
I've added a new article to CodeProject.com concerning NHibernate with multiple databases with either ASP.NET or .NET. The article can be found at http://www.codeproject.com/... Any and all feedback is certainly welcome. As an addendum, Hector Cruz has described an approach to connecting to multiple DBs on the same server via NHibernate HBM files at http://forum.hibernate.org/... Billy ......

Posted On Monday, July 17, 2006 8:34 PM

Converting System.Collections to System.Collections.Generic
I believe the following is the fastest way to convert a non-typed list to a strongly typed (generic) list using C# .NET: public List ConvertToGenericList(IList listOfObjects) { ArrayList notStronglyTypedList = new ArrayList(listOfObjects); return new List(notStronglyTypedList.T... as T[]);} Note that this will fail if the non-typed collection contains anything that cannot be casted to type of T. Please let me know if there's a more efficient way to do this! Billy ......

Posted On Monday, July 10, 2006 1:55 PM

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 http://www.codeproject.com/... 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

Copyright © Billy McCafferty | Powered by: GeeksWithBlogs.net | Join free