Microsoft's Developer and Platform Evangelism Interoperability team is launching an open source project to bridge PHP and Microsoft's .Net programming model.
The company's PHP Toolkit for ADO.Net Data Services uses REST as a bridge between Microsoft's software platform and the popular PHP scripting language, said Peter Galli, Microsoft open source community manager, in a blog entry.
With the kit, developed by Persistent Systems, PHP developers can more easily take advantage of ADO.Net Data Services, which are a set of features in the .Net Framework for building and consuming data services from the Web. The services previously were referred to as Project Astoria.
The services "expose a wide range of data sources through a RESTful service interface," Galli said. Full support for ADO.NET Data Services is offered in Visual Studio 2008 SP1 and the upcoming Visual Studio 2010 platform.
At design time, the PHP toolkit generates proxy classes based on metadata exposed by ADO.Net Data Services. Developers can call from their code these classes at runtime, for programming against ADO.Net Data Services using local PHP classes.
"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," blogged Claudio Caldato, senior programme manager for Microsoft's Interoperability Technical Strategy team.
Funded by Microsoft, the PHP toolkit is available the Microsoft CodePlex site for open source projects. Microsoft also has partnered with PHP tools vendorZend Technologies to accommodate PHP within the Windows platform.