Monthly Archives: December 2011

How to avoid “tight coupling” in a WordPress Plugin?

This was asked today over at Stackoverflow (WordPress Plugin: How do I avoid “tight coupling”?) and I was able to grasp some time for an answer, I thought it’s worth linking it for the interested reader. Sure it can’t answer … Continue reading

Posted in Hakre's Tips, Linked, PHP Development, Pressed, WordPress Support | Tagged , , , , , , , , , | 1 Comment

Where Have All the Singletons Gone? by Misko Hevery

Posted on by hakre | Leave a comment

The Clean Code Talks — Inheritance, Polymorphism, & Testing (Speaker: Misko Hevery)

Posted on by hakre | Leave a comment

Will Automattic join Dec 29 move away from GoDaddy day?

With all the reports about SOPA and GoDaddy (Mashable, PC World, ars technica, Read Write Web, VentureBeat, …) I was wondering if Automattic, one of GoDaddy’s customers, has been taking note of selfprodigy’s reddit posting: I’m suggesting Dec 29th as … Continue reading

Posted in Pressed, Save the Date, Surviving the Internet | Tagged , , , , , | 3 Comments

PHP UTF-8 String Length

If you’ve got an UTF-8 encoded PHP string (e.g. when working with DOMDocument) and you don’t want to rely on the mbstring extension to get it’s length, this can be solved with a simple regular expression (as the string does … Continue reading

Posted in PHP Development, PHP Library, Pressed, The Know Your Language Department | Tagged , , , , , , , , | 1 Comment

If you’re a developer and you’re about to ask another developer a technical question (on a forum, via email, on a chat channel, or in person), you’d better be ready to answer the question “What have you tried?”

Posted on by hakre | Leave a comment