Posts

Showing posts with the label Design

Design Patterns - Command Pattern

Image
As said in the last post, here I'm starting with my first post on Design Pattern implementation in Java. A Small Intro On Core Design Patterns:         Many define Pattern with different statements. The most common one: pattern is a solution for common and reoccurring design issue. The term Pattern was coined by Christopher Alexander in his book, "A Pattern Language: Towns, Buildings, and Construction" . GoF classified patterns based on Purpose and Scope. Purpose criteria classifies patterns based on what the pattern does:         1)Creational patterns - dealts with object Creation         2)Structural patterns - composition of class and objects,         3)Behavioral patterns - responsibility of class and objects. Scope classifies based on where it applies to : class or object. Let me start my series on Design patterns with one...