How to parse XML with PHP's SimpleXML

By Josh Sherman
1 min read
development
php

Parsing XML in PHP couldn’t be easier thanks to the SimpleXML extension. SimpleXML allows you to read in an XML string, verify that it is in fact XML and can create an object that you can interact with by way of the node names in the XML.The SimpleXML extension also […]

$10 Showdown: Linode vs. DigitalOcean

By Josh Sherman
6 min read
reviews
hosting
linode
digitalocean

Every time I think that I’m done with this topic for a while, someone (usually Linode) drops something new on us. The latest from Linode is the addition of a 10$ a month plan which nearly puts it in line with DigitalOcean in regard to low tier pricing. Because of […]

Checking your IMAP email using PHP

By Josh Sherman
1 min read
development
php
email

I have an upcoming freelance project coming up that includes checking an IMAP email account as well as working with XML in PHP. Let’s talk about connecting to an IMAP account in PHP, don’t worry, I’ll discuss parsing XML next week ;) For the sake of example, we’re going to […]

Android Pros and Cons after 2 years with an iPhone

By Josh Sherman
7 min read
reviews
google
android
apple
iphone

I recently discussed migrating to cross-platform apps in an attempt to break away from the Apple Ecosystem which was a precursor to me swapping my iPhone 4S for a Nexus 5. Now it’s time to talk about the pros and cons that I ran into by making the move. PRO: […]

How to calculate Mother’s Day and Father’s Day with PHP

By Josh Sherman
1 min read
development
php

A little late on the Mother’s Day part, but since today is Father’s Day, I figured it would be fun to discuss how to obtain the dates for these moving holidays. To do so, all we need to use is use strtotime and tell it when the holiday will occur […]