Connecting to Azure

After having set up my environment and started my first coding, yesterday I actually got to play around with Azure. And really, it isn't all that hard! Things like "cloud computing" and "Azure Storage" sound complicated, but I found out that, using the right tools, working with that is a breeze.

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. 


Add comment

Php5_zce_logo

not tested in IE


Upcoming events

I will be speaking 08-10-2010: Symfony Day Cologne 2010
I will be speaking 09-10-2010: Symfony workshop

Tags

1337 2008 2010 4developers access modifiers accessibility AdaLovelaceDay09 advent agavi agile amsterdam apache apple article articles atk atkMetaNode audioscrobbler azure backwards compatibility barcelona bbc bbq beatstad belgium best practices bittorrent boards of canada book books bughuntday caching cake cal evans career cat cerf certificate cfp clear cms cologne common sense communities community conference conferences continuous integration contribute crisis css custom datetime DbFinderPlugin decorator decorators deployment devdays development directoryindex documentation download dpc dpc09 dpc10 DPC2008 dreamhost dv7 eclipse ed efficiency enterprise errors event events expertise ezcomponents facebook flickr framework frameworks freelance freeze frontend fun games germany getting real google googletalk graceful degradation hack hackers hidden gem hiphop howto hp html http ibuildings icann ide idm imovie indy ingewikkeld internet IPC ipc ipc08 javascript job jobeet john peel joomla kubuntu left on the web lighttpd lime linux live london loudblog m2ts mac malware mambo marjolein mediterra meeting meme meta methodology microsoft movie music mysql namespace namespaces netbeans netherlands nllgg odmarco open source opinion ORM osx paradiso pavilion pear performance personal pfc10 pfcongres pfcongrez photo php phpabstract phpazure phpBB phpbb phpbelgium phpbenelux phpbnl10 phpgg phpitalia phpnw phpnw08 phptek phptek09 phpuk2009 phpUnderControl phpunit php|architect php|tek podcast politics portability postcrossing presentation presentations private projects protected public qa recruiting refactoring review rewrite ruby on rails schedule scifi script security seven things sfdaycgn simplexml slides smfony software sogeti solar sound standard standards star trek static steer strings subversion symfony Symfony2 symfonycamp symfonyday symfonyUnderControlPlugin talk talks technology techportal tek09 telecommuting terratec terrorism testfest testing textpattern tips tld tomas training twig uncon unet usability usergroup validation vhost video vinyl virus warp weblogging wiki windows winphp women work workshop world world of warcraft wpi writing xml xpath xsd yara year youtube ZCE zemanta zend zend framework zend server zend studio Zend_Form
© 2004 - 2010 Stefan Koopmanschap + Powered by Symfony, photos powered by Flickr, links powered by Delicious, Shanghai smilies by Iconbuffet. Feeds: rss / atom. Left on the Web v4.4.0.1