Your SlideShare is downloading. ×
0
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Dive into php on Windows Azure
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Dive into php on Windows Azure

2,299

Published on

Technical dive into how one can develop PHP applications and run them on Windows Azure. Learn how to use scaffolders, the Windows Azure SDK for PHP and how to use the different storage options offered …

Technical dive into how one can develop PHP applications and run them on Windows Azure. Learn how to use scaffolders, the Windows Azure SDK for PHP and how to use the different storage options offered by Microsoft's cloud platform.Dive into php on Windows Azure

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,299
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Scaffolder Run –out=“c:\\temp\\helloworld”Package Create –in=“c:\\temp\\helloworld”
  • http://azurephp.interoperabilitybridges.com/articles/how-to-deploy-wordpress-using-the-windows-azure-sdk-for-php-wordpress-scaffoldScaffolder Run -s=WordPress -out="c:\\temp\\WordPressAzure" --DB_NAME="wordpress" --DB_USER=sqladm@uiebrrjttc --DB_PASSWORD=php@php1 --DB_HOST="uiebrrjttc.database.windows.net" --sync_account=phptestsdk --sync_key="DTWRLbFbO8SctIbTiXkQgDFMTikwify2liThoq1WPfHMxedbg8HwoktXR0WJfZeno9740TzLk0OsO5pUUKFL+Q=="Package Create -in="c:\\temp\\WordPressAzure" -dev=false
  • Transcript

    • 1.
    • 2. Dive into PHP on Windows Azure<br />Maarten Balliauwhttp://about.me/maartenballiauwhttp://blog.maartenballiauw.be@maartenballiauw<br />
    • 3. Who am I?<br />Maarten Balliauw<br />Antwerp, Belgium<br />www.realdolmen.com<br />Focus on web<br />ASP.NET, ASP.NET MVC, PHP, Azure, …<br />MVP Windows Azure (formerly ASP.NET)<br />Fun: interop!<br />PHPExcel, PHPLinq, PHPMEF,Windows Azure SDK for PHP, ...<br />http://blog.maartenballiauw.be<br />@maartenballiauw<br />
    • 4. Agenda<br />A brief history...<br />PHP on Windows<br />PHP on Windows Azure<br />Hello, PHP on Windows Azure<br />Popular apps on Windows Azure<br />Wordpress<br />Drupal<br />What about my apps?<br />Conclusion<br />Q&amp;A<br />
    • 5. A brief history...<br />
    • 6. PHP on Windows<br />Has always been a great joke!<br />Until Microsoft saw this*:<br />*pure speculation that this is the actual reason for jumping on PHP on Windows<br />
    • 7. So they started working on a stack<br />Linux PHP stack<br />Linux<br />Apache<br />MySQL<br />PHP<br />(Memcached / APC)<br />Windows PHP stack<br />Windows<br />IIS 7+<br />SQL Server<br />PHP<br />(Memcached / WinCache)<br />
    • 8. The past 2-3 years...<br />IIS added FastCGI support (&amp; URL rewriting)<br />Creation of SQL Server DB extension (PDO!)<br />PHP core optimizations<br />WinCache extension for PHP<br />Web Platform Installer<br />A lot more...<br />No longer a joke!<br />Pretty easy to use once you know the stack<br />
    • 9. PHP on Windows Azure<br />Windows Azure has always advertised it’s open to any language<br />True: it’s just Windows, SQL &amp; REST<br />But no real “PHP-ish” support for Windows Azure specifics<br />
    • 10. Until... March 14, 2009<br />
    • 11. The result?<br />Windows Azure SDK for PHPhttp://phpazure.codeplex.com<br />Support for:<br />Working with all types of storage (blobs, tables, queues)<br />PHP specifics such as session handling<br />Support for the management API<br />Create a new host from PHP code<br />Manage storage accounts from PHP<br />Create a SQL Azure DB server<br />...<br />Command-line tooling<br />To use the mgmt capabilities<br />To package and deploy<br />
    • 12. So here’s your next stack<br />Windows PHP stack<br />Windows<br />IIS 7+<br />SQL Server<br />PHP<br />(Memcached / WinCache)<br />Windows Azure PHP stack<br />Windows (Azure)<br />IIS 7+<br />SQL Azure<br />PHP<br />(Memcached / WinCache)<br />Plus easy access to all Windows Azure related options<br />
    • 13. Hello,PHP on Windows Azure<br />
    • 14. Most basic usage<br />Get http://phpazure.codeplex.com or PEAR it<br />Get your commands ready<br />Scaffolder Run –out=“c:temphelloworld”<br />Package Create –in=“c:temphelloworld”<br />
    • 15. demo<br />Hello, Windows Azure<br />
    • 16. Popular apps on Windows Azure<br />
    • 17. Scaffolding<br />Generate a baseline PHP on Windows Azure structure<br />Can be extended and plugged<br />Wordpresshttp://azurephp.interoperabilitybridges.com/articles/how-to-deploy-wordpress-using-the-windows-azure-sdk-for-php-wordpress-scaffold<br />Drupalhttp://azurephp.interoperabilitybridges.com/articles/how-to-deploy-drupal-to-windows-azure-using-the-drupal-scaffold<br />
    • 18. demo<br />WordPress on Windows Azure<br />
    • 19. What about my apps?<br />
    • 20. Windows Azure<br />!= all-or-nothing<br />
    • 21. How do you develop your apps today?<br />Typically on a local development machine<br />Remember this one?<br />
    • 22. Meet shortenr...<br />URL shortening service<br />3 use cases<br />Shorten URL<br />Navigate to URL<br />Track # clicks<br />
    • 23. demo<br />Building shortenr<br />
    • 24. demo<br />Deploying shortenr<br />
    • 25. Was that a nice experience?<br />15min+ to deploy<br />Creates a fresh VM<br />Installs fresh components on it<br />Deploys your app on it<br />Guarantees a clean state &amp; easy recovery<br />Does not really feel like what I’m used to...*<br />Phpstorm.com<br />Orchestra.io<br />* I prefer short deploys whilst devving, 15min for prod isn’t that bad<br />
    • 26. Any alternatives?<br />Sure!<br />http://waawebroles.codeplex.com/<br />http://smarxrole.codeplex.com<br />Or a real PaaS solution for PHP built on Windows Azure<br />by http://webspecies.co.uk<br />
    • 27. PHP-as-a-Service?<br />PHP<br />Windows Azure SDK for PHP<br />Windows Azure Management API<br />SQL Azure Management API<br />
    • 28. demo<br />Deploying shortenr using WebSpecies Azure+<br />
    • 29. Conclusion<br />
    • 30. Conclusion<br />Windows Azure = rich set of platform components<br />Use at will! It’s an extra option<br />A lot of tools are out there<br />...but a lot is also to be done<br />
    • 31. Resources<br />Starting pointhttp://azurephp.interoperabilitybridges.com<br />Windows Azure SDK for PHPhttp://phpazure.codeplex.com<br />Windows Azure Learning Planhttp://blogs.msdn.com/b/silverlining/archive/2011/09/29/a-php-on-windows-azure-learning-plan.aspx<br />
    • 32. Q&amp;A<br />Maarten Balliauwhttp://about.me/maartenballiauwhttp://blog.maartenballiauw.be@maartenballiauw<br />Thank you!<br />Or scan this QR code with your Smartphone to immediately go to the website<br />

    ×