Chat Personas

By Josh Sherman
1 min read
developer etiquette

Going to make this brief since it’s Easter and I forgot to blog ahead of time this week. So I’ve recently been hanging out on a few Slack teams. One with the work crew, one with my small group of tech friends and a couple of “public” teams with local […]

Serializing and unserializing variables in PHP

By Josh Sherman
1 min read
development
php

Serialization in PHP is the act of converting a variable into a storable value. When I say storable, I mean being able to store the result in say, a database or a flat file. This is commonly applied to arrays and objects as they are not simply text strings. Under […]

Decouple your code from your web server

By Josh Sherman
4 min read
development
holiday api

I used to be quite adamant about running nearly the same exact software stack locally as I did on my servers. Running Linux made it easy to pull this off and being able to do the same on OS X was a contingency for switching. I have never been a […]

Start your day with a list

By Josh Sherman
3 min read
productivity
writing
time management
project management
motivation

I’ve been seeing these “how productive people start their day” posts on my social feeds a lot more recently. It got me thinking, “hey, I consider myself successful, how do I start my day?” A while back I started to make mental notes about how I started my day, or […]

Calculate the length of a string with PHP

By Josh Sherman
1 min read
development
php

Calculating the length of a string is a useful feature of any language, in fact it’s one of the few pieces of functionality that has a consistently simple syntax across modern languages. You can calculate the length of a string as part of some server side user input validation or […]