Abstract
Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.1
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
Design Patterns: Elements of Reusable Object-Oriented Software, p. 349
- 2.
- 3.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Kelt Dockins
About this chapter
Cite this chapter
Dockins, K. (2017). Strategy. In: Design Patterns in PHP and Laravel. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2451-9_24
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2451-9_24
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2450-2
Online ISBN: 978-1-4842-2451-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books