Anthony Chambers' Blog

Don't be Afraid of PDO

What are the differences between PHP's MySQL, MySQLi and PDO extensions?

Read More…

Posted on 19th August 2015 @ 22:51 by Anthony Chambers

Polymorphism through object inheritance

How to implement polymorphism in PHP through extending existing objects, rather than implementing an interface

Read More…

Posted on 16th August 2015 @ 20:11 by Anthony Chambers

Polymorphism in PHP

Making your PHP more easy to use and maintain through implementing and depending on an interface

Read More…

Posted on 16th August 2015 @ 19:00 by Anthony Chambers

Mutable vs Immutable

When is it OK to change your object state, and when is it not?

Read More…

Posted on 14th August 2015 @ 23:42 by Anthony Chambers

We Need to Talk About Encapsulation

and a little about constructors vs setters while we're here

Read More…

Posted on 14th August 2015 @ 23:27 by Anthony Chambers

Don't Inject Dependency Injection Containers

and code to an interface, not an implementation

Read More…

Posted on 10th August 2015 @ 19:08 by Anthony Chambers

Using DKIM with Amazon Simple Email Service and Route 53 and PHPMailer

Sending email via Amazon's SES will result in GMail stating that your email is from "You via" which is most likely not what you need. Using DKIM will remove this, as well as giving you an extra thumbs up against spam by email clients

Read More…

Posted on 27th September 2013 @ 11:24 by Anthony Chambers

AWS EC2 Instance Instance reachability check failed

A simple restart may result in the instance reachability check failing and your instance being seemingly broken. But is it?

Read More…

Posted on 12th September 2013 @ 11:45 by Anthony Chambers

PHP 5.5 PasswordFunctions in PHP 5.3 and 5.4

How to bring the excellent new password_hash(), password_verify() and the rest of the new password functions to older versions of PHP

Read More…

Posted on 10th July 2013 @ 21:13 by Anthony Chambers

Domain Name Propagation

What is DNS propagation and how does it affect your website?

Read More…

Posted on 12th November 2012 @ 15:33 by Anthony Chambers

Rsync to AWS EC2 Using .PEM key

How to use Rsync with standard Amazon Web Services instances that utilise a .PEM key instead of traditional username/password authentication

Read More…

Posted on 9th November 2012 @ 13:01 by Anthony Chambers

Windows 7 Folder Content Refresh Bug

When creating a new folder in a directory, the contents don't show up until F5 is pressed. Here is how I fixed it on my PC

Read More…

Posted on 28th August 2012 @ 12:05 by Anthony Chambers

Magento 1.7 Crashing Apache

Parent: child process exited with status 255 -- Restarting.

Read More…

Posted on 16th August 2012 @ 15:39 by Anthony Chambers

Moving On To Something New

A new job beckons, much sooner than anticipated

Read More…

Posted on 27th July 2012 @ 08:36 by Anthony Chambers

Recovering Plesk Email, FTP and database passwords

By default Parallels Plesk stores passwords in plain text, so they're scarily simple to retrieve

Read More…

Posted on 26th July 2012 @ 17:41 by Anthony Chambers

ZendFramework2 on CentOS5.7

Developing on the latest ZF2 beta with PHP5.3

Read More…

Posted on 13th June 2012 @ 23:24 by Anthony Chambers

What is the mobile web?

And how is it any different to the normal web?

Everybody is talking about the mobile web, but what exactly is it? The truth is that it doesn't exist. We give the illusion that there are two internets: One for desktop/laptop computers with relatively large screens, and then another for mobile devices like mobile phones. This simply isn't the case. There is only one internet.

Read More…

Posted on 6th June 2012 @ 16:23 by Anthony Chambers

Installing PHP5.3 MySQL5.5 and FastCGI on CentOS 5.7

Trying to create a development environment that matches our live servers required a little inginuity, as the server software versions are not directly available for the operating system in question

Read More…

Posted on 21st January 2012 @ 00:10 by Anthony Chambers

Anthony Chambers

Software Engineer, Cloud Architect and Development Manager

I'm a software engineer, cloud architect and development manager based in Nottinghamshire, England. I started

Read More…

Posted on 15th November 2011 @ 21:58 by Anthony Chambers