[REBOL] REBOL in PHP
From: ralph:abooks at: 5-Dec-2000 10:52
Quick tip:
In my book REBOL FOR DUMMIES (order it at http://rebolpress.com), I show how
PHP code embeds in REBOL scripts. Ah, but what if you want to call a REBOL
script from within PHP code? If your server is Apache and runs PHP4, it's
very simple:
<?PHP
virtual ("cgi-bin/banner.r");
?>
Why would you want to? I am a firm believer in hybrid programming--combining
the strengths of two or more scripting languages for a greater whole than
either of the parts can provide. In specific, while REBOL blows PHP away in
most aspects, PHP provides exceptionally powerful MySQL (and other SQL)
support. So the intermixing of scripting languages often gives a quick and
elegant solution.
Opinions welcome.
And you can always demand a recount<g>.
--Ralph Roberts