Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74668 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25065 invoked from network); 1 Jun 2014 18:45:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2014 18:45:21 -0000 Received: from [127.0.0.1] ([127.0.0.1:12626]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 6F/51-15017-FB47B835 for ; Sun, 01 Jun 2014 14:45:19 -0400 X-Host-Fingerprint: 217.51.59.218 frnk-d9333bda.pool.mediaWays.net Received: from [217.51.59.218] ([217.51.59.218:27421] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/20-15017-E3B5B835 for ; Sun, 01 Jun 2014 12:56:31 -0400 Message-ID: To: internals@lists.php.net Date: Sun, 01 Jun 2014 18:56:27 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 217.51.59.218 Subject: Userland API leveraging the 'php' namespace From: mail@gossimaniac.net (Thomas Gossmann) Hello, this is my first post to this group, so I hope this is the right place. One day, I started working on an API, which I thought, would be cool to be the official php API. I was roughly adding some code together to imagine how this API will look like (nothing which would need to working for that case). I considered this as a huge playground for me. Lately I thought, this is worth sharing with others and from the early feedback, I'm not alone ;) The idea is to work on a polyfill changing the userland API with the goal to make it official when the polyfill is stable. So, I wrote some lines together and shared it at PHP-FIG first (a couple of weeks ago). Here are the goals for this project: - Standardize function calls - Wrap 'resource' types in classes - Provide php functionality in an OOP fashion - Add missing langauge features (hint collections) - Primitives as Objects - Offer more type hinting More details on the repo and the readme: https://github.com/gossi/oophp In this mailing-list I also see similar requests and also found references to what I had in mind, which I collected at the repo. For now, I'd like to hear your feedback about this and how to possibly proceed further with this. Thank you very much gossi