WordPress.NET
Running PHP and WordPress in .NET CLR and IIS

Svetlin Nakov
Ph.D., Computer Science
www.nakov.com
WordCamp ...
Contents
 Phalanger

 PHP Compiler for .NET
 Phalanger Tools

for Visual Studio
 WP.NET

 WordPress running
in Phalan...
Phalanger
PHP Compiler for .NET
Phalanger: The PHP Compiler
 Phalanger is

PHP compiler for .NET

 Compiles the PHP code into .NET assemblies
(MSIL code...
Compiling
PHP Code
with
Phalanger
Live Demo
Phalanger Tools
for Visual Studio
Create, Compile, Run and Debug PHP Projects in VS
Phalanger Tools for VS
Live Demo
WP.NET
Running WordPress in .NET Framework and IIS
WP.NET: Running WordPress
in .NET, Phalanger and IIS
 Installing WP.NET

 Install Phalanger from
http://phalanger.codepl...
C# Plugin in WP.NET
Live Demo
WP.NET Performance
 WP.NET performance on Windows 7 and IIS 7.5



Source: http://php-compiler.net/benchmarks
11
Phalanger: Problems
 WordPress 3.7 is

not supported in Phalanger

 Works but is not stable
 Phalanger developer tools ...
WordPress.NET

Questions?
Upcoming SlideShare
Loading in...5
×

WP.NET: Running WordPress in .NET CLR and IIS with Phalanger

52,514

Published on

Talk: WP.NET: Running WordPress in .NET CLR and IIS with Phalanger
Event: WordCamp 2013 Sofia
Speaker: Svetlin Nakov
Date: 26-Oct-2013

Learn more at: http://www.nakov.com/blog/2013/10/26/wp-net-running-wordpress-in-net-clr-under-iis-through-phalanger/

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
52,514
On Slideshare
0
From Embeds
0
Number of Embeds
26
Actions
Shares
0
Downloads
7
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

WP.NET: Running WordPress in .NET CLR and IIS with Phalanger

  1. 1. WordPress.NET Running PHP and WordPress in .NET CLR and IIS Svetlin Nakov Ph.D., Computer Science www.nakov.com WordCamp Sofia, 26-Oct-2013
  2. 2. Contents  Phalanger  PHP Compiler for .NET  Phalanger Tools for Visual Studio  WP.NET  WordPress running in Phalanger and IIS  Integrating PHP and C# Code 2
  3. 3. Phalanger PHP Compiler for .NET
  4. 4. Phalanger: The PHP Compiler  Phalanger is PHP compiler for .NET  Compiles the PHP code into .NET assemblies (MSIL code in .DLL files)  Supports Windows (.NET) and Linux (Mono)  Phalanger allows:  Run PHP code in .NET application  Combine ASP.NET / MVC and PHP code  Mix PHP with C# seamlessly  http://www.php-compiler.net 4
  5. 5. Compiling PHP Code with Phalanger Live Demo
  6. 6. Phalanger Tools for Visual Studio Create, Compile, Run and Debug PHP Projects in VS
  7. 7. Phalanger Tools for VS Live Demo
  8. 8. WP.NET Running WordPress in .NET Framework and IIS
  9. 9. WP.NET: Running WordPress in .NET, Phalanger and IIS  Installing WP.NET  Install Phalanger from http://phalanger.codeplex.com  Download WP.NET from http://wpdotnet.com  Create a virtual directory in IIS  Configure Web.config and wp-config.php  Configure the MySQL DB / run the WP install  Optionally install IIS_URL_rewrite for IIS 9
  10. 10. C# Plugin in WP.NET Live Demo
  11. 11. WP.NET Performance  WP.NET performance on Windows 7 and IIS 7.5  Source: http://php-compiler.net/benchmarks 11
  12. 12. Phalanger: Problems  WordPress 3.7 is not supported in Phalanger  Works but is not stable  Phalanger developer tools for Visual Studio  Have free limited edition  E.g. the autocomplete feature is missing in the free version  costs $149 / year  The initial PHP compilation is slow  WP.NET has long startup time 12
  13. 13. WordPress.NET Questions?
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×