PHP Azure, a bright new day - Community Day 2013

7,158 views

Published on

Windows Azure is one of the best cloud solutions out there and offers many services and tools for professionals to scale and extend their public and private applications. But as a professional web developer you need sometimes a quick solution to run your newest idea on. Most cloud solution providers ask you to download their stuff, upload your stuff and fight with numerous configurations while most of the things you do with Windows Azure you can do with a simple git repository, hosted on Github or BitBucket. This talk shows how fast you can develop a new idea with PHP and have it up-and-running in no time for your customers to see your latest idea and brainstorm about additional features. Generation Now, yes I am.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
7,158
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
3
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

PHP Azure, a bright new day - Community Day 2013

  1. 1. in it2PHP  AzureA  brand  new  day
  2. 2. in it2email:  michelangelo@in2it.betwi;er:  @dragonbefacebook:  dragonbeContactTrainerCommunity  LeaderPHP  ConsultantMichelangelo  van  Dam
  3. 3. in it2#phpazure
  4. 4. in it2Why  Windows  Azure?‣ PHP  Developer‣ Write  web  applicaFons‣ Want  to  deploy  fast  and  safe‣ Prototyping‣ Not  a  sysadmin‣ Don’t  have  Fme  to  worry  about  plaIorms‣ Don’t  want  to  worry  about  scalability
  5. 5. in it2Azure  for  PHP  devs‣ Supports  most  common  PHP  frameworks‣ Symfony,  Zend  Framework,  Silex,  Slim,  …‣ Building  robust  web  applicaFons‣ storage  and  CDN‣ easy  separaFon  of  responsibiliFes
  6. 6. in it2Move  to  the  cloud
  7. 7. in it2Windows  Azure  StackCustomReady to goTechnologyServicesDataStorage Blob Tables Queues CDN Cache
  8. 8. in it2Azure  SDK  for  PHP‣ Contents‣ PHP  client  libraries  for  Windows  Azure‣ Command  line  tools  for  Mac  &  Linux‣ Windows  Azure  powershell  for  Windows‣ Windows  Azure  Emulators  for  Windows
  9. 9. in it2SDK  for  PHP‣ WindowsAzure‣ Blob‣ Common‣ Queue‣ ServiceBus‣ ServiceManagement‣ ServiceRunFme‣ Table
  10. 10. in it2Composer$  svn  export  h:ps://github.com/WindowsAzure/azure-­‐sdk-­‐for-­‐php/trunk/WindowsAzure  library/WindowsAzureSubversion  HpGITPEARSDK  installaFon
  11. 11. in it2PEAR  dependencies‣ HTTP_Request2‣ Mail_mime‣ Mail_mimeDecode
  12. 12. in it2WebsitesStorageCloud  ServicesVirtual  MachinesWindows  AzureCDNSSLSLAMobileMedia Big  DataQAVPNIdenHtyMgmtACL
  13. 13. in it2Azure  Websites
  14. 14. in it2The  quickest  way  to  deploy  to  the  cloud
  15. 15. in it2Requirements‣ A  PHP  project‣ A  version  control  system‣ local  (GIT,  Subversion,  TFS,  WebDeploy)‣ on  line  (GitHub,  Bitbucket,  DropBox)‣ AlternaFve  tools‣ FTP  deploy‣ Using  VisualStudio  or  WebMatrix  to  deploy‣ About  15  minutes
  16. 16. in it2One  important  thing!‣ DocumentRoot  in  project  subdir‣ e.g.  public/index.php‣ Requirement  for  web.config<rule name="GoPub" patternSyntax="Wildcard"><match url="*" />    <action type="Rewrite" url="public/index.php" /></rule>
  17. 17. in it2
  18. 18. in it2Virtual  Machines
  19. 19. in it2AlternaFve  way  to  achieve  cloud  power
  20. 20. in it2Usages‣ Run  arbitrary  processes‣ e.g.  cron  processes‣ Provide  uFlity  services‣ e.g.  forward  proxy‣ Cloud  OS‣ Windows,  SQL  Server  or  Linux  in  the  cloud
  21. 21. in it2
  22. 22. in it2Cloud  Services
  23. 23. in it2I  was  clueless? ??:-(
  24. 24. in it2Background‣ Coming  from  a  UNIX/Linux  environment‣ Worked  as  system  administrator‣ Wrote  tools  in  Perl  (yeah,  I  know)‣ Used  to  Cron,  Shell,  CGI  and  Daemons‣ Worked  with  Windows  IIS‣ Never  had  to  set  things  up‣ Used  FTP  to  deploy  on  the  system‣ Never  knew  the  fact  it  was  a  web  role  in  IIS
  25. 25. in it2Figuring  it  out‣ Web  Role‣ A  web  site  or  service  running  on  the  internet‣ Can  use  all  Windows  Azure  services‣ Worker  Role‣ Runs  processes  in  the  background‣ Can  use  all  Windows  Azure  services
  26. 26. in it2Why  Cloud  Services?‣ All  the  power  of  Web  Sites‣ With  smart  scaling  capabiliFes‣ Memcache  like  caching  layer  per  instance‣ Staging/ProducFon  environments‣ With  smart  swapping‣ Allows  controlled  automated  deployments
  27. 27. in it2Command  line  toolsh;p://www.windowsazure.com/en-­‐us/manage/linux/how-­‐to-­‐guides/command-­‐line-­‐tools/h;p://msdn.microsok.com/en-­‐us/library/windowsazure/jj156055.aspx
  28. 28. in it2Endless  posibiliFesWebApp WebApp WorkerAppMemCacheBlob  Storage Table  Storage QueuesAzure  SQL 3rd-­‐party  MySQL
  29. 29. in it2Conclusion
  30. 30. in it2Conclusion‣ PHP  for  web  applicaFon  development‣ WAWS  for  rapid  prototyping‣ WACS  for  scaling  web  apps  and  workers‣ WAVM  for  proxy,  tooling  and  scheduling
  31. 31. in it2PHP  checklist‣ Get  your  prototypes  online  quickly‣ Ensure  your  apps  stay  online  all  the  Fme‣ Distribute  responsibiliFes‣ Integrate  3rd-­‐party  soluFons  easily
  32. 32. in it2No  system  knowledge  necessary!Limited✓
  33. 33. in it2Michelangelo  van  DamZend  CerFfied  Engineermichelangelo@in2it.bein it2PHP  ConsulFng  -­‐  QA  Audits  -­‐  Training  Courses
  34. 34. in it2CreaFve  Commons  Credits‣ sunny  clouds:  h;p://www.flickr.com/photos/andyfitz/2340298916‣ balloon:  h;p://www.flickr.com/photos/ashraful/5836601848‣ flight:  h;p://www.flickr.com/photos/unfinishedportrait/7712845996‣ train:  h;p://www.flickr.com/photos/nomadic_lass/8508000688  
  35. 35. in it2Thank  you

×