Design patterns don’t have to suck
Design patterns suck. This is a cold hard truth faced by many developers. They’d rather ahve their teeth extracted by a sadistic dentist who uses cayenne peppers instead of Novocaine than try and implement the Abstract Factory or the Mediator Pattern. And can you blame them? Reading the Gang of Four Design Patterns book is about as exciting as being hit over the head with a mallet. Seriously, that thing could double as a sleeping pill; it should carry a “Do not operate heavy machinery” label.
Sure, you might think “I’ll pick up a copy of X instead.” But if you write in pretty much any language besides Java, you’re out of luck on the code examples. Maybe, if you’re lucky, maybe you can understand them. But for most of us, we look at Java and our eyes glaze over. And we start dreaming of that dentist again.
And so, most developers spend their lives avoiding design patterns. And that’s really a shame. Because design patterns don’t have to suck. In fact, design patterns are a miraculously freeing tool that lets us stop worrying about how we’re going to accomplish something, and lets us get it done instead. Someone has already solved your problem! How liberating!
But there’s still that fun task of learning design patterns. How to go about it? That dull, thick book by the Gang of Four? Outdated books written for PHP 4 with a copyright of 2005? Some 515 page monolith on every object oriented topic ever? That’s no picnic.
Now there’s another option. In December, I’ll be sharing Practical PHP Design Patterns. This is my latest book, and it’s all about how you can use design patterns to make your life better. No more flipping through hundreds of pages to find the one you need, or reading through dull, dense copy written by professors. This book is all about giving you the information you need, when you need it, and in a format you can understand. It’s new, and it’s relevant, and it’s up to date.
On December 3rd, you can get a sneak peak of the book with a free chapter, but you have to be signed up to receive it! I’ve been working on this for about six months, and I’m really excited to share it with you.
Write better object oriented PHP today.
Object oriented programming always leaves you with a headache. What if you could master it instead?Get the book now! »