[PHP4BETA] Making SAPI tick
| From: | Zeev Suraski | Date: | Sun, 02 May 1999 23:03:17 +0000 |
| Subject: | [PHP4BETA] Making SAPI tick | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-632@lists.php.net to get a copy of this message | ||
As you could probably see, Andi and I have begun migrating portions of SAPI into the tree of PHP 4.0. We are using concepts from Shane's SWSAPI, even though we're not directly reusing code, since we've picked the approach of gradual updates (i.e., instead of 'breaking everything' and moving to use SWSAPI, gradually change one thing at a time to use SAPI, to remain stable in all platforms).
We plan to keep SAPI.[ch] a part of the PHP 4.0 source tree for now (even though we're mostly using generalized non-PHP specific code as much as we can). After it's ready and PHP 4.0's ticking, moving it out should be much easier.
So far, we've moved several per-request values to the SAPI globals structure, as well as several other routines. Essentially, what we're missing is proper header handling support and authentication.
We'll be looking into header handling in the rest of the week (hopefully generalizing it a hell of a lot more than it was in PHP 3.0, and I actually hope we can get it cleaner than it is in SWSAPI).
Zeev
--
Zeev Suraski <zeev@zend.com> http://www.zend.com/
For a PGP public key, finger bourbon@netvision.net.il
--
PHP 4 Beta