.NET平台上的PHP編譯器thePHPLanguageCompilerfor.NETFramework_PHP

來源:互聯網
上載者:User
關鍵字 編譯 平台 the PHP .NET to of and

.NET平台上的PHP編譯器 the PHP Language Compiler for .NET Framework

Phalanger,.NET平台上的PHP編譯器。提供了.NET平台和PHP語言交流互動的實現。現在,您可用PHP撰寫的類別使用在.NET應用程式裡,或是在PHP的scripts中使用.NET的類別。

一些圖片:

.NET平台下寫PHP文檔


(PHPNuke with SQL Server)效能對比.

不同平台下的效能對比:

執行效率對比

Latest News

  • 25 March 2005: phpBB bulletin board system running on this server and compiled by Phalanger, of course. An opportunity to discuss Phalanger issues with us right here. See notes on running phpBB on Phalanger.
  • 21 March 2005: Bug Fix has been released (see details).
  • 1 March 2005: Phalanger version 1.0 Beta 2 with many new features has been released and is available for download.
  • 1 March 2005: Licensing policy has been changed. Phalanger is free even for comercial purposes from now on.
  • 28 February 2005: New sample applications are available for on-line testing and/or download.
  • 28 February 2005: We've benchmarked PHP-Nuke web application on Beta 2 and got rapid performance improvement (see the comparison).

Introduction

The Phalanger is a complex solution giving web-application developers the ability to benefit from both the ease-of-use and effectiveness of the PHP language and the power and richness of the .NET platform. This solution enables developers to painlessly deploy and run existing PHP code on an ASP.NET web server and develop cross-platform extensions to such code taking profit from the best from both sides. Compatible with PHP 5.0, the object model in Phalanger enables to combine PHP objects with the .NET ones. It is possible to use a class written in PHP from a .NET application or even to import a .NET class (written for example in C# or Visual Basic .NET) into PHP scripts provided that this class respects the PHP object model implemented in the Phalanger. The Phalanger is the only existing PHP compiler which produces .NET Framework MSIL bytecode.

From another point of view, Phalanger provides the .NET programmers with the giant amount of practical PHP functions and data structures - many of them reimplemented in the managed environment of the .NET Framework. The whole Phalanger class library (including functions implemented in the PHP extensions) is accessible to a .NET programmer regardless to her favorite programming language together with type information and in-library debugging.

For last but not the least, compilation of PHP scripts gives yet more power to the existing web applications in the Phalanger environment. All the static (run-time immutable) code in the scripts gets parsed and compiled only once and all following accesses to a page benefit from the unleashed execution of the native compilation of the script. Yet the usage of Phalanger is not limited to web applications. The compiler supports output of standalone executables or dynamic link libraries enabling you to create managed PHP console applications or library modules reusable from any other .NET Framework application.

  • 相關文章

    聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.