News

Microsoft Bridges PHP to ADO.NET Data Services

In its latest bid to show its support for PHP, Microsoft late last week released a toolkit that will bridge the popular scripting language to .NET-based data-driven applications.

Microsoft's PHP ToolKit for ADO.NET Data Services is an open source project sponsored by the company and developed by Persistent Systems, a venture-backed provider of outsourced software development services.

The toolkit, available for download on Microsoft's open source hosting site CodePlex, is designed to let PHP developers invoke Microsoft's ADO.NET Data Services, formerly known as Project Astoria.

ADO.NET Data Services, added last year to the .NET Framework 3.5, exposes numerous data sources ranging from traditional relational databases to XML files through RESTful Web services, said Claudio Caldato, a senior program manager for Microsoft's Interoperability Technical Strategy team in a blog posting Friday.

"The goal is to make it easier for PHP developers to consume data that is exposed through ADO.NET Data Services," Caldata said in a video presentation embedded in the blog posting.

The bridge will be critical for interoperability between PHP and .NET-based data-driven applications, said Stephen Forte chief strategy officer at Telerik, in an email. "This will make Astoria (ADO.NET Data Services) easier to use for PHP developers, helping Astoria adoption," Forete noted. "Supporting PHP is also an admission that Microsoft is serious about interoperability and views PHP as important."

IDC analyst Al Hilwa agreed. "This technology is neat and shows Microsoft is paying attention to PHP and the 'other side' of Web developers it typically has not paid attention to in the past." Hilwa said in an email.

Microsoft has been ramping up its PHP support of late, most recently for Azure and SQL Server, Hilwa noted. "This particular [tool] caters to a style of interoperability that is really becoming more popular, namely connecting through REST interfaces."

Nevertheless most agree that Microsoft's PHP support is an acknowledgement that customers are looking to reduce costs. "I think it's recession-related," said Andrew Brust, chief of new technology at twenty New York.  "Software companies seem to invest more in supporting heterogeniety when they know their customers have to make due with the mixed environments that they have."

In his blog posting, Caldeta pointed to two key aspects of the PHP toolkit: first it generates proxy classes based on metadata exposed via ADO.NET Data Services.
Secondly, at run time, developers can call PHP proxy classes from their code making it easier program against the ADO.NET Data Service 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," he noted, "but of course you can look at (or edit) this code."
The toolkit can be downloaded here.

About the Author

Jeffrey Schwartz is editor of Redmond magazine and also covers cloud computing for Virtualization Review's Cloud Report. In addition, he writes the Channeling the Cloud column for Redmond Channel Partner. Follow him on Twitter @JeffreySchwartz.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube