[PHP4BETA] SAPI
| From: | Zeev Suraski | Date: | Tue, 11 May 1999 19:22:31 +0000 |
| Subject: | [PHP4BETA] SAPI | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-771@lists.php.net to get a copy of this message | ||
Hi,
Slowly but surely, PHP 4.0 has migrated into a complete use of SAPI. SAPI in its current state is not yet designed to be independent from PHP, even though all the necessary steps have been made to ensure that if and when we want to move it out of PHP, we can do so easily (basically, the reason I haven't done so already is that it's not entirely clear how we want this library to be distributed; after all, the library will have to be compiled for each separate platform AND each separate server; there's a good chance that making it more of an SDK than a library would be a better approach).
The major missing functionalities from SAPI right now are file upload and authentication support (standard server variables, automated header support and GET/POST/Cookie parsing is now 100% ready). Authentication should be trivial to support nicely and generally. And, while the API was written to allow for a single implementation of file upload, I'm not exactly sure how to go about this.
There are two basic options. One, is taking the PHP 3.0 code as-is and patching it to work on top of SAPI, instead of on top of Apache. The other is implementing that code from scratch. The major question is whether or not the PHP 3.0 code is 100% RFC compliant or not, and also, whether it's optimized. The best person to answer these questions is Rasmus,...?
About the course of the beta. I'm *really* interested to know on whether people are actually checking it out with their scripts. Since the php4 list is almost completely quiet except for CVS updates, it either means that the new code is rock solid, or that it's not getting tested at all. I know I've asked that question a couple of times in the past, but I'm still not clear as to the status of the code.
Please, whether you tried it or not, take the time to say so.
About the future of the beta. We hope to be able to move into a public beta within less than two months. All of the major issues for PHP 4.0 have been implemented (Zend, SAPI, modularization), and apart of final tweaks and improvements, the only major issue that remains for PHP 4.0 is lots and lots of beta testing. While it's not just Andi's and my call to open the beta, I don't expect anybody else in the development team to object to that.
Zeev
--
Zeev Suraski <zeev@zend.com> http://www.zend.com/
For a PGP public key, finger bourbon@netvision.net.il
--
PHP 4 Beta