Alex,
Thank you very much for your feedback and point of view. As anyone who is a regular reader of this site knows, your advice should carry a lot of weight, and it does with me.
I agree completely that breaking up the class into a set of more single-responsibility classes working together is the way to go for production.
I would really appreciate hearing more about your suggestion for replacing the static properties. I felt it was an appropriate solution for values within the object that would not be changing through its lifespan, but I am here to learn as well, and am certainly open to correction :-)
I will definitely be taking your advice to heart as I work on my next article.
Thank you again for your feedback. I REALLY appreciate it! Happy PHPing!
↧
By: Alex Fraundorf
↧