Logo

Maarten Balliauw {blog}

ASP.NET, ASP.NET MVC, Azure, PHP, OpenXML, VSTS, ...

About the author

Maarten Balliauw is an MVP ASP.NET and is currently employed as .NET Software Engineer at RealDolmen. His interests are mainly web applications developed in ASP.NET (C#) or PHP.
More about me More about me
Send mail E-mail me


Microsoft Most Valuable Professional - MVP - ASP.NET

Subscribe to my RSS feed Follow me on Twitter! View Maarten Balliauw's profile on LinkedIn RealDolmen - Rock-solid passion for ICT
I'm a speaker at TechDays Belgium and TechDays Finland

Search

Latest Twitter

    Follow me on Twitter...

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

    © Copyright Maarten Balliauw 2010

    Query the cloud with PHP (PHPLinq and Windows Azure)

    PHPLinq Architecture I’m pleased to announce PHPLinq currently supports basic querying of Windows Azure Table Storage. PHPLinq is a class library for PHP, based on the idea of Microsoft’s LINQ technology. LINQ is short for language integrated query, a component in the .NET framework which enables you to perform queries on a variety of data sources like arrays, XML, SQL server, ... These queries are defined using a syntax which is very similar to SQL.

    Next to PHPLinq querying arrays, XML and objects, which was already supported, PHPLinq now enables you to query Windows Azure Table Storage in the same manner as you would query a list of employees, simply by passing PHPLinq a Table Storage client and table name as storage hint in the in() method:

    $result = from('$employee')->in( array($storageClient, 'employees', 'AzureEmployee') )
                ->where('$employee => $employee->Name == "Maarten"')
                ->select('$employee');

    The Windows Azure Table Storage layer is provided by Microsoft’s PHP SDK for Windows Azure and leveraged by PHPLinq to enable querying “the cloud”.

    kick it on DotNetKicks.com


    Comments

    DotNetKicks.com |

    Wednesday, July 29, 2009 1:22 PM

    trackback

    Query the cloud with PHP (PHPLinq and Windows Azure)

    You've been kicked (a good thing) - Trackback from DotNetKicks.com

    DotNetShoutout |

    Wednesday, July 29, 2009 7:04 PM

    trackback

    Query the cloud with PHP (PHPLinq and Windows Azure) - Maarten Balliauw

    Thank you for submitting this cool story - Trackback from DotNetShoutout

    progg.ru |

    Thursday, July 30, 2009 6:18 AM

    trackback

    Делайте запросы к облаку на PHP (PHPLinq и Windows Azure)

    Thank you for submitting this cool story - Trackback from progg.ru

    Comments are closed