Never run out of “firsts”

By Josh Sherman
2 min read
retrospection
inspiration

If you know me, then you’re probably aware of my recent desire to move away from my hometown which is quite possibly just me going through a quarter-to-mid-life crisis. Before we can get the hell out of dodge, I have to find the right career opportunity abroad. I’m fortunate that […]

How to generate the Fibonacci sequence with PHP

By Josh Sherman
1 min read
development
php

The Fibonacci sequence is a sequence of numbers that are derived from the previous numbers in the sequence. The sequence starts at zero and each subsequent number is sum of the previous two numbers in the sequence. There are a number of ways to accomplish this and the most common […]

Stop Accommodating Shortcomings

By Josh Sherman
3 min read
development
database
php

I came to a very liberating conclusion the other day. I need to stop fucking around with MySQL, or any other RDBMS, and fully embrace a NoSQL server as my primary data store. I’ve been a huge fan of Redis for quite some time but the fact that everything lives […]

How to connect to MongoDB using PHP

By Josh Sherman
1 min read
development
php
mongodb

I’ve previously discussed installing the MongoDB module but have yet to touch on how to actually do anything past the install. The first thing to do is to connect to the MongoDB server. This can simply be done like this: $client = new MongoClient(); This will connect to the default […]

Thoughts on API design

By Josh Sherman
7 min read
development

I recently had the opportunity to have a discussion about API design and RESTful services with Vasusen Patil. I’ve also been having quite a few conversations of similar nature with Justin Davis over the last few months. These types of conversations are some of my favorite because, for the most […]