March 2005 - Posts
Run PHP code under .Net unmodified today:
http://php-compiler.net/
Highlights
Run PHP from inside .Net
compiled functions, classes and interfaces can be used from other .NET languages (like C#)
PHP code can call methods declared in the Phalanger's Class Library (methods annotated by certain metadata are visible to PHP code)
development of ASP.NET web applications made up from existing PHP scripts
compiled scripts run faster than interpreted ones and even those sped-up by PHP encoders (see benchmarks)
console applications written in PHP are compiled into single-module executable .NET assemblies
libraries of PHP classes, interfaces, constants and functions are compiled into single-module .NET assemblies
more than 450 PHP functions implemented in the Phalanger Class Library
all PHP extensions are available to any other .NET language via managed wrappers
managed wrappers encapsulates native extension dlls with a managed layer hiding implementation details of extension dlls
Integrates the PHP language into Microsoft Visual Studio .NET
- a new type of project for PHP console applications and libraries
- syntax highlighting
- syntax checking
- integrated project building
- simple tracing using compiler-generated debug symbols (experimental in this version)
The difference between these 2 is excellently documented in this post by Peter Bromberg.
There is quite a lot in this post so it should be a worth while read.
Full source shows you what IE processed, so all of the original source
Toggle borders is more of an layout debugging tool, which allows you to see the borders without setting things to border = 1 or something like that in code.
They both seem like good time savers on the Html design front...