phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)


Published on

Session presented at phpbenelux User Group on 28 October 2009.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

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

No notes for slide

phpbenelux - Microsoft & PHP (Web Platform Installer, Bridges and Azure)

  1. 1. Make Web Not War<br />Say(Hello); to the Microsoft Web Platform<br />We Say(Hello); to you<br />Katrien De Graeve<br />Developer Evangelist, Microsoft Belgium<br /> (Twitter: @katriendg)<br />Maarten Balliauw<br />Software Engineer, RealDolmen<br /> (Twitter: @maartenballiauw)<br />/Web<br />
  2. 2. Agenda<br />Microsoft and Open Source?<br />Open Source Technology Center<br />PHP on Windows overview<br />Windows Server 2008 + PHP<br />Windows Web Platform <br />SQL Server Driver for PHP<br />Extending support for PHP (aka bridges)<br />Head in the clouds<br />
  3. 3. Microsoft Open Source Technology Center<br />
  4. 4. Microsoft and the PHP Community<br />Before<br />Now<br />
  5. 5.<br />
  6. 6. Combined Effort for PHP Excellence<br />ADOdb<br />First LGPL Open Source project that Microsoft has contributed to<br />SQL Server PHP Driver<br />This first release of SQL Server Driver for PHP is designed to enable PHP applications to be developed and deployed on SQL Server<br />IIS7+ FastCGI<br />Improvement the performance of PHP on Windows<br />Expression Web 3.0<br />Broadens tool focus to support PHP site editing<br />
  7. 7. Community Feedback<br />Enthusiastic and positive feedback from the users base and in the press<br />Increasing support from other core developers<br />More has been done in a couple of months than in the last 5 years Rob Richards, PHP Core Developer, LibXml Maintainer<br />Applying windows specific changes in PHP code has become substantially easier<br />I do not care about windows attitude is going away<br />80K downloads of PHP 5.3.0 Alpha via (3 months)<br />
  8. 8. Introducing the Microsoft Web Platform<br />A powerful set of tools, servers and technologies optimized for building and hosting next generation web applications. <br />
  9. 9. Microsoft Web Platform Installer<br />Makes it simple for anyone using Windows Server or Client to design, develop, discover, deploy and run web applications.<br />Install the latest versions of FREE Microsoft Web Platform tools, web server and extensions, database and frameworks including PHP. <br />Stay up-to-date and explore what’s new. <br />Runs on Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008<br />
  10. 10. ..including popular ASP.NETandPHPwebapps from the community. <br />
  11. 11. Web Platform Installer<br />demo <br />
  12. 12. PHPSupport in Windows Server 08<br />Integrated support with IIS 7.0 and Fast CGI<br />CGI and ISAPI was the only supported SAPIs on prior IIS versions<br />CGI – Stable but too slow<br />ISAPI – Fast but not stable<br />FastCGI support added in IIS 5.1, IIS 6.0, IIS 7.0<br />Reliable and fast PHP processing<br />WinCache IIS extension (New!)<br />Increase PHP application performance on Windows by caching PHP bytecode in memory<br />Reduce file system I/O overhead by caching the PHP scripts in memory<br />Avoid redundant mapping for absolute paths by using relative file path cache<br />
  13. 13. THE SQL Server for PHP DRIVER<br />The SQL Server Driver for PHP is designed to enable reliable, scalable integration with SQL Server for PHP applications deployed on the Windows platform.<br />SQL Server Driver for PHP 1.1 includes<br />Support for SQL Azure<br />Support for PHP version 5.3<br />Support for UTF-8<br />
  14. 14.<br />
  15. 15. PHP Interoperability with Microsoft TechnologiesA bunch of stuff<br />PHP Interop Projects<br />PHP SDK for Windows Azure Storage<br />Toolkit for PHP with ADO.NET Data Services<br />IE8 Webslices & Accelerators for PHP<br />Silverlight for PHP<br />PHP-SQL CRUD Application builder<br />Silverlight CRUD Application builder<br />Live Maps PHP Toolkit<br />Live Messenger Tutorial<br /><br />
  16. 16. PHP SQL CRUD Application Wizard<br />Logical architecture <br />Overview <br />A code generator that creates a simple &quot;Create, Read, Update, Delete“ (CRUD) PHP application from a Microsoft SQL Server database table.<br />Features<br />Code generator build in .NET<br />Creates PHP code and classes to support:<br />Data Navigation,paging, sorting <br />UI customization with simple CSS<br />Project site: <br /><br />http<br />Run time<br />SQL<br />Design Time<br />Microsoft SQL Server<br />Design Time<br />Design time<br />
  17. 17. HEAD IN THECLOUDS<br />Windows Azure offers a simple, reliable, and powerful platform for the creation of web applications and services<br />Scale up and down seamlessly<br />Maximize resource utilization<br />Leverage your language and skills to build cloud-based applications, including PHP<br />ASP.NET Web Application Framework<br />
  18. 18. What is ?<br />It is an operating system for the cloud<br />It is designed for utility computing<br />It has four primary features:<br />Service management<br />Compute<br />Storage<br />Developer experience<br />
  19. 19. + FastCGI<br />Windows Azure now supports<br />The FastCGI module<br />PHP enabled via xcopy deploy of PHP runtime binaries<br />And, the IIS7 URL rewrite module to enable friendly URL’s with PHP apps<br />
  20. 20. Use PHP while realizing the benefits of Windows Azure<br />Automated service management<br />You define the rules and provide your code<br />The platform follows the rules: deploys, monitors, and manages your service<br />A powerful service hosting environment<br />All of the hardware: servers; load balancers; …<br />Scalable, available cloud storage (via REST)<br />Blobs, tables, queues, …<br />Developer Experience: Simulated cloud environment<br /> + FastCGI<br />
  21. 21. PHP SDK for Windows Azure<br />Logical architecture <br />Overview<br />Enables PHP developers to take advantage of the Microsoft Cloud Services Platform  – Windows Azure.  <br />Open source project being contributed to Zend Framework (<br />Features<br />PHP classes for Windows Azure Blobs, Tables & Queues (for CRUD operations)<br />Helper Classes for HTTP transport, AuhN/AuthZ, REST & Error Management<br />Manageability, Instrumentation & Logging support<br />Project site: <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 />
  22. 22. Upcoming demo: ImageCloud architecture<br />End Users<br />ImageCloud<br />WebRole<br />Worker Role<br />Computation Services<br />Table Storage<br />Blob Storage<br />Queue Service<br />Storage Services<br />
  23. 23. PHP on Windows Azure<br />demo <br />
  24. 24. Someannouncements…<br />Eclipse “next-generation experience” on Windows 7 project<br />Jump lists<br />Taskbar integration<br />Look and feel for Java apps<br />Windows Azure Tools for Eclipse for PHP developers<br /><br />Includes (PHP SDK)<br />Windows Azure SDK for Java developers<br /><br />Eclipse tools forSilverlight<br /><br />
  25. 25. Let’s Revisit: Why Microsoft? <br />Microsoft has a thriving ecosystem of over 6 million active ASP.NET and .NET developers (and building a strong base of PHP developers building on Windows and IIS)<br />Open Source developers have expressed the desire to build applications on Windows and distribute them through a Windows Web Application Gallery; we have a community ready<br />Offering the most current Windows Web Platform will ensure your ability to meet our customers needs as we drive demand for our platform<br />Microsoft has an expansive marketing channel and comprehensive guidance to help you take advantage of the pipeline and meet those customer expectations<br />
  26. 26. A Call to Action<br />Try out the Web Platform Installer & Gallery!<br /><br />Did we mention it’s all FREE?<br />Comemeet us at UX@Vitra – 25th November<br />
  27. 27. Resources<br /><br />SQL Server Driver for PHP<br /><br />PHP on Windows Training Kit<br />Windows Azure Training Kit<br /><br />MSDN Blogs (interoperability)<br />Channel 9<br />PORT 25<br /><br /><br />
  28. 28. THANK YOU!<br />