Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34978 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9933 invoked by uid 1010); 28 Jan 2008 19:24:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 9918 invoked from network); 28 Jan 2008 19:24:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2008 19:24:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.178.248 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 64.233.178.248 hs-out-0708.google.com Linux 2.4/2.6 Received: from [64.233.178.248] ([64.233.178.248:54615] helo=hs-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/AF-25507-4DB2E974 for ; Mon, 28 Jan 2008 14:24:04 -0500 Received: by hs-out-2122.google.com with SMTP id l65so1811852hsc.7 for ; Mon, 28 Jan 2008 11:24:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Q08oboufyPs6fUNnxgRlAvZAel5TKzsbt2hgV/cgnEk=; b=xoF9oiB9nkP8UGfBXmAovDFYnNvSFFRLqYpcVwApm6JvARf7dZnqWBK82UiEcQYJ+BW6gandCLEOOJd5UHuHFGqVX1vy1wcgqADAEEW7vONSKVQP7VbtLtnr9GJl48S9mq0kg/p6p/W/6zOwJqsDck/WewJaEElcevJ/1IohvB0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Sv/Tqf350Y8/YakBzfyP/99bDQWxOUU8S/HhEQq3KlP6mJxc2c8SpWzjT5N31brMwLakoca01Tf8StHhyR2xKa57dyB8QvnyBHAJx2I34DGFMyhnicWyVXmzFBJJ680pfZXXzODt+Ddv0ABZjswl2C5IK/UhIwFDn33rIDPuWJk= Received: by 10.140.180.13 with SMTP id c13mr3696906rvf.153.1201548241629; Mon, 28 Jan 2008 11:24:01 -0800 (PST) Received: by 10.141.151.21 with HTTP; Mon, 28 Jan 2008 11:24:01 -0800 (PST) Message-ID: Date: Mon, 28 Jan 2008 20:24:01 +0100 To: "Stanislav Malyshev" Cc: "Gregory Beaver" , "internals Mailing List" In-Reply-To: <479E2455.4040508@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <479E1152.50301@chiaraquartet.net> <479E2455.4040508@zend.com> Subject: Re: [PHP-DEV] re-proposal of pecl/phar for inclusion in core From: pierre.php@gmail.com ("Pierre Joye") Hi Greg, On Jan 28, 2008 7:52 PM, Stanislav Malyshev wrote: > > Current status of phar addresses most of these criticisms: > > Looks impressive, great work! > > > phar implements zip support with native PHP code, enabling some features > > I am a bit confused about native PHP code here - we are talking baout an > extension, right? So what exactly is meant here? > Also, as I understand, there are features that ext/zip missed and phar > extension needs. Any reason not to add them to ext/zip? Exactly and I'm rather surprised to see this post given the recent efforts to export the Zip symbols to allow any extension to share the zip features. Most of the discussions have been public on pecl-dev. There is some private discussions about our respective plans, even today. I can say that the goals and APIs are different, there is a need for both extensions (zip will never provide what phar does for the application archive and pahr will never go as far as zip for the zip format support), that's my understanding of the current situation. For the record on this list, we also have a lot of work in progress with the libzip developers and myself to add many new features. The short list is: - custom stream support (like in libgd or libxml), allowing native (as in operating system native supports) IO functions, bringing the maximum portability and integration (we can use php stream as well as soon as php supports large files > 2Go, I did not follow this topic, maybe it is already in place). The stream works both in read in write mode. - crypt support - Zipstream (not like the previous point), inline zipped data stream. Like what you can see in many java-based web services. - Drop of the open files system limit for the amount of entries used at the same time. This limitation was rather annoying but necessary to insure the consistency and safety of zip creation However, my point remains intact, I'm not in favour of having phar included. Unless there is an improved cooperation with the community (in large) to create this application-archive format. It would really rock to have a standard format designed, approved and adopted by all PHP developers and projects. At this point we can bundle it or it may be a chicken-egg problem :) Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org