Sorting Windows Azure Table Entities by Timestamp with PHP

June 2, 2011

One of the things that really irks me about retrieving data from Windows Azure Tables is it’s apparent lack of sortability. Coming from the world of MySQL and RDBMS I am used to being able to manipulate my data in all directions. When you retrieve a set of entities from a Windows Azure Table they

How to change OS family with the Windows Azure PHP Command-line Tools

April 21, 2011

Newer Note: The Interoperability Team at Microsoft has annouced a new version of the Windows Azure SDK for PHP which contains a set of shiny new command line tools and has deprecated the Windows Azure PHP Command-line Tools project. This post is not valid for the SDK, however a config file of the same name

How to change VM size with the Windows Azure PHP Command-line Tools

April 21, 2011

Newer Note: The Interoperability Team at Microsoft has annouced a new version of the Windows Azure SDK for PHP which contains a set of shiny new command line tools and has deprecated the Windows Azure PHP Command-line Tools project. This post is not valid for the SDK, however a config file of the same name

A hack to stop false storage connection failures with PHP on Windows Azure

April 20, 2011

What I am about to show you is a terrible hack, however if you are having random issues with storage connection in Windows Azure while using the PHP SDK this just might be the stopgap to keep your app working. First let me give you a description of the issue: Your code instantiates an object

PHP: Strip empty lines and comments from files in a directory recursively

April 6, 2011

In a recent project I needed to strip all the empty lines and comments from all the files in a directory and it’s sub directories. Being a PHP developer I naturally turned to PHP to do the work for me. What I came up with is a simple solution that let’s you send in a