[Mono-list] asp.net or php
Miguel de Icaza
Wed, 21 Jan 2004 14:34:31 -0500
> Just to get everyone's opinion, how interesting would it be to make PHP
> a NET-enabled language with Mono?
Such efforts have been started as weekend projects, but never fully
You have to separate two things though:
* The language
* The platform.
PHP is a language typically bound to a web-based platform. Lets call
them PHP-language and PHP-platform to distinguish them.
ASP.NET provides the language-neutral platform for an object-oriented
way of designing web applications.
For Web applications, you could implement a .NET compiler for
PHP-language, and this could be used to host PHP-language scripts
inside the ASP.NET platform.
You could also implement the PHP-platform (the web hosting, the common
functions) and expose those to existing .NET languages.