On 12.10.05 10:59 -0400, Paul Taylor wrote:
> I'm not ready to give up on PHP yet... :) It has served us well so
> far. It also supports OOP...
...in a way I don't really like (weakly typed language + OO = ?).
Apparently it's become better in PHP 5, but I'm still not convinced.
> As for using it in the core.... Have you heard of nanoweb?
> (http://nanoweb.si.kz/) It's a web server written entirely in
> PHP.. While it sounds odd at first, that project has managed to
Yep, I even considered using it when I started m0n0wall and needed a
small web server. However, when I found out that it can't run PHP
scripts without relying on an external PHP CGI binary (how ironic), I
dismissed the idea.
The problem I see with PHP in the core is that the core will almost
certainly need to run multiple threads to supervise other processes,
handle connections from the webGUI and possibly other sources, and
external events. I don't see how you could write a multi-threaded
network-enabled daemon with PHP... maybe somebody can show us.