Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24838 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2580 invoked by uid 1010); 21 Jul 2006 12:56:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 2564 invoked from network); 21 Jul 2006 12:56:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jul 2006 12:56:26 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; domainkeys=good DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 66.249.92.173 ug-out-1314.google.com Linux 2.4/2.6 Received: from ([66.249.92.173:20682] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 99/BB-29121-84AC0C44 for ; Fri, 21 Jul 2006 08:36:25 -0400 Received: by ug-out-1314.google.com with SMTP id k3so1380397ugf for ; Fri, 21 Jul 2006 05:36:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hzkfIitDaOpr607vfZwXb2Q5kQ1gcjJh5jF4ApwKFlO/xhR1WzQG74syuFOtd9TRvF6kbOOYeYNMK2FaEja9epIf60/Nq1J7KQX6OoJg0rzxxmB46iuIWxBoJi1qGSG9eOUBQjDm4cBpdg1tooA/ATI/L1ulKvyUSOPDWRkIGow= Received: by 10.67.29.12 with SMTP id g12mr630938ugj; Fri, 21 Jul 2006 05:36:21 -0700 (PDT) Received: by 10.66.220.11 with HTTP; Fri, 21 Jul 2006 05:36:20 -0700 (PDT) Message-ID: Date: Fri, 21 Jul 2006 14:36:20 +0200 To: "Ron Korving" Cc: internals@lists.php.net In-Reply-To: <91.BA.29121.1C6C0C44@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060719173451.114d4528@pierre-u64> <20060721112422.JLUB11710.aamtaout03-winn.ispmail.ntl.com@win2ks> <91.BA.29121.1C6C0C44@pb1.pair.com> Subject: Re: [PHP-DEV] Adding pecl/zip to 5.2 From: pierre.php@gmail.com (Pierre) On 7/21/06, Ron Korving wrote: > Well, if they all implement some common interface, that would really be an > improvement too. And I guess in that case there'd be GZipArchive, > ZipArchive, RarArchive, ... classes. > > People have a choice then; use the specific format of their choice and have > all the extras it comes with, or go for a universal approach and use the > common API as defined in the interface. Yes, that's why I like to stay in alpha until we are sure about the basic API. > Still, I think options like speed/compression factor is applicable to all or > most archive formats. I don't see much feature difference among formats, > only in the libraries they offer perhaps (honestly, I wouldn't really know). > The only difference I can think of is that gzip doesn't seem to provide a > means for compression multiple files (without resorting to tar, but TGZ > support could of course be developed). I have read and checked many archives format. That's why I prefer specific extensions with a common API naming for all simple operations. More than that, like a general archive wrapper should be done in userland, it is much more flexible and easier to change. --Pierre