[PHP4BETA] PHP integration for Roxen (1.4-)
| From: | Per Hedbor | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | [PHP4BETA] PHP integration for Roxen (1.4-) | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1004@lists.php.net to get a copy of this message | ||
> I think that if people are interested, it may be nice to try and write
> the necessary code to interface with Roxen. Since I seem to recall
> Roxen is multithreaded, there'd probably be some quirks in the
> beginning since we haven't yet gotten around to check thread safety
> under UNIX (unfortunately, getting the C library functions to be
> thread safe isn't just a matter of selecting the multithreaded C
> runtime library :), but other than that, it should be a breeze.
> If anybody from Roxen or Roxen's users that's knowledgeable in
> Roxen's extension API is interested in doing this, contact us at
> php4beta@lists.php.net.
I could probably be considered rather knowledgeable in the Roxen
extension API, since I wrote Roxen. :-)
Roxen is multithreaded, but any module can be flagged as single
threaded. That module will then get it's calls serialized, which
might be enough for PHP. The calls will still occur in different
threads, though, but never more than one at a time.
Pike already deals with almost all of those non-threaded system call
issues, so if I can help with that, please do tell.
Also: Would it be possible to use roxens DB- and Image-APIs from PHP?
And: Does PHP assume the output is a FILE*, fd or something similar?
That would be rather troublesome to handle, but not impossible.
Does PHP support flagging a document as cacheable (no need to reparse
it for X seconds) or non-cacheable (depends on things like
client-version, databases etc)?
--
Per Hedbor http://per.hedbor.org
--
PHP 4 Beta