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

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube