“Is experience exactly the same as pessimism?”

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

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 freelancing. Check it out! www.wpelevation.com/2015/01/episode-65-justin-sternberg

Or watch it here:

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: .@wilto… Read More

“Designeveloper — a Practical Designer’s Guide to Next-level Your Developexpertise” Presentation – WordCamp Philly ’15

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 describe them. My personal favorite is ‘designeveloper’ (yep, it’s even on my Twitter bio). My transition began from a house painter and part-time graphic designer to a web designer for WebDevStudios. Over the course of my 4 years at WebDevStudios, I made the transition from a web designer to a developer and now even, a developer lead. I aim to give some practical insights and resources to help make that designer/developer transition and learning curve a little less scary. Maybe… even a little exciting.

— https://philly.wordcamp.org/2015/

Follow along with the slides over here.

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 tips & tricks I’ve learned along the way. I definitely recommend checking them out. The two resource slides at the end are gold. dsgnwrks.pro/wdslunch-better-javascript

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) April 2, 2015 A great deal… Read More

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. spl_autoload_register is your friend. Namespaces… Read More

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

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 recommend a read. It will probably make you smarter.

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

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: This function will return 1 for production, 2 for your staging environment,… Read More

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 — Singleton Why Singletons are… Read More

Fast, secure WordPress hosting is provided by WP Engine.