Design Pattern Separation of Concerns
Short Description
Design Pattern: Separation of Concerns. Steven Smith. Design patterns allow developers to solve common problems with generic solutions. The …
Website: www.geometryit.com | Filesize: 54kb
Content
Geometry Pty Ltd
- 1 - 1 December 2005
Design Pattern: Separation of Concerns
Steven Smith
Design patterns allow developers to solve common problems with generic solutions. The
“Separation of Concerns” design pattern defines a way to structure program code to avoid
dependencies. By using it, you will develop clearer, more stable, re-usable and
maintainable code.
Issues
?Re-using components that know too much about their environment
?Separate application modules become inter-dependent
?Presentation becomes tightly coupled with functionality
?Data storage becomes tightly coupled with the application
Causes
?Lazy development looking for the quickest, easiest solution
?Lack of understanding of the system being developed or maintained
?Lack of understanding of how to implement generic solutions
Solutions
The “Separation of Concerns” design pattern is actually more than just a design pattern. It is a
way of thinking about application development. It is a way to organise the interactions between
components within the application being developed. For this article, the term component refers
to some part of the application that has some clear function within the system. This may be as
large as a database or as small as an object. What…
Get the file Download here
Related Books:Related Searches: pattern separation, generic solutions, structure program, maintainable code, description design
Comments
Leave a Reply