Tuesday, 22 April 2014

JAVA Design Patterns

WHAT:

       Design patterns represent the best practices used by experienced object-oriented software developers. Design patterns are solutions to general problems that software developers faced during software development.
A DESIGN PATTERN IS A WELL DESCRIBED SOLUTION TO A COMMON SOFTWARE PROBLEM.

WHY:
Design Pattern describes:
  • Each Design Pattern describes a problem in development and in which situation the problem occurs.
  • It also Describes Why this Problem occur
  • Provides solutions for every Problem.
  • We can use this solution many times.
  • Describes when to use this design patterns and what are the consequences.

Design Patterns have the follwing main usages in software development.

  1. Design Patterns are already defined and provides industry standard approach to solve a recurring problem, so it saves time if we sensibly use the design pattern.
  2. Using design patterns promotes reusability that leads to more robust and highly maintainable code. It helps in reducing total cost of ownership (TCO) of the software product.
  3. Since design patterns are already defined, it makes our code easy to understand and debug. It leads to faster development and new members of team understand it easily.
We Have  mainly 23 Design patterns in Java and Categorized into 3 types.

              
       To see  Categories design patterns explanation click here
                                           
                             

No comments:

Post a Comment

test