Showing posts with label Design Pattern. Show all posts
Showing posts with label Design Pattern. Show all posts
Wednesday, February 1, 2012
Wednesday, May 5, 2010
Sunday, February 28, 2010
Tuesday, December 1, 2009
Singleton pattern
In software engineering, the singleton pattern is a design pattern that is used to restrict instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system. The concept is sometimes generalized to systems that operate more efficiently when only one object exists, or that restrict the instantiation to a certain number of objects (say, five). Some consider it an anti-pattern, judging that it is overused, introduces unnecessary limitations in situations where a sole instance of a class is not actually required, and introduces global state into an application.
http://en.wikipedia.org/wiki/Singleton_pattern
http://en.wikipedia.org/wiki/Singleton_pattern
Wednesday, November 25, 2009
Inversion of control
Inversion of control, or IoC, is an abstract principle describing an aspect of some software architecture designs in which the flow of control of a system is inverted in comparison to procedural programming.
http://en.wikipedia.org/wiki/Inversion_of_control
http://caterpillar.onlyfun.net/Gossip/SpringGossip/IOC.html
http://msdn.microsoft.com/en-us/library/cc707904.aspx
http://en.wikipedia.org/wiki/Inversion_of_control
http://caterpillar.onlyfun.net/Gossip/SpringGossip/IOC.html
http://msdn.microsoft.com/en-us/library/cc707904.aspx
Wednesday, November 18, 2009
Factory Method Pattern
The factory method pattern is an object-oriented design pattern. Like other creational patterns, it deals with the problem of creating objects (products) without specifying the exact class of object that will be created. The factory method design pattern handles this problem by defining a separate method for creating the objects, whose subclasses can then override to specify the derived type of product that will be created. More generally, the term factory method is often used to refer to any method whose main purpose is creation of objects.
http://en.wikipedia.org/wiki/Factory_method_pattern
http://lennilobel.wordpress.com/2009/08/06/leveraging-polymorphism-with-factory-classes/
http://dofactory.com/Patterns/PatternFactory.aspx
http://en.wikipedia.org/wiki/Factory_method_pattern
http://lennilobel.wordpress.com/2009/08/06/leveraging-polymorphism-with-factory-classes/
http://dofactory.com/Patterns/PatternFactory.aspx
Subscribe to:
Posts (Atom)