Microsoft loves PHP. Seriously.

29
Microsoft Loves PHP – Seriously! Brendan Sera-Shriar Web Designer [email protected] @digibomb Paul Laberge Architect Advisor [email protected] @plaberge

description

Brendan Sera-Shriar (@digibomb) and Paul Laberge's (@plaberge) presentation from FSOSS.

Transcript of Microsoft loves PHP. Seriously.

Page 1: Microsoft loves PHP. Seriously.

Microsoft Loves PHP – Seriously!

Brendan Sera-ShriarWeb [email protected]@digibomb

Paul LabergeArchitect Advisor

[email protected]@plaberge

Page 2: Microsoft loves PHP. Seriously.

When you here the name “Microsoft”, what types of images

does it conjure in your head?

Page 3: Microsoft loves PHP. Seriously.

A problem has been detected and Windows has been shut down to prevent damage to your computer.

The problem was caused by the following: gotchaitsajoke.sys

SYSTEM_FAULT_WINSYS_BOOTSTRAP.DRV

If this is the first time you have seen this Stop Error screen, restart your computer. If this screen appears again, follow these steps:

Check to make sure all hardware and software is properly installed. If this is a new installation, please contact the manufacturer of your computer.

If problems continue, disable or remove any new hardware you may have recently installed and try rebooting. Consider booting into Safe Mode to disable any advanced hardware features first by pressing F8 to select Advanced Startup Options and select Safe Mode. For more information on BSOD refer to http://uncyclopedia.wikia.com/wiki/BSOD. This presentation is certified LOLCAT-free.

Technical Information:

***STOP: 0x4E4F4443 (0xEA1019D, 0xFFF0101F, 0x00ABACAB, 0xBABABABA)

***GOTCHAITSAJOKE.SYS – Address 484DE5FA base at 544444AA, Datestamp 49A62CD

***WHOKNEWTHE.DRV, EMPIRTEHADA.CFG, SENSEOFHUMOUR.DAT

nV4_DISPBeginning dump of physical memoryPhysical memory dump completeContact your system administrator or technical support group for further assistance.

Page 4: Microsoft loves PHP. Seriously.
Page 5: Microsoft loves PHP. Seriously.
Page 6: Microsoft loves PHP. Seriously.

Worst.

Software.

Ever.

Page 7: Microsoft loves PHP. Seriously.

That being said, Microsoft is trying really hard to change this perception

by working with the Free Software/Open Software community.

I’m sure there are many more you can think of.

Page 8: Microsoft loves PHP. Seriously.

We’re very happy to be here.

The reason we are here is not to convert you (honestly!) but rather to let you know of some of the things we are doing to help you succeed.

Page 9: Microsoft loves PHP. Seriously.

Goals for Today’s Session

• Put a face to Microsoft, specifically Microsoft Canada.

• Demonstrate our honest desire to work with the Open Source Community and provide a positive contribution to it

• Show you some of the tools Microsoft has built (ourselves or with partners) to make Open Source a First Class Citizen on Windows

Page 10: Microsoft loves PHP. Seriously.

OUR CONTRIBUTIONSReaching out to Open Source

Page 11: Microsoft loves PHP. Seriously.

Believe it or not, we’ve actually been contributing and actively participating in the

open source community for a while and we’ve recently ramped it up a notch.

Page 12: Microsoft loves PHP. Seriously.

Make Web Not War – DEVTrainPhoto by Chris Luckhardt (motionblur)

• Annual conference hosted by Microsoft• Different city each year• Bringing diverse platform communities

together• Open discussion on how to build great

software and solutions• Networking and fostering friendships• http://www.webnotwar.ca

Page 13: Microsoft loves PHP. Seriously.

• Blog and discussion platform for open source on Windows

• Prominent FOSS community members provide posts

• News about cool, new interoperable tools and software, including those from Microsoft

• http://port25.ca

Page 14: Microsoft loves PHP. Seriously.

• Started sponsoring and actively participating WordCamps in Canada in 2009 (at WordCamp Toronto 2009)

• Reaching out the the WordPress community to put a face to the Microsoft brand

• Show the PHP community we’re really not that evil

Joey deVilla, Microsoft Developer Evangelist at WordCamp Toronto 2009Photo: Hicham Souilmi

Page 15: Microsoft loves PHP. Seriously.

• Incepted by Microsoft in 2009 as Codeplex.org and spun as an independent entity in 2010

• Founded to enable the exchange of code and understanding among software companies and open source communities

• Provides a framework that allows developers in software companies to contribute freely to open source initiatives

Page 16: Microsoft loves PHP. Seriously.

• With Internet Explorer 9, Microsoft is embracing the future standard of HTML5

• Microsoft is a core team member for the HTML5 specification

• Microsoft is actively involved in over 30 working groups at th W3C

Page 17: Microsoft loves PHP. Seriously.

TOOLS FOR OPEN SOURCEYes, we actually have them.

Page 18: Microsoft loves PHP. Seriously.

A look back to 2006• PHP 4.4, 5.0 • IIS 6

• PHP on Windows+IIS• Running on CGI

– Stable but Slow

• Running on ISAPI– Fast but unstable

Tra

nsla

tion

:

We w

ere

n’t in

the g

am

e.

Page 19: Microsoft loves PHP. Seriously.

FAST-CGI PHP• Production PHP on

Windows!!!

• Requests from app pool

• Automatic max app pool sizing

• Auto recycling PHP pool when php.ini changes

• Consolidate PHP errors in IIS

Page 20: Microsoft loves PHP. Seriously.

IIS 7• Nearly ground up Rewrite

• New modular architecture

• Default minimum installation

• Streamlined processing pipeline

• New XML-based web.config

Page 21: Microsoft loves PHP. Seriously.

PHP Manager

• Register multiple PHP versions

• Easy checking of phpinfo()

• Configure error reporting• Manage php.ini

directives• Manage all PHP

extensions• Remote PHP

administration

Page 22: Microsoft loves PHP. Seriously.

SQL Server

• PHP Driver for SQL Server 2.0• Support for native PHP• Support for PDO• Support for PHP 5.3

• Source released under Apache 2.0

• Drupal 7 will be first major PHP app with SQL Server support

Page 23: Microsoft loves PHP. Seriously.

PHP INTEROPERABILITY

• Windows Azure Companion (CTP)– Install & configure PHP & web

apps

• Azure Tools for Eclipse/PHP– Build for the cloud on PHP

• Azure Cmd Line Tools for PHP– Cmd line package & deploy to

Azure

• Windows Azure SDK for PHP – Extend with blobs, tables and

queues

Page 24: Microsoft loves PHP. Seriously.

MICROSOFT WEBMATRIX

Introducing…

WHAT’S NEXT?

Page 25: Microsoft loves PHP. Seriously.

WEBMATRIX

• Create a new PHP site

• Web Application Gallery

• Create from Folder

Page 26: Microsoft loves PHP. Seriously.

WEBMATRIX

• Customize and Test– Light-weight editor

• HTML, PHP, CSS

– Easily add modules– MySQL Database editor – Monitor HTTP Requests– Tune and optimize for

Search Engines

Page 27: Microsoft loves PHP. Seriously.

WEBMATRIX

• Publish to the Web– FTP

– Web Deploy• Includes Database

– Pull - Synchronize

• Web Hosting Gallery– Great deals on hosting

– PHP on Windows + IIS

– PHP and MySQL

Page 28: Microsoft loves PHP. Seriously.

DemoA Tour of WebMatrix by Brendan Sera-Shriar

Page 29: Microsoft loves PHP. Seriously.

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows 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.