MODx on Windows


Published on

This talk is a talk that I did at MODxpo in Dallas around PHP on Windows. The demos that I did were tailered to MODx but the rest of the content is applicable to a lot of different projects and PHP applications.

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
  • am Josh Holmes! 
  • is a platform company. That includes things like Windows, SQL Server, Azure and more. Even Office is a platform that many of our partners build applications on top of.
  •’s take a quick peek back at where we’ve been prior to 2006. It was in 2006 that things really started getting excited with regards to PHP on IIS.
  • Prior to 2006, PHP on Windows wasslow and unreliable. There was a noticeable performance difference between IIS and Apache.
  • PHP implementations were not compatible and the reality is that IIS support for PHP was a joke. The CGI implementation was SLOW. The ISAPI implementation was unreliable and Thread-safe dependency never would have worked anyway. And a ton of things that are used all the time in PHP, or really any web applications were either non-existent or third party components such as URL rewriting support.
  • with no rewrite support in IIS, it’s tough to do things like pretty urls.
  • short, it made people mad.
  • where are we now?
  •, pigs fly…
  • for IIS 7.0, 6.0, 5.11 rocks and is fast. It’s the default on IIS7 and it’s a fast and reliable way to run PHP on Windows
  • Driver for PHPReliable, scalable integration with Microsoft SQL ServerDevelopment continues
  • And there’s fantastic support for URL redirection via URL Rewrite. This will even import the ht.access files from your Apache implementation and get you 90% of the way there.
  • pigs fly – we didn’t stop there. In June 2009, we contributed 20k lines of source code to the Linux kernel to do much better virtualization support for things such as Suspend, Hibernate and Resume. Obviously our motivation was to get it to work better with Hyper-V but that code also helps with VMWare, Parallels and more.
  • let’s get to some demos.
  • I think you all want to see what’s in my smokin toolbox here. Demos:WebPIIIS Web Deploy ToolingURL RewriteWinCacheWebSliceSuperPreview
  • – now let’s talk about SQL Server…
  • SQL Server team has been working heavily on support for PHP. There was a native driver for SQL Server for PHP that was released last year. Then the team abstracted out a lot of the core functionality and build a PDO wrapper on the same native drivers. The awesome part about that is that if your application is using PDO (and using standards compliant SQL – i.e. not using LIMIT statements and the like) you can just load that driver and rock on.
  • Any of that exciting? Want these tools and platforms? Are you in a consulting shop? With less than 10 people in the shop? Then you quality for WebsiteSpark. That will give you:3 copies of VS2 copies of Expression Web1 copy of Expression Studio4 procs of SQL Server4 procs of Windows ServerFor 3 years and at the end of that 3 years, you’ll owe Microsoft a whopping $100.00.
  • there’s more
  • Next time, I’ll have to go deep into Azure which is Microsoft’s Platform as a Service offering. PHP is definitely a first class citizen in Azure.
  • hope you’re having a ton of fun here because I am.
  • How WinCache makes PHP run faster WinCache Extensions for PHP Made to PHP 5.3 to Support Windows from PHP 5.2.x to PHP 5.3.x Server PHP Blog Holmes’ Blog
  • MODx on Windows

    1. 1. MODxon Windows<br />
    2. 2. Josh Holmes<br />@joshholmes<br /><br /><br />
    3. 3.
    4. 4.
    5. 5.
    6. 6.
    7. 7.
    8. 8.
    9. 9.
    10. 10.
    11. 11.
    12. 12.
    13. 13.
    14. 14.
    15. 15.
    16. 16.
    17. 17.
    18. 18.
    19. 19. 10 people shops<br />3 copies of VS<br />2 copies of Expression Web<br />1 copy of Expression Studio<br />4 procs of SQL Server<br />4 procs of Windows Server<br />Microsoft WebsiteSpark<br />
    20. 20.
    21. 21. excited about the cloud<br />
    22. 22.
    23. 23.
    24. 24. Resources<br />How WinCache makes PHP run faster <br /><br />Using WinCache Extensions for PHP <br /><br />Changes Made to PHP 5.3 to Support Windows<br /><br />Migrating from PHP 5.2.x to PHP 5.3.x<br /><br />SQL Server PHP Blog<br /><br />Josh Holmes’ Blog<br /><br />