Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108436 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 34040 invoked from network); 10 Feb 2020 18:05:14 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 10 Feb 2020 18:05:14 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C55B81804E6 for ; Mon, 10 Feb 2020 08:18:55 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS29169 217.70.176.0/20 X-Spam-Virus: No X-Envelope-From: Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 10 Feb 2020 08:18:54 -0800 (PST) X-Originating-IP: 107.223.28.39 Received: from samurai.attlocal.net (107-223-28-39.lightspeed.nsvltn.sbcglobal.net [107.223.28.39]) (Authenticated sender: pmjones@pmjones.io) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 06CE12000C for ; Mon, 10 Feb 2020 16:18:52 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Message-ID: <50BD013E-CF72-414C-BBC0-A7A2E45CBDDB@pmjones.io> Date: Mon, 10 Feb 2020 10:18:51 -0600 To: internals@lists.php.net X-Mailer: Apple Mail (2.3608.60.0.2.5) Subject: RFC: Server-Side Request and Response Objects (v2) From: pmjones@pmjones.io ("Paul M. Jones") Hi Internals, After a couple of years of incubation, I am happy to offer a second = version of this RFC: https://wiki.php.net/rfc/request_response It proposes an object-oriented approach around request and response = functionality already existing in PHP, in order to reduce the = global-state problems that come with superglobals and the various = response-related functions. The SQLite "about" page says, "Think of SQLite not as a replacement for = Oracle but as a replacement for fopen()." = Likewise, think of this RFC not as = a replacement for HttpFoundation or PSR-7, or as a model of HTTP = messages, but as an object-oriented alternative to superglobals, = header(), setcookie(), setrawcookie(), and so on. Thanks in advance for your time and consideration while evaluating it. --=20 Paul M. Jones pmjones@pmjones.io http://paul-m-jones.com Modernizing Legacy Applications in PHP https://leanpub.com/mlaphp Solving the N+1 Problem in PHP https://leanpub.com/sn1php