Developing Php Applications Using Microsoft Software And Services

36

Transcript of Developing Php Applications Using Microsoft Software And Services

Page 1: Developing Php Applications Using Microsoft Software And Services
Page 2: Developing Php Applications Using Microsoft Software And Services

Developing PHP Applications using Microsoft Software & Services

Name: Vijay RajagopalanTitle : Principal ArchitectCompany : Microsoft CorporationSession Code:

Page 3: Developing Php Applications Using Microsoft Software And Services

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

Page 4: Developing Php Applications Using Microsoft Software And Services

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

Page 5: Developing Php Applications Using Microsoft Software And Services

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

Page 6: Developing Php Applications Using Microsoft Software And Services

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

Page 7: Developing Php Applications Using Microsoft Software And Services

http://windows.php.net/download.php

Page 8: Developing Php Applications Using Microsoft Software And Services

PHP 5.3Is the most significant update to PHP on Windows.

Directly working with the PHP Community

Page 9: Developing Php Applications Using Microsoft Software And Services

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

Page 10: Developing Php Applications Using Microsoft Software And Services

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

Page 11: Developing Php Applications Using Microsoft Software And Services

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

Page 12: Developing Php Applications Using Microsoft Software And Services

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)

Page 13: Developing Php Applications Using Microsoft Software And Services

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.

Page 14: Developing Php Applications Using Microsoft Software And Services

One Platform. One Web Site: www.microsoft.com/web

Page 15: Developing Php Applications Using Microsoft Software And Services

One Platform. One InstallerWeb Platform Installer

Page 16: Developing Php Applications Using Microsoft Software And Services

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.

Page 17: Developing Php Applications Using Microsoft Software And Services

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

Page 18: Developing Php Applications Using Microsoft Software And Services

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

Page 19: Developing Php Applications Using Microsoft Software And Services

Enhance Your PHP Apps for IE8demo

Page 20: Developing Php Applications Using Microsoft Software And Services

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

Page 21: Developing Php Applications Using Microsoft Software And Services

Enhance Your PHP Apps with Silverlight

demo

Page 22: Developing Php Applications Using Microsoft Software And Services

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

Page 23: Developing Php Applications Using Microsoft Software And Services

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

Page 24: Developing Php Applications Using Microsoft Software And Services

Live Services + PHPdemo

Page 25: Developing Php Applications Using Microsoft Software And Services
Page 26: Developing Php Applications Using Microsoft Software And Services

What is ?

It is an operating system for the cloudIt is designed for utility computingIt has four primary features:

Service managementComputeStorageDeveloper experience

Page 27: Developing Php Applications Using Microsoft Software And Services

+ 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

Page 28: Developing Php Applications Using Microsoft Software And Services

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

Page 29: Developing Php Applications Using Microsoft Software And Services

+ FastCGI w/simulated load-balancing in dev environment

1 2

3

Page 30: Developing Php Applications Using Microsoft Software And Services

Windows Azure + Eclipse + PHPdemo

Page 31: Developing Php Applications Using Microsoft Software And Services

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

Page 32: Developing Php Applications Using Microsoft Software And Services

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

Page 34: Developing Php Applications Using Microsoft Software And Services

धन्यवा�दઆભા�ર ধন্য�বা�দ

ਧੰ�ਨਵਾ�ਦ

ଧନ୍ୟ�ବା�ଦ

நன்றி�

ధన్య�వాదాలు� ಧನ್ಯ�ವಾ�ದಗಳು

നി�ങ്ങള്‍‌ക്ക്� നിന്ദി�

Page 35: Developing Php Applications Using Microsoft Software And Services

© 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.

Page 36: Developing Php Applications Using Microsoft Software And Services

Appendix