locked
Design Pattern RRS feed

Answers

  • User1030681450 posted

    when you need a class that has only one instance, and you need to provide a global point of access to the instance you implement the singleton pattern .

    A full article on singleton pattern will is available at

    http://msdn.microsoft.com/en-us/library/ff650316.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 16, 2011 9:44 PM

All replies

  • User1030681450 posted

    this link will help you understand where some of the widely used design patterns are implemented in the .net world along with examples

    http://msdn.microsoft.com/en-us/magazine/cc188707.aspx

     

    Hope this helps

    Wednesday, March 16, 2011 10:43 AM
  • User1655374113 posted

    What is Singleton Design pattern ? I didnot find in your link ?

     

    Wednesday, March 16, 2011 11:31 AM
  • User1030681450 posted

    when you need a class that has only one instance, and you need to provide a global point of access to the instance you implement the singleton pattern .

    A full article on singleton pattern will is available at

    http://msdn.microsoft.com/en-us/library/ff650316.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 16, 2011 9:44 PM
  • User-699953111 posted

    Today, all believe that take a manual and programd. It is more than that. Need to know about systems and to have the head prepared in order to think systematically. If you do not have concepts of systems are never understand the patterns of design.

    Friday, March 18, 2011 8:52 AM
  • User-952121411 posted

    I m feeling little bit difficult to understand those, in the sense where we use those patterns in real Development.

    To understand design patterns well and their real world use, you really need to have a solid grasp of Object Oriented Programming. If for some reason you do not, I would start with learning these concepts 1st before trying to understand the design patterns in that link. This is because many of the design pattern's uses are extensions of Object Oriented principals; without this understanding them, they may not make much sense.

    There are (2) books I will recommend: The 1st is more theoretical but still the main starting point for learning design patterns. The 2nd book gives several real world application of the design patterns to help make them understood:

    Design Patterns Elements of Reusable Object-Oriented Software

    http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612

    Professional ASP.NET Design Patterns

    http://www.amazon.com/Professional-ASP-NET-Design-Patterns-Millett/dp/0470292784/ref=sr_1_1?s=books&ie=UTF8&qid=1300137579&sr=1-1

    Friday, March 18, 2011 3:00 PM
  • User1182340765 posted

    As to my own experience, you won't be able to understand design pattern well just by reading articles or books. You need to do real application development especially complex and large scale project. Within your development experience, you will gradually notice that some of the architecture can be improved to provide better functionality, extendibility and maintenance. At this point, start to study design patterns then you will find out their power and inscribe them in your head.

    Friday, March 18, 2011 3:29 PM