| Topic : Design Patterns for Testability |
|
|
Posted in Community :
Design Patterns in Java
|
|
||
|
Source : http://www.mindspring.com
Activity:
1 comments
412 views
last activity : 07 06 2010 20:18:04 +0000
|
||
|
|
Here are some of the design Pattern which are commonly followed by the people :
Fundamental Design Patterns
- Delegation : Delegation is a way of extending and reusing a class
- Interface: Keep a class that uses data and services provided by instances of other classes independent of those classes by having it access those instances through an interface
- Immutable:The Immutable pattern increases the robustness of objects that share references to the same object and reduces the overhead of concurrent access to an object.Is related pattern which are more widelu used are Singleton Process.
- Proxy: The Proxy pattern forces method calls to an object to occur indirectly through a proxy object. Other related Proxy methods are:
Access Proxy, Facade proxy, Virtual Proxy, Decorator.
Creational Patterns
- Abstract Factory: Given a set of related abstract classes, the Abstract Factory pattern provides a way to create instances of those abstract classes from a matched set of concrete subclasses. The Abstract Factory pattern is useful for allowing a program to work with a variety of complex external entities such as different windowing systems with similar functionality.Its related Pattern are: Factory Method and Singleton.
- Builder : The Builder pattern allows a client object to construct a complex object by specifying only its type and content. Related design patterns are:Interface, Composite, Factory, Factory Layerd, Null object and Visitor.
- Object Pool : Manage the reuse of objects for a type of object that is expensive to create or only a limited number of a kind of object can be created.Related patterns are: Cache Method, Factory Method and singleton.
Partitioning Patterns
- Layered Initialization : When you need multiple implementations of an abstraction, you usually define a class to encapsulate common logic and subclasses to encapsulate different specialized logic. Its related patterns are: Builder, Facade, Factory, layered and Composite.
- Filter : The Filter pattern allows objects that perform different transformations and computations on streams of data and have compatible interfaces to be dynamically connected to perform combinations of operations on streams of data.
Structural Patterns
- Adapter : An Adapter class implements an interface known to its clients and provides access to an instance of a class not know to its clients.
- Virtual Proxy The Virtual Proxy pattern hides the fact that an object may not yet exist from its clients, by having them access the object indirectly through a proxy object that implements the same interface as the object that may not exist
Behavioral Patterns
- Snapshot : Capture a snapshot of an object's state so that the object's state can be restored later.
- Template Method :Write an abstract class that contains only part of the logic needed to accomplish its purpose
TrackBack URL:
1 comments on "Trends of Design Pattern"
Sort by:
Most Recent
Top Rated
Commented by
Darpan Sinha, Solution Architect, Fujitsu Consulting India Pvt Ltd
| 09 08 2008 03:02:10 +0000
Report Abuse
Not Rated
Found the article
"Trends of Design Pattern"
interesting ?
Share with your connections and communities

Leading Recruitment Firm
- Create a confidential Career Profile and Resume/C.V. online
- Get advice for planning their career and for marketing of experience and skills
- Maximize awareness of and access to the best career opportunities
Viewers also viewed
|
|
|
|
|
|
Recent Knowledge (60)
|
|
|
|
Sponsored Jobs
More From Author
I would not say it is boring but yes it is monotonous and working on some software time and again will get boring but it is also challenging at the same time where you need to write codes where you are making things simpler and simpler and its not an... |
These days, you won’t always have immediate access to everyone who works on a given project. Maybe some aspects are being handled by freelancers. Maybe members of your team work remotely. Maybe you just aren’t in the office today. No matter how... |
Nice phone gourav... thanks for posting.. |