首页 / PHP / MicrosoftPHP.Net?
MicrosoftPHP.Net?
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了MicrosoftPHP.Net?,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2517字,纯文字阅读大概需要4分钟。
内容图文
居然发现老外有个项目在把PHP搞成象。NET那样咯,核心是Framework 上把 PHP 编译为MSIL。居然见 http://www.php-compiler.net/,而且今年居然还FINAL 1.0出来了,这对象把PHP放到.NET平台上来的人说
是好消息。
20 February 2006: Phalanger version 1.0 (final) has been released and is available for download. Several new native extensions are now supported by Phalanger (Calendar, ODBC, WinBinder). MySQL extension is fully managed and works with the latest versions of MySQL server. The final version also fixes many bugs and adds functions and features of PHP 5.1.2. See change log for details
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.
内容总结
以上是互联网集市为您收集整理的MicrosoftPHP.Net?全部内容,希望文章能够帮你解决MicrosoftPHP.Net?所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。