14
PHP and Windows Azure Chris Koenig Senior Developer Evangelist Microsoft Corporation @chriskoenig | [email protected] | chriskoenig.net tp://joind.in/2976

PHP and Windows Azure

Embed Size (px)

DESCRIPTION

Slides for my talk at http://lonestarphp.org.

Citation preview

Page 1: PHP and Windows Azure

PHP and Windows Azure

Chris KoenigSenior Developer EvangelistMicrosoft Corporation

@chriskoenig | [email protected] | chriskoenig.net

http://joind.in/2976

Page 2: PHP and Windows Azure

http://joind.in/2976

http://delicious.com/chriskoenig/php+azure

Page 3: PHP and Windows Azure

SERVERP L A T F O R M

SERVICESP L A T F O R M

Microsoft

CustomerService Provider

CustomerService Provider

COMMONIdentity, Application & Management Models

OPEN

Page 4: PHP and Windows Azure

Windows AzureAn Open Platform

Ru

nti

mes &

Serv

ices

http:// REST Web ServicesXMLoData AtomPub RSS

Ap

pFab

ric

SD

Ks

Developer ExperienceUse existing skills and tools.

Windows Azure Tools for

Windows Azure Command-Line Tools for

Windows Azure Companion

Win

dow

s

Azu

re

SD

Ks

Page 5: PHP and Windows Azure

PHP Developer Choices on Windows Azure PlatformWindows Azure SDK for PHP

Windows Azure Command Line Tools for PHP Windows Azure Companion Windows Azure Tools for Eclipse Other Windows Azure Platform SDKs & Drivers

App Fabric SDK for PHP OData SDK for PHP Microsoft Drivers for PHP for SQL Server

Page 6: PHP and Windows Azure

Windows Azure SDK for PHPOverview

Enables PHP developers to develop against Windows Azure Storage & Service Management infrastructure using familiar & consistent programming model.

FeaturesSet of PHP classes for Windows Azure Blobs, Tables & Queues (for CRUD operations) & Service ManagementHelper Classes for HTTP transport, AuhN/AuthZ, REST & Error ManagementManageability, Instrumentation & Logging supportCommand line tools for scaffolding & deployment support

Open Source Project site: http://phpazure.codeplex.com/Distributed through Zend Framework

http://framework.zend.com

Simple Cloud APIhttp://simplecloudapi.org

PHP Runtime

Logical architecture

Deployment scenarios

Windows Azure SDK for PHP

Blobs, Tables, Queues

Manageability, Instrumentation,

logging

Helper for Http, Auth, REST, Error

Your PHP application

Compute Storage Manage

REST

Any internet connected Server

PHP RuntimeREST

REST

Page 7: PHP and Windows Azure

Windows Azure Command-line Tools for PHP

OverviewEnables PHP developers to easily package and deploy application to Windows Azure

FeaturesCreate new applications or convert existing PHP applications to Windows Azure applicationsPackages all project assets:

PHP Engine, Application source, PHP Extensions, WinCache

Extensible to create your own scaffoldsSimplified interface over previous versions of the tools

Project site:http://phpazure.codeplex.com/

Local (Development Fabric) or Cloud

Windows Azure Command-line Tools for PHP

PHP Project Assets

PHPCore

Source Code

Extensions

1

2

3Package Scaffold --Path:"C:\temp\Sample" --DiagnosticsConnectionString:"UseDevelopmentStorage=true"

Package Create --Path:"C:\temp\Sample" --RunDevFabric:false

Page 8: PHP and Windows Azure

Windows Azure CompanionProvides a seamless experience installing and configuring PHP platform-elements (PHP runtime, extensions) and community PHP applications on Windows Azure.

Installation engine running on your Windows Azure service. Fully customizable through a feed which describes what components to install.Growing Feed Ecosystem Integrated Administration, Diagnostics, Monitoring & LoggingProject site:

http://code.msdn.microsoft.com/azurecompanionhttp://www.interoperabilitybridges.com/projects/windows-azure-companion

Deploy to Cloud

Windows AzureCompanion Package

.cspkgFile

Service

Config

Applications to deploy

1Get Ready:Download the Windows Azure Companion package & set your custom feed

2Fire up the Windows Azure Companion: Deploy Windows Azure Companion package to your Windows Azure account

3Start deploying & controlling: Using the Windows Azure Companion and your custom feed deploy PHP runtime, frameworks, applications you want

Applications feed (ATOM)

Page 9: PHP and Windows Azure

Migrating a MySQL/PHP Application to Windows Azure

Running MySQL in the CloudUsing the Windows Azure Compaanion to host MySQL Converting from MySQL to SQL AzureUsing the Command Line Scaffolding

demo

Page 10: PHP and Windows Azure

Windows Azure Tools for Eclipse

New Features in v2.0Deeper Integration with Development Fabric Standard PHP Project MigrationIntegration with PHP Core & Extensions Support for Worker RoleSupport for Windows Azure Platform SDKs & Drivers

App Fabric SDK for PHP Microsoft Drivers for PHP for SQL Server

Integrated Diagnostics, Monitoring & LoggingSupport Windows Azure Drive One Click Cloud Deployment from IDE

Project site:Developed by our Partner Soyatechttp://www.windowsazure4e.org/

Offers comprehensive Windows Azure development experience for writing Modern Cloud Applications

Page 11: PHP and Windows Azure

Key takeawaysWindows Azure an Open & Interoperable Cloud Platform Powered by Choice for Developers Microsoft has a strong commitment to open source developers and applicationsDiverse Choice of Development Tools for PHP Developers

Windows Azure Platform SDKs for PHP Developers

Windows Azure SDK (Storage, Diagnostics & Service Management)Windows Azure Command Line ToolsApp Fabric SDK (Service Bus & Access Control Services)OData SDK for PHP Developers

Windows Azure Companion - Ease of Deployment for Community PHP ApplicationsEclipse Tools for Windows Azure – Write Modern Cloud Application

+

Page 12: PHP and Windows Azure

More Information and Download http://www.azure.com/interophttp://www.interoperabilitybridges.comhttp://azurephp.interoperabilitybridges.com/

We are on a Journey

Page 13: PHP and Windows Azure

Microsoft BizSpark is a global program designed to help accelerate the success of early stage startupsQualifications

building software/software as a serviceprivately held in business for less than 3 yearsless than US $1 million in annual revenue

FeaturesFull featured development tools and production for 3 years.Free Windows Azure compute time for 16 months.Professional technical support from Microsoft: Email support, Managed newsgroups, invitation to BizSpark Camps.2 Free MSDN Support incidents.Profile on BizSpark Connect and BizSpark.com

Visit http://bizspark.com to sign up!

Page 14: PHP and Windows Azure

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