News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Brian Swan's Blog:
Using SQL Azure Federations via PHP
January 20, 2012 @ 08:31:46

Brian Swan has a new post to his blog about using Azure Federations in your PHP applications:

In a nutshell, SQL Azure Federations introduces an abstraction layer for the sharding of SQL Azure databases. The value in federations lies in your ability to have elastic scalability of the database layer of your application (to match the elastic scalability of the rest of your application when it's running in the cloud). And, one nice thing about the way federations work is that nearly everything can be done with simple SQL commands. Of course, that means that using SQL Azure Federations via PHP should be easy. So in this post, I'll introduce you to SQL Azure federations by showing you how to use them via PHP.

He uses the SQL Server drivers to make the connection to the Azure instance and, based on his included code, creates a federation and tables inside it. He also shows how to insert data into these tables, split up a federation, insert data after this split and how to query a federation member with the filtering on or off.

0 comments voice your opinion now!
azure federation tutorial windows sharding database


blog comments powered by Disqus

Similar Posts

Davey Shafik's Blog: Debugging on the Command Line with xdebug

DevShed: Abstracting Database Access Using Polymorphism with Objects in PHP 5

Lukas Smith\'s Blog: php|tek wrap up

Learn.IIS.net: Build a High-Performance PHP Stack with Windows IIS and Zend Server

Dean Clatworthy: Theming/styling error messages in Symfony 2


Community Events

Don't see your event here?
Let us know!


xdebug symfony2 conference community api introduction series extension podcast example performance release framework library voicesoftheelephpant laravel php7 opinion version interview

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework