10
JAN
2009

AOP in Action – Part 2: Dirty Tracking using Mixins with Castle’s DynamicProxy

In Part 1, we used the Unity block to intercept properties for dirty tracking. Our target class needed to implement the IDirty interface, and the setter properties (annotated with the Dirty attribute) assigned the Dirty flag (of IDirty) when the value has changed. Take for...
02
NOV
2008

AOP in Action – Part 1: Dirty Tracking using Unity Interception

In most enterprise applications, you end up by having a lot of cross-cutting concerns throughout your application. Most of the time, you have, for example, infrastructure code for doing logging, dirty tracking, lazy loading, caching, etc. Often infrastructure code is scattered...
13
FEB
2006

Applied Patterns – Part 2

Building an application and/or library usually starts with an OO design. Typically from that design you will define interfaces and implement base classes, which can be used as a starting point for building your application. Defining the signature of a base class is very...
25
JAN
2006

Applied Patterns – Part 1

Nowadays, is every kind of enterprise application more complex because there is the need to have much richer UI experience, integration with other systems, security, etc. Therefore it’s important to have a good architecture and design of your application, so that you can...
09
AUG
2005

Domain Specific Language (DSL) for the GoF Patterns

With the DSL tools of VS.NET 2005 you can create your own designer integrated into VS.NET 2005 for a visual domain specific language. Clipcode has released a DSL for the Gang of Four patterns with the source code. Currently it provides the following patterns Abstract Factory...
08
JUL
2004

Declarative versus Imperative programming

Marc Clifton added a nice introduction to declarative versus imperative programming. Imperative programming (source) Describes computation in terms of a program state and statements that change the program state. Declarative programming (source) Gives the computer a list of...