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 here.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2010 Matt Zandstra
About this chapter
Cite this chapter
Zandstra, M. (2010). Generating Object. In: PHP Objects, Patterns, and Practice. Apress. https://doi.org/10.1007/978-1-4302-2926-1_9
Download citation
DOI: https://doi.org/10.1007/978-1-4302-2926-1_9
Publisher Name: Apress
Print ISBN: 978-1-4302-2925-4
Online ISBN: 978-1-4302-2926-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books