Tag Archives: Decorator Pattern

Helping WordPress make friends with the decorator pattern

In some plugin circles (also know as the “cool kids club”), the coolest kid on the block is the wpdb class. Plugins go out of their way to be his friend. Lucky guy (or class)!

One plugin that has to be friends with wpdb is HyperDB. If plugins could talk, it would sound a lot like a scene from kindergarden.

Continue reading Helping WordPress make friends with the decorator pattern