To keep programming productive and enjoyable, state-of-the-art practices and principles are essential. Object-oriented programming and design help manage complexity by keeping components cleanly separated. Unit testing helps prevent endless, exhausting debugging sessions. Refactoring keeps code supple and readable. PHP offers all this-and more. This book shows you how to apply PHP techniques and principles to all the most common challenges of web programming,
Web presentation and templates User interaction including the Model-View-Contoller architecture Input validation and form handling Database connection and querying and abstraction Object persistence
This is a book every PHP developer should have under the bed. I used to read this book everyday and even now I don't code everyday in PHP I still pick it because of how the author explains complex topics in such an easy way.
When PHP switched from spaghetti code to OOP, it took me two books to totally grok what was then a paradigm shift for me. This was the second book I read on the topic and it took me over the finish line.