Learning design patterns

Hi all,

I'm very interesting of learning design patterns.

I need your help please with two things :

1. Guid me start with easy patterns to understand then go harder. So if you have a list sorted by easy levels.

2. If you have links for concrete exampls for each design.

Please help.

Best regards...



Answer this question

Learning design patterns

  • BShaw

    There are good books available on this topic

    My recommendation would be

    1. Head First design patterns - for absolute beginners

    If you experienced in patterns, GOF book is the reference book.


  • cichanlx

    The Design Patterns Study Group of New York City has got some information about this.

    The best way to learn Patterns is to use them  write some code, look at it and start refactoring



  • Michelle S

    For a more in depth and practicle study of design patterns I recommend "Holub on Patterns - learning design patterns by looking at code". This is not suitable for beginners though.

  • Coder0xff

    Personally I don't recommend you starting too abstract

    I mean, are you developing with .NET So try to start with something simple you can understand, but also based in your current environment. You not only will understand them better, but also could immediatly discover opportunities to apply them in your own code, improving the quality and reusability of your results

    So, although a quick answer of your question "do you know a simple starting point" should be "try with the best seller of design patterns book: Gang of Four's DESIGN PATTERNS: ELEMENTS OF REUSABLE...", I recommend you to find alternate versions of that book applied to .NET or Java (depending of your development environment)

    If you develop with .NET, just check this out: http://www.dofactory.com/Patterns/Patterns.aspx

    If you develop with Java, I propose you start from
    http://home.earthlink.net/~huston2/dp/patterns.html

    But once you finish, once you understand the concept, applying it to real world enterprise class applications is not an intuitive task (it requires patience to become experienced)

    So again, depending on your environment, I recommend you to follow through

    .NET: Patterns and Practices Patterns repository
    http://msdn.microsoft.com/practices/topics/patterns/default.aspx

    Java Enterprise Edition (Java EE)
    http://www.corej2eepatterns.com/Patterns2ndEd/index.htm



  • cplusplus1

    I 100% agree with Clemens. The best way to learn Patterns is to map them to real scenario. For example, how do you use factory pattern to solve my problem in FullTimeStaff and PartTimeStaff scenario (see my other thread.) where staffType is stored in database.

  • Learning design patterns