Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95664 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13559 invoked from network); 5 Sep 2016 17:47:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2016 17:47:35 -0000 X-Host-Fingerprint: 90.212.141.121 unknown Received: from [90.212.141.121] ([90.212.141.121:24604] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6F/26-45301-6BFADC75 for ; Mon, 05 Sep 2016 13:47:35 -0400 Message-ID: <6F.26.45301.6BFADC75@pb1.pair.com> To: internals@lists.php.net References: Date: Mon, 5 Sep 2016 18:47:31 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Posted-By: 90.212.141.121 Subject: Re: [PHP-DEV] Single Point of Entry Apps. From: ajf@ajf.me (Andrea Faulds) Hi Michael, Have you looked into PHP application servers, where the PHP code itself acts as the web (or FastCGI) server, and so can keep the whole framework etc. initialised in memory between requests? This is how other (non-PHP) web stacks avoid “installing the application on every single request”, and it can also be applied to PHP, it's just not very common. One example is Aerys (https://github.com/amphp/aerys), but it's hardly the first or the last example of this approach. Thanks. -- Andrea Faulds https://ajf.me/