Connecting to Azure

I was a bit afraid that it would be quite hard to connect to Azure Storage for my app, especially with the deadline looming in less than two weeks. My anxiety turned out to be without reason, mostly thanks to the great work of PHPAzure in abstracting away all the complicated stuff. Really, it is all about knowing which classes to use, which calls to make, and how to set it up. The PHPAzure documentation is a bit minimal, but with a bit of digging and trial-and-error it is actually quite easy to connect to Azure Storage.

What didn't help was a bit of confusion on my side on what I should use. I had mistaken SQLAzure and Azure Table Storage for some reason, and was trying to connect to Table Storage while having set up SQLAzure. Obviously that didn't work but after correcting that situation, I ended up having it set up correctly, all of it, and being able to connect to Azure Table Storage.

One open topic until yesterday was also my way of handling layout. I've decided that at least for page content I now use Twig. I might switch the page layout to Twig as well in the future so that all the layout-logic is done by a single system, but that's for later.

I did a push yesterday which will allow people to actually list, create and delete tables in Azure Storage. I don't think Azure allows for table edits (which would make sense since the name is the identifier in most cases, and it's the only thing you would be able to edit). Next up will be to list entities in the tables. I have to research a bit more, but as I see it right now, at least in the first version for entities you will be able to list and delete. Once that is done, I will be moving on to Blob storage, and I'm really looking forward to starting on that one.