“Like every pattern, this pattern needs a name, and our working title is “midlayer mistake”. This makes it sounds more like an anti-pattern, as it appears to describe something that should be avoided. While that is valid, it is also very strongly a pattern with firm prescriptive guides. When you start seeing a “midlayer” you know you are in the target area for this pattern and it is time to see if this pattern applies and wants to guide you in a different direction. Read more…
Category: Design Patterns
Article by Neil Brown. Find it here…
One of the topics of ongoing interest in the kernel community is that of maintaining quality. It is trivially obvious that we need to maintain and even improve quality. It is less obvious how best to do so. One broad approach that has found some real success is to increase the visibility of various aspects of the kernel. This makes the quality of those aspects more apparent, so this tends to lead to an improvement of the quality. Read more…
Design Patterns are well known design solutions for well known design problems. Design pattern will provide you the approach in which you have to solve the design and not the implementation. Design patterns will not define the architecture, but only defines the solutions for the design problems.
A Famous architect called Christopher Alexander originated the concept. Later the concept was copied to other disciplines. Gang-of-four is a well know book on software design patterns.
Patterns are something which are recurring. If we take some design problems we will be able to correlate some common patterns in it. Design patterns help you in resolving those issues which has already proven solutions developed.
There are four types of design patterns.
1) Creational Pattern – Deals with how the object needs to be created.
2) Structural Pattern – Deals with how to establish relation between two entities.
3) Behavioral Pattern – Deals with the common communication patterns between the objects.
4) Concurrency Pattern – Quiz? Can somebody answer?
Blogged with Flock