PHP and Windows Azure


Published on

Slides for my talk at

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

PHP and Windows Azure

  1. 1.<br />PHP and Windows Azure<br />Chris Koenig<br />Senior Developer Evangelist<br />Microsoft Corporation<br />@chriskoenig | |<br />
  2. 2.<br />
  3. 3. SERVICES<br />COMMON<br />Identity, Application & Management Models<br />PLATFORM<br />OPEN<br />Microsoft<br />Customer<br />Service Provider<br />SERVER<br />PLATFORM<br />Customer<br />Service Provider<br />
  4. 4. Windows AzureAn Open Platform<br />Developer Experience<br />Use existing skills and tools.<br />Windows Azure Tools for <br />Windows Azure Command-Line Tools for <br />Windows Azure Companion<br />http://<br />REST<br />Web Services<br />XML<br />oData<br />AtomPub<br />RSS<br />Runtimes &<br />Services<br />AppFabric SDKs<br />Windows Azure SDKs<br />
  5. 5. PHP Developer Choices on Windows Azure Platform<br />Windows Azure SDK for PHP <br />Windows Azure Command Line Tools for PHP <br />Windows Azure Companion <br />Windows Azure Tools for Eclipse <br />Other Windows Azure Platform SDKs & Drivers<br />App Fabric SDK for PHP <br />OData SDK for PHP <br />Microsoft Drivers for PHP for SQL Server<br />
  6. 6. Windows Azure SDK for PHP<br />Logical architecture <br />Overview<br />Enables PHP developers to develop against Windows Azure Storage & Service Management infrastructure using familiar & consistent programming model. <br />Features<br />Set of PHP classes for Windows Azure Blobs, Tables & Queues (for CRUD operations) & Service Management<br />Helper Classes for HTTP transport, AuhN/AuthZ, REST & Error Management<br />Manageability, Instrumentation & Logging support<br />Command line tools for scaffolding & deployment support<br />Open Source Project site: <br /><br />Distributed through Zend Framework<br /><br />Simple Cloud API<br /><br />Your PHP application<br />REST<br />Compute<br />Storage<br />Manage<br />Deployment scenarios<br />PHP Runtime<br />Any internet connected Server<br />PHP Runtime<br />REST<br />REST<br />
  7. 7. Windows Azure Command-line Tools for PHP <br />Overview<br />Enables PHP developers to easily package and deploy application to Windows Azure<br />Features<br />Create new applications or convert existing PHP applications to Windows Azure applications<br />Packages all project assets:<br />PHP Engine, Application source, PHP Extensions, WinCache<br />Extensible to create your own scaffolds<br />Simplified interface over previous versions of the tools<br />Project site:<br /><br />Local (Development Fabric) or Cloud<br />1<br />2<br />3<br />Package Scaffold<br /> --Path:"C:tempSample" <br /> --DiagnosticsConnectionString:"UseDevelopmentStorage=true"<br />Windows Azure Command-line Tools for PHP <br />Package Create --Path:"C:tempSample" <br /> --RunDevFabric:false<br />
  8. 8. Windows Azure Companion<br />Applications feed (ATOM)<br />Start deploying & controlling: <br />Using the Windows Azure Companion and your custom feed deploy PHP runtime, frameworks, applications you want<br />Provides a seamless experience installing and configuring PHP platform-elements (PHP runtime, extensions) and community PHP applications on Windows Azure.<br />Installation engine running on your Windows Azure service. <br />Fully customizable through a feed which describes what components to install.<br />Growing Feed Ecosystem <br />Integrated Administration, Diagnostics, Monitoring & Logging<br />Project site:<br /><br /><br />1<br />2<br />3<br />Fire up the Windows Azure Companion: <br />Deploy Windows Azure Companion package to your Windows Azure account<br />Deploy to Cloud<br />Applications to deploy<br />Get Ready:<br />Download the Windows Azure Companion package & set your custom feed <br />
  9. 9. Migrating a MySQL/PHP Application to Windows Azure<br />Running MySQL in the Cloud<br />Using the Windows Azure Compaanion to host MySQL <br />Converting from MySQL to SQL Azure<br />Using the Command Line Scaffolding<br />demo <br />
  10. 10. Windows Azure Tools for Eclipse <br />Offers comprehensive Windows Azure development experience for writing Modern Cloud Applications<br />New Features in v2.0<br />Deeper Integration with Development Fabric <br />Standard PHP Project Migration<br />Integration with PHP Core & Extensions <br />Support for Worker Role<br />Support for Windows Azure Platform SDKs & Drivers <br />App Fabric SDK for PHP <br />Microsoft Drivers for PHP for SQL Server<br />Integrated Diagnostics, Monitoring & Logging<br />Support Windows Azure Drive <br />One Click Cloud Deployment from IDE<br />Project site:<br />Developed by our Partner Soyatec<br /><br />
  11. 11. Key takeaways<br />Windows Azure an Open & Interoperable Cloud Platform Powered by Choice for Developers <br />Microsoft has a strong commitment to open source developers and applications<br />Diverse Choice of Development Tools for PHP Developers <br />Windows Azure Platform SDKs for PHP Developers<br />Windows Azure SDK (Storage, Diagnostics & Service Management)<br />Windows Azure Command Line Tools<br />App Fabric SDK (Service Bus & Access Control Services)<br />OData SDK for PHP Developers<br />Windows Azure Companion - Ease of Deployment for Community PHP Applications<br />Eclipse Tools for Windows Azure – Write Modern Cloud Application<br />+<br />
  12. 12. We are on a Journey<br />More Information and Download <br /><br /><br /><br />
  13. 13. Microsoft BizSpark is a global program designed to help accelerate the success of early stage startups<br />Qualifications<br />building software/software as a service<br />privately held in business for less than 3 years<br />less than US $1 million in annual revenue <br />Features<br />Full featured development tools and production for 3 years.<br />Free Windows Azure compute time for 16 months.<br />Professional technical support from Microsoft: Email support, Managed newsgroups, invitation to BizSpark Camps.<br />2 Free MSDN Support incidents.<br />Profile on BizSparkConnectand<br />Visit to sign up!<br />
  14. 14. © 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.<br />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.<br />