RidgeRun Developer Manual - Design Patterns

From RidgeRun Developer Wiki





  Index  





What is a Design Pattern?

The design patterns movement in Computer Science was influenced by Christopher Alexander’s work. This man was an architect who created the “pattern language”, a theory not only applicable to Architecture but to other fields like Software Engineering as well. He defined what a pattern is as follows:

Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice.

Why are important?

Patterns provide you with a way to solve issues related to software development using a proven solution. The solution facilitates the development of highly cohesive modules with minimal coupling. They isolate the variability that may exist in the system requirements, making the overall system easier to understand and maintain. Also, design patterns make communication between designers more efficient. That means you can describe how your code works more easily by referring to the pattern that is being used.




Index