Perl and PHP Mashup

pudge on 2005-08-25T07:23:00

Theory writes "As part of the developer release of Bricolage 1.9.0 Punkin last week, I blogged about some of the cool new features, including native PHP 5 templating. How does it work? It's thanks to the new PHP::Interpreter module, which embeds a PHP interpreter in Perl. The upshot is that this module can be used to execute PHP code that can reach back into Perl to use Perl modules. For PHP developers, CPAN envy is a thing of the past."


PHP::Interpreter

slanning on 2005-08-26T09:58:19

[0]Theory writes " ... the new [3]PHP::Interpreter module, which embeds a PHP interpreter in Perl. The upshot is that this module can be used to execute PHP code that can reach back into Perl to use Perl modules. For PHP developers, CPAN envy is a thing of the past."

Is that true? I mean, wouldn't PHP normally already be interpreted by a PHP interpreter (mod_php, I think)? How would this allow PHP developers to use CPAN modules, you'd have to wrap your whole PHP environment in Perl?

Re:PHP::Interpreter

Theory on 2005-08-26T17:04:52

Is that true? I mean, wouldn't PHP normally already be interpreted by a PHP interpreter (mod_php, I think)? How would this allow PHP developers to use CPAN modules, you'd have to wrap your whole PHP environment in Perl?

Yes, they'd have to switch it to Perl, but just install a simple mod_perl handler that hands everything off to PHP::Interpreter. Hell, this would even allow PHP d00ds to get access to the other Apache request phases!

But I thnk that George plans to make things more transparent and therefore appealing to the PHP side soon, too. But I'll have to let him speak to that.

—Theory

not that new,

int32 on 2005-08-28T19:23:01

wasn't there a PHP interpreter module on cpan already, http://search.cpan.org/user/karasik/PHP-0.09 ?

Where is the site

alexmc on 2005-09-06T07:42:00

I am confused. The Bricolage website seems to be down and has been for several days. Anyone know why?

Re:Where is the site

Jeff Connelly on 2005-09-06T21:25:58

I can't get to the Bricolage site either. There doesn't seem to be a web server running on it, only ssh.

The Google cache is still available, however. Kineticode's Bricolage download page is as well.

I've emailed Kineticode about this issue; hopefully it will be fixed soon. Bricolage looks like an interesting program, I'll have to look into it next time I need a CMS.