uWSGI experimental plugin for implementing a WSGI/PSGI/Rack-like interface for PHP

From: Date: Sun, 08 Feb 2015 22:48:03 +0000
Subject: uWSGI experimental plugin for implementing a WSGI/PSGI/Rack-like interface for PHP
Groups: php.internals 
Request: Send a blank email to internals+get-82185@lists.php.net to get a copy of this message
Hi internals. I really hope that in the future PHP 7, there will be new server API. May be you interested to know about them, here is the link, I am not the author of development: https://github.com/unbit/uwsgi-phpsgi/ But the problem is that in PHP there are no standards for such interfaces. Now it is implemented like this: <?php function application($env) { return ['200 OK', ['Content-Type' => 'text/plain'], 'Hello, world!']; } ?> I think this is a good opportunity to review the old interface ($_GET, $_POST, ...) and start using the API internal HTTP module. This all breaks backward compatibility, not $_GET, $_POST, ... But this WSGI SAPI will used only new PHP code (not PHP legacy base). This is a good opportunity to create something new and not be backward compatible. What do you think about this?

« previous php.internals (#82185) next »