用户注册



邮箱:

密码:

用户登录


邮箱:

密码:
记住登录一个月忘记密码?

发表随想


还能输入:200字

神马    -  云代码空间

—— 任何傻瓜都能写出计算机可以理解的代码,好的程序员能写出人能读懂的代码。

PHP的.NET编译器——Phalanger

2013-09-01|1603阅||

摘要:  Improve Performance Phalanger seamlessly compiles PHP


IMPROVE PERFORMANCE

Compilation improves performance

Phalanger seamlessly compiles PHP code into .NET assemblies.

Thanks to compile-time analysis, Just-In-Time compiler and modern runtime implementation; execution of PHP scripts is safer and significantly faster! The process is very similar to how C# and ASP.NET work as developers are used to.

INTEGRATE WITH .NET

.NET runtime with unique integration possibilities

  • PHP code running on Phalanger takes advantage of any .NET library. You can make use of C#/VB.NET/F# – any object/function will be seamlessly available in your PHP scripts.
  • Phalanger allows you to execute PHP scripts right inside a .NET language. Enhance your C# code with functionality written in PHP.

USE MODERN IDE

Integration with Visual Studio development environment

Phalanger Tools adds support of Phalanger into Visual Studio. In this way the integration of PHP with .NET and development experience itself are easier and saves your time.

Phalanger Tools for Visual Studio colorizes PHP scripts, shows code errors, allows you to compile and debug PHP code as you are used to and much more!

 

Phalanger 是PHP的.NET编译 器;也就是能将PHP程序代码编译成.NET平台的MSIL。Phalanger早在2005年就开始由一群捷克的计算机系学生动手开发。

Phalanger与PHP 5.0兼容,并且能结合PHP和.NET两者的对象,例如可以从.NET程序使用PHP开发的类库,或者以PHP程序使用C#或VB.NET开发的类库 (当然,这种PHP程序必须以Phalanger编译);Phalanger最广泛的应用就是将PHP网页编译成ASP.NET网页,此外也能够用PHP 编写WinForms程序。最近才发布的2.0测试版beta3的Phalanger,最大的改进是完整支持.NET Framework 2.0。

在CodeProject上有一篇文章介绍Phalanger, PHP for .NET: Introduction for .NET developers 。文章比较长,注意一点就是(http://www.php-compiler.net/) 网站所使用的Wiki程序 DokuWiki 就是PHP程序通过Phalanger运行在.NET上,你应该很有兴趣去看看,感受一下.NET下的动态语言。

开源地址:http://phalanger.codeplex.com/

官方网站:http://www.php-compiler.net/

顶 1踩 1收藏
文章评论
    发表评论

    个人资料

    • 昵称: 神马
    • 等级: 高级设计师
    • 积分: 5284
    • 代码: 1024 个
    • 文章: 154 篇
    • 随想: 57 条
    • 访问: 358 次
    • 关注

    站长推荐