Quantcast
Channel: Development Principles – DsgnWrks
Browsing all 10 articles
Browse latest View live

Gary Jones’ Recommended Resources on Avoiding Singletons

The Clean Code Talks – “Global State and Singletons” Why Singletons have no use in PHP Testing Code That Uses Singletons Making Singletons Safe in PHP The “Missing” Patterns of the PHP Manual —...

View Article



Sending a server-side (WordPress/PHP) development environment variable to...

This is written for PHP and/or WordPress, but the principle applies to any server-side language. First we’ll we’ll create a php function for determining our environment: <?php /** * Get development...

View Article

Giuseppe Mazzapica on: “What is the best way to initiate a class in a WP...

Giuseppe Mazzapica wrote a very thought-provoking and insightful response to the question “What is the best way to initiate a class in a WP plugin?” on wordpress.stackexchange.com. I definitely...

View Article

Using Class Autoloaders (in WordPress?!)

The other day, I tweeted out that I believe there is hesitancy in the WordPress world to use autoloaders. Don’t believe me? I feel like there’s hesitancy in the WP world w/ autoloaders....

View Article

WP_Error vs PHP Exceptions in WordPress

So today, I instigated a lively discussion on the topic of WP_Error vs PHP Exceptions. I’m curious why try/catch exceptions are rarely used in WP dev? Any insight? — Justin Sternberg (@Jtsternberg)...

View Article


Better Javascript, a WDSLunch presentation

In March, I (re)presented on some of the fundamentals of writing better javascript for an internal WDSLunch presentation. The slides contain a ton of useful info and are an accumulation of a lot of...

View Article

“Designeveloper — a Practical Designer’s Guide to Next-level Your...

Bridging the designer/developer gap is a challenge not often accepted. Designers who are comfortable in PHP and in the ‘back-end’ of WordPress are rare enough that we’ve coined the term ‘unicorn’ to...

View Article

Why you (we) should care about disabled Javascript

The conversation came up internally at WebDevStudios, and I knew I had seen Ethan Marcotte, and/or Mat Marquis rant on it a bit before (I mean that in the best way), so I hit them up on twitter:...

View Article


Interview on WP Elevation

It’s been a year since this interview, and just now realizing I haven’t put it up on this site. In this interview, Troy Dean of WP Elevation interviews me on topics like WebDevStudios, WordPress and...

View Article


“Is experience exactly the same as pessimism?”

This Dilbert strip is painfully accurate. (h/t @Rarst)

View Article
Browsing all 10 articles
Browse latest View live




Latest Images