Agile & Lean Management

Refactoring the Software Development Process

Browsing Posts tagged Validation

I am just back from attending a Leader’s Workshop Lean Software Development by the Poppendiecks. One of many valuable things I learned is that you have to eliminate waste that does not add customer value.   C# Design Patterns Top Posts Chain of Responsibility Factory Method Abstract Factory Interpreter State Other Category Top Posts Data [...]

In previous posts I wrote about validation AOP-style, using Policy Injection or Depency Injection (Unity). I am a true believer that this form of validation is the way to go. That said, what kind of validation do you really need? User Input Validation is probably the first thing that pops up into your mind, and [...]

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 [...]

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 [...]