Skip to main content

Towards a General Theory of Patterns

  • Chapter
  • First Online:
Book cover Cyberpatterns
  • 1556 Accesses

Abstract

As knowledge of solutions to recurring design problems, a large number of software design patterns (DP) has been identified, catalogued and formalized in the past decades. Tools have been developed to support the application and recognition of patterns. However, although the notions of pattern in different subject domains carry a great deal of similarity, we are in lack of a general theory that applies to all types of design patterns. This paper is based on our previous work on formalization of OO DPs and an algebra of pattern compositions. We propose a generalization of the approach so that it can be applied to other types of DPs. In particular, a pattern is defined as a set of points in a design space that satisfy certain conditions. Each condition specifies a property of the instances of the pattern in a certain view of the design space. The patterns can then be composed and instantiated through applications of operators defined on patterns. The paper demonstrates the feasibility of the proposed approach by examples of patterns of enterprise security architecture.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 54.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Blakley B, Heath C et al. The open group: Security design patterns. Technical Guide; 2004.

    Google Scholar 

  2. Yoshioka N, Washizaki H, Maruyama K. A survey on security patterns. Prog Inform. 2008;5:35–47.

    Article  Google Scholar 

  3. Taibi T, editors. Design patterns formalization techniques. Hershey: IGI Publication; 2007.

    Google Scholar 

  4. Bayley I, Zhu H. Formal specification of the variants and behavioural features of design patterns. J Syst Softw. 2010;83(2):209–21.

    Article  Google Scholar 

  5. Bayley I, Zhu H. A formal language for the expression of pattern compositions. Int J Adv Softw. 2011; 4(3, 4):354– 366.

    Google Scholar 

  6. Zhu H, Bayley I. An algebra of design patterns. ACM Trans Softw Eng Methodol. 2013; 22(3):23.

    Google Scholar 

  7. Shaw M. The role of design spaces. IEEE Softw. 2012;29(1):46–50.

    Article  Google Scholar 

  8. Brooks FP Jr. The design of design: Essays from a computer scientist. Boston: Addison-Wesley; 2010.

    Google Scholar 

  9. Yoshikawa H. General design theory and a CAD system. Proceedings of the IFIP WG5.2-5.3 1980 working conference on man–machine communication in CAD/ CAM, p. 35–57, North-Holland; 1981.

    Google Scholar 

  10. Kakuda Y, Kikuchi M. Abstract design theory. Annals of Japan Association for Philosophy of Science; 2001.

    Google Scholar 

  11. OMG. MDA Specification. Object management group, USA (2010). http://www.omg.org/mda/specs.htm

  12. Zhu H. An institution theory of formal meta-modelling in graphically extended BNF. Front Comput Sci. 2012;6(1):40–56.

    MATH  MathSciNet  Google Scholar 

  13. Chiswell I, Hodges W. Mathematical Logic, volume 3 of Oxford Texts in Logic. Oxford: Oxford University Press; 2007.

    Google Scholar 

  14. Sherwood J, Clark A, Lynas D. Enterprise security architecture: A business-driven approach. CA: CMP Books; 2005.

    Google Scholar 

Download references

Acknowledgments

The work reported in this paper is funded by the Oxford Brookes University. The author would like to thank Prof. David Duce, Dr. Ian Bayley and Mr. Clive Blackwell for discussions on related topics.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hong Zhu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Zhu, H. (2014). Towards a General Theory of Patterns. In: Blackwell, C., Zhu, H. (eds) Cyberpatterns. Springer, Cham. https://doi.org/10.1007/978-3-319-04447-7_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-04447-7_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-04446-0

  • Online ISBN: 978-3-319-04447-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics