Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33586 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59520 invoked by uid 1010); 3 Dec 2007 17:00:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59504 invoked from network); 3 Dec 2007 17:00:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Dec 2007 17:00:50 -0000 Received: from [127.0.0.1] ([127.0.0.1:19190]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 5A/AA-25012-24634574 for ; Mon, 03 Dec 2007 12:00:50 -0500 Authentication-Results: pb1.pair.com smtp.mail=jordan@wambaugh.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jordan@wambaugh.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain wambaugh.org from 209.85.132.246 cause and error) X-PHP-List-Original-Sender: jordan@wambaugh.org X-Host-Fingerprint: 209.85.132.246 an-out-0708.google.com Received: from [209.85.132.246] ([209.85.132.246:6894] helo=an-out-0708.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/B9-25012-43234574 for ; Mon, 03 Dec 2007 11:43:33 -0500 Received: by an-out-0708.google.com with SMTP id c18so734839anc for ; Mon, 03 Dec 2007 08:43:30 -0800 (PST) Received: by 10.100.242.20 with SMTP id p20mr2039547anh.1196700210215; Mon, 03 Dec 2007 08:43:30 -0800 (PST) Received: from wambulator ( [204.154.43.244]) by mx.google.com with ESMTPS id n29sm17977238elf.2007.12.03.08.43.25 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Dec 2007 08:43:28 -0800 (PST) To: Date: Mon, 3 Dec 2007 11:43:19 -0500 Message-ID: <00bb01c835cb$9fb14fd0$df13ef70$@org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BC_01C835A1.B6DB47D0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acg1y5tfoCEZ/DWpQgKhsOCbqlNHTQ== Content-Language: en-us Subject: Object Oriented standard Library From: jordan@wambaugh.org ("Jordan Wambaugh") ------=_NextPart_000_00BC_01C835A1.B6DB47D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am currently working on a Object-Oriented Library extension that wraps a lot of functionality in PHP's standard library dealing with strings, arrays, fileIO, etc. into classes. (String class, Collection class, etc.) This would allow end-users to create objects that represent data types and resources, and take advantage of all the benefits of OOP (object chaining, polymorphism, etc) all in a c compiled extension. Example: $myString=new String("Hello world!"); $myLowerCaseString = $myString->copy()->replace("world","universe")->lowerCase(); The goal of this project is to help PHP mature into a more object-oriented language with an object oriented library, while addressing a common complaint about the standard library not being very consistent (http://en.wikipedia.org/wiki/Php#Criticism [8th bullet]) I have already implemented a couple classes, but would like to get feedback from the PHP development community on the idea of creating such a library for PHP. Also, any suggestions would be greatly appreciated. Thanks, Jordan Wambaugh ------=_NextPart_000_00BC_01C835A1.B6DB47D0--