Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24781 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4780 invoked by uid 1010); 20 Jul 2006 21:54:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 4764 invoked from network); 20 Jul 2006 21:54:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2006 21:54:13 -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.174 ug-out-1314.google.com Linux 2.4/2.6 Received: from ([66.249.92.174:32253] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 20/A1-29121-38BFFB44 for ; Thu, 20 Jul 2006 17:54:12 -0400 Received: by ug-out-1314.google.com with SMTP id k3so1115721ugf for ; Thu, 20 Jul 2006 14:54:09 -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=SAj1rbPDUS1KGCjHbwxG+1SHg89JbdM/owfwRZsHHuZJA9CS/nHOAb8LNNF2RRgKe4bm1pSWjQxS2EAxCvvx1qZiKv7ntnnZnEWTdk6Ff5XRbVOVemfZf4DblNYxUyQtsSsDDfLt7NSFWa4HhOtmThbLU/yAz1tjR0RR3nVg8+I= Received: by 10.67.22.2 with SMTP id z2mr2375395ugi; Thu, 20 Jul 2006 14:54:08 -0700 (PDT) Received: by 10.66.220.11 with HTTP; Thu, 20 Jul 2006 14:54:08 -0700 (PDT) Message-ID: Date: Thu, 20 Jul 2006 23:54:08 +0200 To: "Derick Rethans" Cc: "PHP Developers Mailing List" In-Reply-To: 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> <1184012601.20060720095137@marcus-boerger.de> Subject: Re: [PHP-DEV] Adding pecl/zip to 5.2 From: pierre.php@gmail.com (Pierre) On 7/20/06, Derick Rethans wrote: > On Thu, 20 Jul 2006, Pierre wrote: > > > Do you really ask me what Zip say? > > You miss the point. If you do "new Zip" ... then I've no idea what the > object you get represents. However, doing "new ZipArchive" makes sense > as then you know the object represents a ZipArchive for example. Just > "Zip" doesn't say anything about the object so I consider it a bad > classname. I have a good hundred (verbose) users (which mails me about it) out there, for example one of them is Alexander Pak, Summer Of Code Open Document project. They asked me many many things. One thing was to bring consistency to the API, move to a stable state and... bundled it as soon as possible. But they never had any kind of comments or questions about what is "new Zip". There will be more objects in the future, but not related directly to the zip itself or its properties (no ZipFile object for example). I'm thinking about iterators or helpers for complex operations. For these classes, yes, it makes sense to name them ZipIteratorXxx or ZipFooBar. --Pierre