Microsoft Bridges PHP and .NET

By Darryl K. Taft  |  Posted 2009-08-24 Print this article Print

Microsoft has released a new open-source project that bridges PHP and .NET using Representational State Transfer (REST).

Microsoft has released a new open-source project that bridges PHP and .NET using Representational State Transfer (REST).

Microsoft released the PHP Toolkit for ADO.NET Data Services, which makes it easier for PHP developers to take advantage of the ADO.NET Data Services, a set of features recently added to the .NET Framework. The PHP Toolkit for ADO.NET Data Services is an open source project funded by Microsoft and developed by Persistent Systems. It is available on Microsoft's CodePlex community development site.

In a blog post about the release, Peter Galli, a Microsoft open-source community manager, said:

"These services, which were previously referred to by the codename Project Astoria, expose a wide range of data sources through a RESTful service interface.

"There is full support for ADO.NET Data Services in Visual Studio 2008 SP1 as well as in the upcoming Visual Studio 2010, which includes direct support for both creating and consuming data services directly from the development environment."

Also, in a separate blog post detailing the new project, Claudio Caldato, senior program manager on Microsoft's Interoperability Technical Strategy team, said:

You should consider two aspects of the PHP Toolkit:

At design time: the PHP Toolkit generates proxy classes based on the metadata exposed by the ADO.NET Data Services (built with Visual Studio, including Express editions).

At run time: you call from your code the PHP proxy classes, so that you can easily program against the ADO.NET Data Service using a set of local PHP classes that represent the structure of the remote data. Using RESTful services over HTTP, the communication between the PHP application and ADO.NET Data Services is taken care of by the PHP proxy classes and the Toolkit libraries, but of course you can look at (or edit) this code.  

Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

Submit a Comment

Loading Comments...
Manage your Newsletters: Login   Register My Newsletters

Rocket Fuel