php如何在net上编译,.NET平台上的PHP编译器 the PHP Language Compiler for .NET Framework-PHP教程,其它文章...

phalanger,.net平台上的php编译器。提供了.net平台和php语言交流互动的实现。现在,您可用php撰写的类别使用在.net应用程序里,或是在php的scripts中使用.net的类别。

一些图片:

.net平台下写php文档

showimg.php?iid=141

(phpnuke with sql server)性能对比.

showimg.php?iid=140

不同平台下的性能对比:

showimg.php?iid=139

执行效率对比

showimg.php?iid=138

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: weve 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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值