Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23094 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38708 invoked by uid 1010); 2 May 2006 22:09:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38693 invoked from network); 2 May 2006 22:09:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 May 2006 22:09:12 -0000 X-PHP-List-Original-Sender: evert@filemobile.com X-Host-Fingerprint: 213.46.243.16 amsfep19-int.chello.nl Solaris 8 (1) Received: from ([213.46.243.16:22207] helo=amsfep17-int.chello.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 83/30-31513-688D7544 for ; Tue, 02 May 2006 18:09:10 -0400 Received: from [192.168.123.105] (really [62.194.171.152]) by amsfep17-int.chello.nl (InterMail vM.6.01.04.04 201-2131-118-104-20050224) with ESMTP id <20060502220905.XHDK14508.amsfep17-int.chello.nl@[192.168.123.105]> for ; Wed, 3 May 2006 00:09:05 +0200 Message-ID: <4457D88D.3000505@filemobile.com> Date: Wed, 03 May 2006 00:09:17 +0200 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 CC: PHP Developers Mailing List References: <44572F67.9050807@php.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] php 5.2.0 From: evert@filemobile.com (Evert Pot) Hi People, I'm not sure this is the right place to make a feature request, but here goes.. I noticed some upgrades/ideas in the streams system lately.. Is there any chance at all this can be migrated to an OOP system? Here's the kind of think i would really like to see (java does it the same way, more or less) 2 base stream interfaces Writer Reader Which are implemented by: FileWriter FileReader SocketWriter SocketReader StringWriter StringReader The Java IO library uses the decorator pattern to add functionality to those base classes: BufferedReader BufferedWriter HTMLFilterWriter Since we are getting a new filter system, this could also be based on this stream system.... This would allow be to write new base-classes for transports and make use of all the existing filter-classes. Also, this could be unified with XMLReader and XMLWriter and the SPL file classes. This implementation is just a suggestion (and I really like the flexibility of the Java IO system).. I'm just really missing a proper unified stream system.. Great work has already been done to centralize systems because of the introduction of the Traversable interface and its descendants.. but more and more often I find myself rewriting PHP extensions in PHP, because there's no unified (abstracted) API.. I'm already pretty far in implementing this in PHP, and I would be more than happy to PEAR it (if people are interested).. but I feel like a system like this belongs at the core to prevent every new subsystem from figuring out a new API... I hope I made my point, I'll be more than happy to eloborate or help writing specs for this system, my C skills are mediocre though.. Oh, and thanks for your great work.. PHP is the reason I can pay my rent and I know there's a lot of people like me =) Evert Ilia Alshanetsky wrote: > Heh, Lukas preempted by e-mail a bit, but the bottom line is that the > next release in the 5.X series is going to be 5.2.0. Being a minor > version release we have a greater amount of freedom then the one we > normally get for patch level releases and that's exactly what we need > for some of the changed being planned. Basically for the next week, I > would like to assemble a list of changes (using Lukas' wiki) that we > wish to integrate into this release and then make a new branch. Once > that is the final list will be published and we will start on a 3 > month release cycle, where the 1st month is allotted towards making > the big changes and the remaining 2 months to get things stable. So, > if you have changes you'd like to see in 5.2 (don't go too wild now > ;-) ), reply to this e-mail. > > > On 2-May-06, at 6:07 AM, Lukas Smith wrote: > >> Hi, >> >> I updated my phptodo wiki for the next planned release. Ilia also >> send me a bunch of items that I threw on there: >> http://oss.backendmedia.com/PhP52 >> >> If you want me to be your personal secretary let me know what items >> you are missing from the list, what items should be assigned to >> specific people and finally what items are completed. >> >> regards, >> Lukas >> >> --PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > Ilia Alshanetsky > Advanced Internet Designs Inc. > ilia@prohost.org > > --PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >