It's no secret that Microsoft has ASP.NET technology (and adjacent ASP.NET MVC, ASP.NET AJAX, AJAX Control Toolkit, etc.), which is the de facto standard for .net-centric developers. At the same time, the number of PHP developers is also large, so it would be strange to ignore such a large audience.
This article presents material that I hope will help PHP developers better integrate their applications with Microsoft technologies and products (if, of course, there is a need for this).
The first is to read the article
“Migrating from PHP to ASP.NET” , which provides information on the comparison of architectures, features, syntax, common tasks and caching principles, as well as describes the next steps to explore the new platform.
The next step may be to study the
“Learn ASP.NET: for PHP Developers” course from the free Rump Up! The course contains theoretical material, laboratory work and slidecasts:
- Developing Web Applications - Tooling
- ASP.NET Syntax for PHP Developers
- Programming WebForms
- Web Configuration
- Programming Web Events
- State Management
Windows Azure SDK for PHP
The Windows Azure SDK for PHP allows you to use the Windows Azure capabilities in PHP applications.
')
PHPAzure is an open source project providing software development kit for Windows Azure and Windows Azure Storage - Blobs, Tables and Queues.
Opportunities:
- PHP classes for Windows Azure Blobs, Tables and Queues (for CRUD operations)
- classes for HTTP transport, AuthN / AuthZ, REST and Error Management
- logging support, "manageability
- support for storing PHP sessions in Azure Table Storage
The Windows Azure SDK for PHP provides access to Windows Azure, as well as convenient interfaces for working with REST / XML as a simple PHP API.
Figure 1. Application architecture
Figure 2. Application Deployment ScenarioProject site -
http://phpazure.codeplex.com/ .
Toolkit for PHP with ADO.NET Data Services
Toolkit for PHP with ADO.NET Data Services allows PHP developers to work on services that are developed using ADO.NET Data Services. The goal is to provide similar functionality for PHP developers, as is done in the .NET library.
Read the
"Interoperability Bridges and Labs page" and
"A new bridge for PHP for REST: Toolkit for PHP with ADO.NET Data Services" for more information.
Figure 3. Application architectureProject website:
http://phpdataservices.codeplex.com/There is also a new project - OData SDK for PHP, which allows you to work with services through the OData protocol. Detailed information about the protocol can be found at
http://www.odata.org . Possibilities:
- support all the features of OData
- Azure authentication support
- command line support
- examples and documentation
Project website:
http://odataphp.codeplex.com/PHP for Microsoft AJAX Library
Moving on and the next is the PHP for Microsoft AJAX Library project. This project contains a small number of PHP files with which you can work with the Microsoft AJAX library (which can be downloaded
here ) in PHP applications. The following releases will contain localization and globalization, debug and release scripts and other library features.
In order to use Microsoft AJAX in PHP applications, you must perform the following steps:
- Download the latest PHP release for Microsoft AJAX and unpack locally.
- Download Microsoft AJAX Library ( http://ajax.asp.net/ ).
- In the PHP code, include the MSAjaxService.php file.
- In the client code add MicrosoftAjax.js.
VS.Php for Visual Studio
VS.Php is a PHP IDE based on Visual Studio. With VS.Php, you can design, develop, debug, and deploy PHP applications using the Visual Studio IDE.
Unique features (key features):
- integration with IIS7
- Silverlight integration and the ability to debug a bunch of PHP + Silverlight
- debugging php and javascript
- PHP 5.3 support
Project website:
http://visualstudiogallery.msdn.microsoft.com/en-RU/F5CFBE65-D843-4C96-8F24-2C169676504CThis product is available in three editions:
- VS.Php for Visual Studio 2010
- VS.Php for Visual Studio 2008
- VS.Php for Visual Studio 2005
Screenshots:






PHP on Windows Training Kit (March 2010)
PHP on Windows Training Kit includes technical material, including demos and labs to explore the process of building PHP applications using Windows, IIS 7, and SQL Server 2008.
You can download it at
http://www.microsoft.com/downloads/details.aspx?FamilyID=c8498c9b-a85a-4afa-90c0-593d0e4850cb&displayLang=en .
SQL Server Driver for PHP 1.1
Drivers for working with SQL Server 2005 and 2008 in PHP applications. Support is available on the
SQL Server Driver for PHP forum
.You can download the link:
http://www.microsoft.com/downloads/details.aspx?FamilyID=ccdf728b-1ea0-48a8-a84a-5052214caad9&displaylang=en .
PHP on Windows
The PHP on Windows portal contains complete information for those who want to use PHP on Windows.
Project website:
http://php.iis.net/Additional links
If you have additional links on the topic - please share them.
Thanks for attention!