View
3.283
Download
3
Category
Tags:
Preview:
Citation preview
Developing PHP Applications using Microsoft Software & Services
Name: Vijay RajagopalanTitle : Principal ArchitectCompany : Microsoft CorporationSession Code:
AgendaMicrosoft Interoperability Strategy
Multifaceted Approach to InteroperabilityMicrosoft and PHP Community
PHP on Windows overviewWindows 2008+ PHPMS Products with PHP supportWindows Web Platform Enhance PHP Web Applications with SilverlightAzure Services Platform and PHP
DEMOS! DEMOS!Resources
4
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
Microsoft’s Multifaceted Approach to Interoperability -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 CGICGI and ISAPI was the only supported SAPIs on prior IIS versions
CGI – Stable but too slowISAPI – 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 waitingRecycle PHP processes on changes to php.iniTracing – better debugging for PHP developers
Microsoft and the PHP CommunityBefore
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
NowCreation 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
PHP 5.3Is the most significant update to PHP on Windows.
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 timesBoth 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.
Windows 5
.2
Linux 5
.2
Linux 5
.3 Optimize
d
Windows 5
.3
Windows 5
.3 Optimize
d 0
5
10
15
20
25
30
35 30.19427.9609999999999
20.1140000000001 19.98516.436
PHPBench 5x Looped Run In Seconds
Time
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
Combined Effort for PHP Excellence
Community FeedbackEnthusiastic 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 easierI do not care about windows attitude is going away80K 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 InstallerWeb Platform 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 Integration. Interoperability.
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 PHPOpen and edit PHP pages directly in Expression Web 2 and apply the full range of standards-based design tools to PHP
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 effectsSmooth, high quality video including HD videoEnhanced security, fast performance, quick install
Extend PHP with Live Services
Access user data Access informationon user devices
Access user’ssocial graph
Sync user’s data Accessuser’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
Storage Search & GeospatialIdentity Directory
Devices Applications Synchronization
Mesh Services
User
Comms & Presence
What is ?
It is an operating system for the cloudIt is designed for utility computingIt has four primary features:
Service managementComputeStorageDeveloper 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 codeThe 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
+ FastCGI w/simulated load-balancing in dev environment
1 2
3
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 MicrosoftFull range of PHP support products and ServicesAttract more customers to the MS platform through world-class support and resources We want you to succeed
Resources
IIS.net/phpSQL Server Driver for PHPExpression Web 2Windows.php.netCase StudiesPHP Discussion GuidePORT 25CodePlex
धन्यवा�दઆભા�ર ধন্য�বা�দ
ਧੰ�ਨਵਾ�ਦ
ଧନ୍ୟ�ବା�ଦ
நன்றி�
ధన్య�వాదాలు� ಧನ್ಯ�ವಾ�ದಗಳು
നി�ങ്ങള്ക്ക്� നിന്ദി�
© 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
Recommended