Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

Perl and PHP Mashup

posted by pudge on 2005.08.25 2:23   Printer-friendly
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."
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • [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?

    • 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 theref

  • wasn't there a PHP interpreter module on cpan already, http://search.cpan.org/~karasik/PHP-0.09 [cpan.org] ?
  • I am confused. The Bricolage website seems to be down and has been for several days. Anyone know why?