Agile & Lean Management

Refactoring the Software Development Process

Browsing Posts in Patterns and Practices

I was just reading the “hot” news that Unity 2.0 for Desktop and Silverlight was released. Now you mention it, the release was about a year ago. I agree, but it was its project description that got my attention. The Unity Application Block (Unity) is a lightweight extensible dependency injection container with support for constructor, [...]

Sometimes, you want to do some simple validation. For example, data should not exceed the reserved storage size for the field in the database. In this example CustomerName must be less than 10 characters. So, the client code should look like this: Customer customer = new Customer(); // customer name must be less than 10 [...]

O/R mapping is a programming technique needed for converting data between relational database records and an object-oriented programming language. Of course, there are plenty of O/R mapping tools, but I guess that a fool with a tool… So, lets look at O/R mapping then. As you can see in the next picture there are subtle [...]

With the introduction of Unity v1.2 it is now possible to do aspect oriented programming (AOP) using Unity in a way that is similar to Policy Injection. You can read all about it in my former post How-to AOP: Validation with Policy Injection, where I showed how-to AOP using Validation with the Policy Injection Application [...]

Validation of user input is very important. A lot of our users are very environmentally aware and throw all kinds of garbage in (= garbage out). So you probably better use extensive validation for all your dataclasses (or Business Entities, if you like).  A consequence is that you have to invoke validation almost everywhere in [...]