Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Creating php cloud applications

4,187 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Creating php cloud applications

  1. 1. http://joind.in/8168
  2. 2. Types of CloudPublic Cloud Hybrid Cloud Private Cloud
  3. 3. Programmable Resources
  4. 4. Programmable ResourcesWindows Azure Cross Platform CLI Tools
  5. 5. Windows Azure CLI Tools http://aka.ms/Azure-SDK-ToolsChef http://aka.ms/Chef
  6. 6. Scale Out, over Scale Up
  7. 7. Scale Out vs. Scale Up
  8. 8. Windows Azure Web Sites InternalsRequest Process Flow for New (Cold) Sites
  9. 9. Windows Azure Web Sites InternalsRequest Process Flow for Existing (Hot) Sites
  10. 10. Windows Azure Web Sites InternalsFTP and Web Deploy Deployment ProcessLegend
  11. 11. Windows Azure Web Sites InternalsGit Deployment ProcessLegend
  12. 12. Supported PHP Versions5.4.05.3.13Default Support Customized Support Change configurations with .user.ini Load extensions via PHP_ExtensionsAppSetting Bin deploy specific PHP Runtime Configure FastCGI Handler in Web Site Configuration Uses local php.ini file for extensions andconfigurations
  13. 13. Load Balanced Web SiteWindows Azure Web Sites
  14. 14. Decoupling ApplicationComponents
  15. 15. Tightly Coupled
  16. 16. Tightly Coupled
  17. 17. Loosely Coupled
  18. 18. Loosely Coupled
  19. 19. Loosely Coupled
  20. 20. Loosely Coupled
  21. 21. Windows Azure SDK for PHPGitHub: http://aka.ms/AZURESDK-PHPDeveloper Center: http://aka.ms/Develop-PHP
  22. 22. {"require": {"microsoft/windowsazure": "*"},"repositories": [{"type": "pear","url": "http://pear.php.net"}],"minimum-stability": "dev"}
  23. 23. use WindowsAzureCommonServicesBuilder;use WindowsAzureCommonServiceException;use WindowsAzureServiceBusmodelsBrokeredMessage;$serviceBusRestProxy = ServicesBuilder::getInstance()->createServiceBusService(SERVICE_BUS_CONNECTION_STRING);// SERVICE_BUS_CONNECTION_STRING:// Endpoint=https://[sb-namespace].servicebus.windows.net;// SharedSecretIssuer=[sb-issuer];// SharedSecretValue=[sb-access-key]
  24. 24. // Create message$message = new BrokeredMessage();$message->setBody($msg);// Send message$serviceBusRestProxy->sendQueueMessage(QUEUE_NAME, $message);
  25. 25. Message MeWindows Azure Service Bus Queue
  26. 26. Cost, Agility and Reliability
  27. 27. Cory FowlerWindows Azure Technical Evangelist@SyntaxC4blog.syntaxc4.net http://joind.in/8168Questions?Three truths of cloud computing:hardware fails, software has bugsand people make mistakes
  28. 28. Resources aka.ms/TEK13-Azure aka.ms/Tek13-Azure-Code aka.ms/WAWS-Cheat aka.ms/WAWS-PHP-Troubleshoot aka.ms/Develop-PHP aka.ms/AZURESDK-PHP aka.ms/WA-Silverlining

×