Geeks With Blogs
Liam McLennan April 2008 Entries
Using NAnt to build .NET 3.5 solutions
First, let me recommend Mike Robert's excellent article on setting up .NET solutions. My preference is to use MSBuild to build the Visual Studio solutions, and NAnt for everything else. The trouble is, in the latest version of NAnt (0.86-beta1) the <solution> task does not support .NET 3.5. The best work around I can find is to use the <exec> task to call MSBuild to build the solution. Here is a basic Nant build script that does this: <?xml version="1.0" ?> <project name="nant" ......

Posted On Wednesday, April 30, 2008 8:45 PM

The Silver Lining to the SOA Storm Cloud
For years I have been an SOA sceptic, and I remain so. As many have pointed out, SOA is an over-hyped and under-defined technology. Lately, however, I have detected a silver lining to the SOA storm cloud. It began with an inkling as to why SOA is so popular with senior managers. "Could it be", I thought, "that they dislike ERP software as much as I do?" To borrow a term from Jeff Atwood, ERP is "crapware". Might SOA be an alternative to ERP? Rather than monolithic crapware we could have many niche ......

Posted On Tuesday, April 29, 2008 5:11 AM

Single Responsibility Principle
For those not familiar with the single responsibility principle here is a good description from the c2 wiki. Each responsibility should be a separate class, because each responsibility is an axis of change. A class should have one, and only one, reason to change. If a change to the business rules causes a class to change, then a change to the database schema, GUI, report format, or any other segment of the system should not force that class to change. It is a counter-intuitive but valuable principle ......

Posted On Thursday, April 24, 2008 12:12 AM

Copyright © Liam McLennan | Powered by: