“This article explains five widely used design patterns in PHP with sample code to demonstrate each pattern. Intermediate level.”
I can’t say how many PHP programmers that could benefit from using these “design patterns.” So many times PHP, and PHP coders, make me feel like we’re just writing hacks all day. A solid understanding of these patterns and when to use the can make large projects better and more sound. It is so easy to write a complex website. It is a total pain trying to maintain it. These patterns are all about maintaining code, not just writing it.
Related Posts
- PHP Design - Biggest Database Oversights Over the last three years I've had the opportunity to work on several PHP projects, some of them having grown rapidly and required to scale quickly. Three in particular have been a fantastic learning experience for me. Now I don't consider myself a total expert, but I thought I would...
- Web Design & The Cookie Jar: When Dealing with Clients I saw this YouTube video and I couldn't help but post about it. Here is the video, and I'll add my thoughts at the end: I've seen this happen so many times it isn't even funny. You have a company with dozens of individuals giving their input on how something...
- SoapUI - a simple and raw Java SOAP Client There are times when you need a "raw" SOAP client to see the exact messages being sent to and from a Soap Sever. This is especially important for developers who are hosting a soap server for an API. In my example, PHP was throwing an error, but I couldn't see...
- PHP Singletons, Sub-Classing, and HAS-A Relationships I've been very busy these last fews weeks and have neglected making any posts. While there are a variety of subjects I'd love to post about, they'll most likely have to wait until the next year. However, I thought I might be able to throw up a quick example of...
- PHP5.x or PHP6 - Argument for Type-Hinting: Better IDEs I've read some posting lately about PHP6, the Meeting Notes by the Developers, etc. that deal with type-hinting, especially scalar type hinting. Here is my reasoning why PHP should allow for more type-hinting scenarios: it allows IDEs to be more powerful. An example would be auto completion. Many times an...

Recent Comments