A Microsoft primer for PHP devs

2013 年 2 月 14 日2,2230

I鈥檓 a PHP Developer, Why Should

I Care About Microsoft?

A Microsoft primer for PHP devs

(or鈥Microsoft and PHP 鈥 a love story)

Who Am I?

Peter Laudati

Developer Evangelist 鈥 NJ/NY/CT

Microsoft Corporation

peterlau@microsoft.com

Borg Collective ID: X914BZ01

1998 Started working at Microsoft

1998 Started working at Microsoft

MetroPark, NJ

1998 Started working at Microsoft

Edison & Iselin, NJ

1998 Started working at Microsoft

Edison & Woodbridge, NJ

1998 Started working at Microsoft

Exit 131, NJ

1999-2005 Worked on Enterprise server applications

I blog, therefore, I am

http://http://www.zjjv.com//

So much time and so little to see!

So little time and so much to see!

My goals

? Show some cool stuff

? Tell you where you can get it

? Tell you where you can learn more

? Answer questions

? Go have a beer with all of you

Stuff we鈥檒l talk about

? Microsoft & Open Source

? PHP and IIS

? SQL Server 2005 Driver for PHP

? Microsoft AJAX Library

? Silverlight

? Expression Web 2.0

? 鈥

Microsoft Open Source Software & Novell Interop Labs

OSS Lab: Redmond, WA

鈥 Staffed by OSS and Linux experts

鈥 300 servers of varying types,

Gumstix, Intel, AMD, Blades, HPC

clusters, and IBM P6 series

machines

鈥 Highest computing density of any

Microsoft Redmond lab

鈥 Availability of over 340+ Linux

Distributions

鈥 Testing interoperability OSS

and Windows Technologies

鈥 Research on OSS technologies

鈥 Performance testing of Windows

and OSS stacks

Novell Interop Lab: Cambridge, MA

2500 sq feet of lab and office space

Jointly staffed by Microsoft and Novell

80 servers running Intel Xeon dual and

quad core technology and AMD

Opteron dual core technology

Testing interoperability of

virtualization, ws-management and

identity federation solutions

SAMBA Interoperability testing

OSS Lab Projects

Past:

? Windows Media Player 11 interoperability

? Silverlight Firefox compatibility

? Silverlight /Moonlight implementation of

common standard

? SQL Server drivers providing

connectivity from Java or PHP

? Fast CGI hosting PHP and Python in IIS

? Vista compatibility with Firefox

Present:

Hyper-V Linux Interoperability

Ws-man Compliance Tool

System Mgmt interoperability

PHP Interop: PHP application

connectivity to SQL Server

Apache Interop: ASF Technology

Transfer

CardSpace relying party

Java/PHP/Ruby/C Interop

HPC Linux/Windows environment

Identity Integration, File Server

Integration

Future:

PHP Active Directory Integration

PHP/Sharepoint Integration

SugarCRM SQL Server

Connectivity Collaboration

Continue providing technical

support to Apache (Build

Support)

PHP and IIS

PHP on IIS 鈥 A Brief History

? First, there was CGI

鈥 Invokes new process for each request

鈥 Easy to configure, pretty stable

鈥 SLOOOW due to overhead of process creation

? Then, ISAPI extension

鈥 Loaded in process

鈥 Better performance

鈥 Not stable if code isn鈥檛 thread safe

? What鈥檚 the solution?

The solution - FastCGI

? Extension to CGI that allows reuse of a process

? Easy to Configure

? Faster than CGI

? More stable than PHP on ISAPI

? Able to leap tall buildings in a single bound

? Can run non-thread-safe versions of PHP

More on FastCGI

? Developed in close collaboration with Zend

Technologies

鈥 Improvements in PHP engine for IIS with contributions

and collaboration back to PHP Community

鈥 Zend Core Available for Commercially Supported PHP

? Available for IIS6 (Windows Server 2003) or IIS7

(Windows Vista SP1 or Windows Server 2008)

? Fully supported by Microsoft

? Where do I get it? http://http://www.zjjv.com///php

IIS7 Cool New Features

? Modular architecture

? XML configuration

? Remote management

? Advanced diagnostics

? Integration with Windows Media Server

? Can easily extend with managed code

New Modular Architecture

The integrated pipeline

Managed

Native

Forms

Anon Basic

UrlAuth

Cache

ISAPI

Logging

Tracing

Static

ASP

ASP.NET

FastCGI

Compress

Errors

- or -

Managed

Custom

Demo

Leverage the Platform

? Rich fun

0 0