Browse by Tags

Related Posts

  • Design Patterns - Strategy Pattern

    The first pattern I want to talk about is the Strategy pattern , which always reminds me about the Command & Conquer games so I’ll simply use it as an example :) First of all, the definition: " Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm...
    Posted to David Cumps (Weblog) by CumpsD on 06-25-2008, 12:00 AM
    Filed under: C#, General Software Development, Visual Studio, .NET, Design Patterns
  • Design Patterns - Observer Pattern

    Yesterday we saw the Strategy Pattern . Today I want to talk about the Observer Pattern . First, the definition again: " Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically. " Read more at http://blog.cumps.be...
    Posted to David Cumps (Weblog) by CumpsD on 06-26-2008, 12:00 AM
    Filed under: C#, General Software Development, Visual Studio, .NET, Design Patterns
  • Design Patterns - Observer/Event Pattern

    Yesterday I described the Observer Pattern and mentioned that the .NET CLR provides this functionality through events and delegates . Let’s have a look on how to implement this right now. Read more at http://blog.cumps.be/design-patterns-observer-event-pattern/
    Posted to David Cumps (Weblog) by CumpsD on 06-27-2008, 12:00 AM
    Filed under: C#, General Software Development, Visual Studio, .NET, Design Patterns
  • Design Patterns - Decorator Pattern

    Following up on the Observer/Event Pattern , it’s time for the third pattern, the Decorator Pattern . The definition: " Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality. " Read more at http://blog.cumps.be...
    Posted to David Cumps (Weblog) by CumpsD on 06-29-2008, 12:00 AM
    Filed under: C#, General Software Development, Visual Studio, .NET, Design Patterns
  • Design Patterns - Factory Method Pattern

    I present you with the next pattern in our series , the Factory Method ! It took a while to get it out due to a stay in the hospital. (All is fine now :p) First of all, the definition: " Define an interface for creating an object, but let the subclasses decide which class to instantiate. The Factory...
    Posted to David Cumps (Weblog) by CumpsD on 07-12-2008, 12:00 AM
    Filed under: C#, General Software Development, Visual Studio, .NET, Design Patterns
  • Design Patterns - Abstract Factory Pattern

    Time to continue from yesterday's Factory Method Pattern by exploring the Abstract Factory Pattern . Anyway, time for the definition and then some code to make everything clear. " Provide an interface for creating families of related or dependent objects without specifying their concrete classes. " Read...
    Posted to David Cumps (Weblog) by CumpsD on 07-13-2008, 12:00 AM
    Filed under: C#, General Software Development, Visual Studio, .NET, Design Patterns
  • Design Patterns - Singleton Pattern

    Today we'll have a look at a well known pattern, the Singleton Pattern . Most people have already heard about this one. The definition: " Ensure a class has only one instance and provide a global point of access to it. " Read more at http://blog.cumps.be/design-patterns-singleton-pattern/
    Posted to David Cumps (Weblog) by CumpsD on 07-14-2008, 12:00 AM
    Filed under: C#, General Software Development, Visual Studio, .NET, Design Patterns
  • Design Patterns - Generic Singleton Pattern

    A little follow up from yesterday's Singleton Pattern , where I asked for some help on how you would approach a generic singleton . With the help of Andrew Stevenson and ExNihilo , we came up with the following Generic Singleton Pattern : Read more at http://blog.cumps.be/design-patterns-generic-singleton...
    Posted to David Cumps (Weblog) by CumpsD on 07-15-2008, 12:00 AM
    Filed under: C#, General Software Development, Visual Studio, .NET, Design Patterns
  • Design Patterns - Command Pattern

    What's a lonely geek to do late in the evening? Write about the Command Pattern of course... Let's start with the definition: " Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undo-able operations. " Read more at...
    Posted to David Cumps (Weblog) by CumpsD on 07-16-2008, 12:00 AM
    Filed under: C#, General Software Development, Visual Studio, .NET, Design Patterns
  • Design Patterns - Adapter Pattern

    We've seen quite a few patterns so far, and I'm glad so many people like them. They turned out to be the most popular posts I've ever written when it comes to development. Thanks! :) A little overview for the late joiners: Long Absence - Design Patterns Design Patterns - Strategy Pattern Design Patterns...
    Posted to David Cumps (Weblog) by CumpsD on 07-17-2008, 12:00 AM
    Filed under: C#, General Software Development, Visual Studio, .NET, Design Patterns
Page 1 of 2 (16 items) 1 2 Next >
Microsoft Communities