company : microsoft corporation session...
TRANSCRIPT
Name: Vijay RajagopalanTitle : Principal ArchitectCompany : Microsoft CorporationSession Code:
AgendaMicrosoft Interoperability Strategy
Multifaceted Approach to Interoperability
Microsoft and PHP Community
PHP on Windows overviewWindows 2008+ PHP
MS Products with PHP support
Windows Web Platform
Enhance PHP Web Applications with Silverlight
Azure Services Platform and PHP
DEMOS! DEMOS!
Resources
Promote interoperability
through new and existing standards
Work jointly with partners, competitors and the open source
community
Deliver interoperability in
Microsoft products and technologies
Customer Input and Feedback
?
Products Collaboration
Standards Developer Resources
4
Working openly with others to foster choice and innovation
Make it easier to develop products that
interoperate with Microsoft solutions
PHP Support in WS08 Integrated support with IIS 7.0 and Fast CGI
CGI and ISAPI was the only supported SAPIs on prior IIS versions
CGI – Stable but too slow
ISAPI – Fast but not stable
FastCGI support added in IIS 5.1, IIS 6.0, IIS 7.0Reliable and fast PHP processing
Upcoming improvements to FastCGIReal time tuning of system based on system load and number of requests waiting
Recycle PHP processes on changes to php.ini
Tracing – better debugging for PHP developers
Microsoft and the PHP Community
Before
No Core developer working
on or for Windows
Windows was a 2nd class
platform
Binaries releases days or
weeks after the sources
releases
Absence QA on Windows
Lack of documentation and
communication
Now
Creation of the Windows Internals
Team•2 core developers
•7 regular helpers, contributors or
testers (growing)
Windows is now a primary platform
Synchronized releases•5.2.6, 5.2.7, 5.2.8, 5.3.0 beta
QA on Windows•95% of the core tests pass on
Windows
Dedicated communication channels•Mailing list, Windows internal list,
iis.net/php(http://www.php.net/mailing-
lists.php)
•IRC channel on freenode #php-dev-win
http://windows.php.net/download.php
Directly working with the PHP Community
Now available in PHP 5.3
All libraries updated to latest versions (in some cases newer versions that used on Linux)
Re-Wrote the build system from scratch
Top PHP Windows community programmer working for Microsoft
Build with VS 2008
Available in 32 and 64 bit version
Created windows.php.net
99% of all POSIX calls changed to native Windows calls
By the numbers
Running PHPBench looped 5 times
Both computers are a HP 8 core (2 procs x Quad core) 16gb ram.Linux: Centos 5.2 -- patched upWindows: Windows Server 2008 x86 -- patched up
NOTE: phpbench only test internal PHP engine performance. It does not do IO of any kind.
0
5
10
15
20
25
30
35
Windows 5.2
Linux 5.2 Linux 5.3 Optimized
Windows 5.3
Windows 5.3
Optimized
30.19427.961
20.114 19.985
16.436
PHPBench 5x Looped Run In Seconds
Windows 5.2
Linux 5.2
Linux 5.3 Optimized
Windows 5.3
Windows 5.3 Optimized
ADOdbFirst LGPL Open Source project that Microsoft has contributed to
SQL Server PHP DriverThis first release of SQL Server Driver for PHP is designed to enable PHP applications to be developed and deployed on SQL Server
IIS7+ FastCGIImprovement the performance of PHP on Windows
Expression Web 2.0Broadens tool focus to support PHP site editing
Community Feedback
Enthusiastic and positive feedback from the users base and in the press
Increasing support from other core developersMore has been done in a couple of months than in the last 5 years Rob Richards, PHP Core Developer, LibXml Maintainer
Applying windows specific changes in PHP code has become substantially easier
I do not care about windows attitude is going away
80K downloads of PHP 5.3.0 Alpha via windows.php.net (3 months)
Tools Servers Technologies
Applications
Design and development integration for pre- packaged Open Source applications that run on top of the Microsoft Web Platform including:
The Microsoft Web Platform is a powerful set of tools, servers, and technologies optimized for building and hosting next generation web applications and solutions. Use the Web Platform Installer to get everything up and running with a single tool.
One Platform. One Web Site: www.microsoft.com/web
One Platform. One Installer
The SQL Server Driver for PHP is designed to enable reliable, scalable integration with SQL Server for PHP applications deployed on the Windows platform.
Native PHP 5 extension
Reading and writing of SQL Server data from within PHP scripts.
Compatible with all editions of SQL Server 2005 and SQL Server 2008 (including Express Editions)
THE SQL Server Driver for PHP
PHP apps on SQL Server
Quickly build business intelligent featuresReporting services for web reports
Utilize advanced data typesSpatial for location-based apps; XML; FileStream
Develop apps with single platformWeb PI: Windows + IIS + SQL Server + PHP
Running apps on robust databaseEasy to manage; secure; minimum downtime
Intellisense, code-coloring and snippets
Preview PHP includes on design surface
Preview PHP with built-in development server
Express Yourself in PHP
Open and edit PHP pages directly in Expression Web 2 and apply the full range of standards-based design tools to PHP
Enhance Your PHP Apps for IE8
Cross Browser Cross Platform
Moonlight
The award winning Silverlight technology delivers amazing Web experiences across leading news, sports, and entertainment sites.
Silverlight brings Web experiences to life with:
Amazing 2D/3D animations and special effects
Smooth, high quality video including HD video
Enhanced security, fast performance, quick install
Enhance Your PHP Apps with Silverlight
Extend PHP with Live Services
Access user data Access informationon user devices
Access user’ssocial graph
Sync user’s data Access
user’s profile
Provide access control to user’s data
Share user’s data
Provide newson actions
Manageapplications
Live Services Review… are a set of building blocks for handling user data and application resources which can connect your application to hundreds of millions of users.
Live Services
Mesh Services
Live Services + PHP
What is ?
It is an operating system for the cloud
It is designed for utility computing
It has four primary features:Service management
Compute
Storage
Developer experience
+ FastCGI
Windows Azure now supportsThe FastCGI module
PHP enabled via xcopy deploy of PHP runtime binaries
And, the IIS7 URL rewrite module to enable friendly URL’s with PHP apps
Use PHP while realizing the benefits of Windows AzureAutomated service management
You define the rules and provide your code
The platform follows the rules: deploys, monitors, and manages your service
A powerful service hosting environmentAll of the hardware: servers; load balancers; …
Scalable, available cloud storage (via REST)Blobs, tables, queues, …
Developer Experience: Simulated cloud environment
+ FastCGI w/simulated load-balancing in dev environment
1 2
3
Windows Azure + Eclipse + PHP
Internet Information Services 7.0 in Windows Server® 2008 provides a secure, easy-to-manage Web platform for reliably hosting rich Web applications and Web services. Easily deploy ASP.NET and applications on the same server.
Customer Choice
Summary
PHP on Windows is a priority for Microsoft
Full range of PHP support products and Services
Attract more customers to the MS platform through world-class support and resources
We want you to succeed
Resources
IIS.net/php
SQL Server Driver for PHP
Expression Web 2
Windows.php.net
Case Studies
PHP Discussion Guide
PORT 25
CodePlex
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Appendix