Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29255 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51316 invoked by uid 1010); 7 May 2007 12:27:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51299 invoked from network); 7 May 2007 12:27:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 May 2007 12:27:46 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 212.112.227.169 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from [212.112.227.169] ([212.112.227.169:50770] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C9/B6-52548-04B1F364 for ; Mon, 07 May 2007 08:27:45 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id D8105DF012E; Mon, 7 May 2007 14:27:41 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26426-03; Mon, 7 May 2007 14:27:39 +0200 (CEST) Received: from [127.0.0.1] (dt0f2n29.tampabay.res.rr.com [24.92.178.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ipx11223.ipxserver.de (Postfix) with ESMTP id F1A7ADF0127; Mon, 7 May 2007 14:27:38 +0200 (CEST) Message-ID: <463F1B3A.3070703@pooteeweet.org> Date: Mon, 07 May 2007 08:27:38 -0400 User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Stanislav Malyshev Cc: Marcus Boerger , internals@lists.php.net References: <139872287.20070504170744@marcus-boerger.de> <9DC00D11-00A5-40DB-A397-8454C48FA448@prohost.org> <1525138013.20070504193205@marcus-boerger.de> <463B70A1.4010505@zend.com> <463B7232.7000205@php.net> <463B8B36.5010906@zend.com> <1992195966.20070504214413@marcus-boerger.de> <463B9271.3040009@zend.com> <1348470081.20070504221609@marcus-boerger.de> <463EB3FD.4020009@zend.com> <1062653277.20070507092725@marcus-boerger.de> <463ED871.8080606@zend.com> In-Reply-To: <463ED871.8080606@zend.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] [RFC] Starting 5.3 From: mls@pooteeweet.org (Lukas Kahwe Smith) Stanislav Malyshev wrote: >> It means you can run a phar file. How is that so hard to understand. > > It is not hard to understand. What seems to be hard to understand is > that the scenario you describe is by no way the only scenario PHP files > run in. Not all applications are single entry point and of those that > are, not all applications are suitable to work in non-filesystem > environment. Thus using phar in applications not specifically designed > for it and in environments which presume files are in filesystem might > prove harder than some think. So if you are wondering about use cases, the PEAR installer is a good example. Generally I would say phar lends itself for self installing applications, but also for applications you run infrequently, that are not that performance critical (which does not mean you want them to run extra slow either) and where you want minimal fuss in keeping an uptodate version. I do not see phar's be used as the runtime after installation for most applications of course. But a sizeable number of them could be run this way. Also it is one of those cases of "build it and they will come". So once we put this into core, people will take notice, tools will be developed, others will be adapted to become compatible etc. Maybe we should for a moment shift the discussion from "if its useful" (because several half way smart people have said it is), to "is it technically sensibly implemented". Just give these guys the benefit of the doubt on the usefulness part and make sure its good on the implementation part. regards, Lukas regards, Lukas