01_DrupalBalkanSummit2011 - Drupal & Microsoft

motherlamentationInternet και Εφαρμογές Web

7 Δεκ 2013 (πριν από 3 χρόνια και 8 μήνες)

110 εμφανίσεις

/Web

Drupal
& Microsoft

s
ini
ša perović, dpe

sinisap
@microsoft.com


@
kune_do

Abstract

For a number of years it was well known that running PHP or
Drupal on Windows
and IIS
was largely not possible, especially
in a production hosted environment. What is largely not
known is today how much that has changed. For the last
5
years Microsoft
has been working very closely with the PHP
community and there are a number of recent changes to our
web platform of Windows Server, IIS and SQL Server that
make running PHP on the Microsoft Web
Platform a reality for
production sites. And over the last two years Microsoft has
been working with the Drupal community to make Drupal run
great on our platform as well.


This is that story…

But first….

Let’s talk about PHP


on Windows…

A look back to 2006


PHP 4.4, 5.0


IIS 6



PHP on Windows+IIS


Running on CGI


Stable but Slow


Running on ISAPI


Fast but unstable

FAST
-
CGI
PHP


Production PHP on Windows!!!


Requests from app pool


Automatic max app pool sizing


Auto recycling PHP pool when
php.ini changes


Consolidate PHP errors in IIS

IIS

7


Nearly ground up Rewrite


New modular architecture


Default minimum installation


Streamlined
processing pipeline


New XML
-
based
web.config



URL
REWRITE


Required for many Web CMS’s


Rules
-
based, text file or database


Reg
-
Ex & wildcard matching


Rewrite:


Outbound URL’s


Request
headers and Server variables


HTTP Response


Inside specific html tags in
response

WIN
CACHE






PHP Cache for Windows


Opcode

Cache


File
Cache


Resolve
File Path Cache


Session
Cache


User
Data Cache


WinCache Statistics
Script




PHP
5.3


Total rebuild from source


Feature & security parity


Rewrote the build system


Native Win32 instead of
POSIX


Latest compiler
VC9


Many other optimizations




Use NTS version for IIS


PHP
Manager


Register multiple
PHP
versions


E
asy checking of
phpinfo
()


Configure error reporting


Manage php.ini directives


Manage all PHP extensions


Remote PHP
administration




SQL

Server


PHP Driver for SQL Server
2.0


Support for native PHP


Support for PDO


Support
for PHP
5.3



Source released under Apache 2.0



Drupal 7 will be first major PHP app with SQL
Server support

IIS
DATABASE

MANAGER


Consolidate MySQL or SQL
Server Management inside IIS
where you manage your
sites


Manage local/remote databases


Create and edit tables


Add and edit data


Modify indexes and keys


Create and execute queries


PHP
INTEROPERABILITY


Windows Azure Companion
(CTP)


Install & configure PHP & web apps


Azure
Tools for
Eclipse/PHP


Build for the cloud on PHP


Azure
Cmd

Line Tools for
PHP


Cmd

line package & deploy to Azure


Windows Azure SDK for PHP


Extend with blobs
, tables and
queues



Currently working on getting Drupal
to work great on Windows Azure



DRUPAL

& MICROSOFT


Web App
Gallery


Easiest
way to install


Zip + Manifest


Packages built and
tested for
Windows+IIS


Detects/Installs
dependencies





DRUPAL

& MICROSOFT


Drupal 6 QA Team


Certify for Drupal


Windows


IIS


MySQL



Participating on
drupal.org forums




DRUPAL

&

MICROSOFT


Drupal 7
will ship
with
web.config



Drupal 7 with MSSQL


SQL_PDO Driver


Drupal Module for SQL



DRUPAL

& MICROSOFT


DaNGO



Drupal and NGO’s


Windows Messenger


Bing Geocode


Activity Dashboard


Fundraising


eNewsletter
*


Install Profile



DRUPAL
ON
WINDOWS

Microsoft Web Platform

A
Drupal
installation can now be hosted on Microsoft® Windows®
using the
Microsoft Web
Platform
which provides support for
MySQL
and

PHP


With
Drupal 7

you can have the benefits of
SQL
Server®

PDO

GET IT ALL RIGHT
HERE

Drupal on Windows


microsoft.com/web/drupal

GETTING
DRUPAL

FOR
WINDOWS

The
Web Platform Installer
takes all the hard work out of
installing Web Applications
on the
Windows

platform


Run the installer on your
server and just
select

the
applications you want


Get it at:


microsoft.com/web/drupal

MICROSOFT
WEBMATRIX


Introducing…


WHAT’S NEXT?

DRUPAL

&
WEBMATRIX


Create a new Drupal site


Web
Application Gallery


Acquia Drupal


Create from Folder


Drupal install profile

DRUPAL

& WEBMATRIX


Customize and Test


Light
-
weight editor


HTML, PHP, CSS


Easily add modules


MySQL Database editor


Monitor HTTP Requests


Tune and optimize for
Search Engines

DRUPAL

& WEBMATRIX


Publish to the Web


FTP


Web Deploy


Includes Database


Pull
-

Synchronize


Web Hosting Gallery


Great deals on hosting


Drupal on Windows + IIS


PHP and MySQL


Learn more...


WebMatrix

http://www.microsoft.com/web
/


Drupal on Windows
http://www.microsoft.com/web/drupal
/


PHP
on Windows
http://
www.microsoft.com/web/platform/phponwindows.aspx


BizSpark
http://www.microsoft.com/BizSpark
/


Website Spark
http://www.microsoft.com/web/websitespark
/


Codeplex

http://www.codeplex.com
/


Interop

Bridges
http://www.interoperabilitybridges.com
/


http://
www.microsoft.com/en
-
us/openness/resources.aspx


WinCache
http://
www.iis.net/download/wincacheforphp



QUESTIONS?

Thank You