PHP, LAMP, Windows, ASP.NET ?????? Sometimes you can't choose just one.
In this session, long time PHP developer and Microsoft MisfitGeek with explore the plethora of ways you can make PHP and ASP.NET interoperate.
7. PHP and the Microsoft Developer Ecosystem.
Windows Ecosystem
– Over 600,000 partners in the MS Ecosystem.
– Microsoft makes MUCH more than Windows
– Microsoft is making huge investments
interoperability standards and technologies.
(WS-I, etc.)
– Microsoft provides
…. a complete turn-key infrastructure
…. Individual best-of-breed applications for you to
choose from
– Rapidly growing Service Offerings
– FUTURE TECHNOLOGIES
8. Software Options from Microsoft
Identity
MS Access MS Outlook BizTalk SQL Server MS LCS Integration
Server
Business
MS Excel PowerPoint SharePoint SQL RS ISA Server
Manager
MS FrontPage MS Project MS CMS SQL AS Virtual Earth Data Analyzer
Small Business Exchange
MS InfoPath SQL NS Messenger MS Mobile
Accounting Server
Commerce
Live Meeting MS Visio Project Server MapPoint Tablet PC
Server
MS Starter
MS OneNote MS Word MS CRM MOM App Center
Kits
9. More Software Options from Microsoft
Active
IIS 6/7 Axapta Navision Info Bridge Media Center
Directory
Retail
ADAM MSMQ Great Plains WSH Info Card
Management
Small Windows
Authorization Windows
Business Unix DirectX WinFX
Manager Server 2003
Manager Services
Operations Windows Windows
MS Solomon VBA / VSA ActiveX
Manager Mobile Workflow
MS Presentation
XML-WS Application MSN Hosted
Enterprise Foundation
WSE Center Search Controls
Reporting (Avalon)
Windows System Windows Host
Windows Vista
Media Management Index Integration
Embedded Longhorn
Server Server Server Server
10. More Software Options from Microsoft
Slverlight
WF or BizTalk
Live Services
Virtual Earth
Media Services
18. ASP.NET Membership Integration
ASP.NET
– Complete Managed API
PHP on Windows
– Microsoft SQL Server Driver for PHP (Willow)
– Web Services
– .NET / COM
PHP On Linux
– FreeTDS
– Sockets
– Web Services
24. Authentication from PHP/Linux
MS SQL In Windows
– Security Configuration Required
Free TDS On Linux
– MS SQL via ODBC over TCP/IP
Platform Specific PHP Code
31. Microsoft AJAX
Intergrated with ASP.NET Server
Complealty Independent Client Framework
Server Implementation Samples for Non-
MS
Completely Free
Completely Open Source
37. PHP and COM
What’s COM ?
PHP doesn’t REALLY speak COM.
COM is the Lingua Franca of Windows
– VB
– C++ (Ours and many others)
– Delphi
– Python
– Perl
– Cobol
– Fortran
38. Creating a COM Object
Instance
<?php
$myCOMObject =new
COM(quot;COMObject.COMClassquot;);
$myCOMObject->someMethod(“Some Argument”);
?>
41. .NET Framework and Tools
VB C++ C# J# …
Common Language Specification
Visual Studio .NET
ASP .NET Windows
Web Forms Web Services
Forms
Mobile Internet Toolkit
ADO .NET and XML
Base Class Library
Common Language Runtime
Operating System
42. The Shared Source CLI
VS.NET System.Web (ASP.NET) System.WinForms
C# SessionState UI Design ComponentModel
Caching HtmlControls
JScript Security WebControls
VB Configuration System.Drawing
Simple Web Services
VC/MC++ Drawing2D Printing
Protocols
Imaging Text
Debugger Discovery Description
Designers System.Data (ADO.NET) System.Xml
ADO SQL XSLT Serialization
SDK Tools Design Adapters XPath
CorDBG
System
ECMA CLI
ILAsm Collections IO Security Runtime
Configuration Net ServiceProcess InteropServices
ILDbDump
Diagnostics Reflection Text Remoting
SN
Globalization Resources Threading Serialization
ILDAsm
MetaInfo Common Language Runtime
GC App Domain Loader JIT
PEVerify
MSIL Common Type System Class Loader
Platform Adaptation Layer Networking
Boot Loader
Threads Sync Timers Filesystem
43. Base Class Library
System.Web System.Windows.Forms
Services UI Design ComponentModel
Description HtmlControls
Discovery WebControls
Protocols System.Drawing
Caching Security Drawing2D Printing
Configuration SessionState Imaging Text
System.Data System.Xml
OleDb SqlClient XSLT Serialization
Common SQLTypes XPath
System
Collections IO Security Runtime
Configuration Net ServiceProcess InteropServices
Diagnostics Reflection Text Remoting
Globalization Resources Threading Serialization
44. Microsoft .NET
COM Callable Wrapper
Runtime Callable Wrapper
PHP Restrictions
– OLE 2
Parameterless Constructors
52. Integration Options
The Windows File System
SMTP
X.500
WDDX
MS-SQL Server, ADO, ODBC
– What about the new auth provider?
– What about database’d session state
XML
LDAP
54. Integration Options
HTTP Form Tricks
They can be Open
They can be Hidden
They can be Encrypted
Cookie Tricks
They can also be encrypted
Finally some ADVANTAGE to
HTTP’s stateless protocol.
56. A PHP Project Wish List
A native Active Directory API PHP
An AzMan API for PHP
A PHP Bridge to ADAM
An ASP.NET 2.0 Authentication Provider for
PHP
A seamless session state bridge.
A CDO / Exchange Bridge for PHP
PHP-Nuke, Mambo, etc. etc.
– On Microsoft SQL
– Optionally in Phalanger
– Optionally using AD
57. Call to Action !
•Get your FREE Visual Studio
•Understand what products Microsoft makes.
•Email Joe.Stagner@Microsoft.com
•Read me at http://www.MisfitGeek.com