Abstract
Creating objects is a messy business. So, many object-oriented designs deal with nice, clean abstract classes, taking advantage of the impressive flexibility afforded by polymorphism (the switching of concrete implementations at runtime). To achieve this flexibility, though, I must devise strategies for object generation. This is the topic I will look at in this chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 Matt Zandstra
About this chapter
Cite this chapter
Zandstra, M. (2016). Generating Objects. In: PHP Objects, Patterns, and Practice. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1996-6_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1996-6_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1995-9
Online ISBN: 978-1-4842-1996-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books