Hi folks,My simple CMS has become a bit of a behemoth, and I want to complete its transformation into Optimus Prime by allowing my developers to write plug-in modules in PHP, Java etc.
I read this: http://www.regdeveloper.co.uk/2007/10/12/java_application_server_zend/ (summary: php and java getting it on) and wondered if the mod_perl community should be doing something similar - some form of link from mod_perl to mod_php, so that something like the following would be possible:
sub type_handler {
....
$r->pnotes("php-handler", Apache2::PHP->new($r) ); # fictional module!
}
sub response_handler {
...
$php=$r->pnotes("php-handler");
$some_php_code = .....
$php->run( $some_php_code );
...
}
Back to the beer, looking forward to flames, redirects, and ideas!
John
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.