Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46080 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77639 invoked from network); 18 Nov 2009 16:07:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Nov 2009 16:07:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=robert@typo3.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=robert@typo3.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain typo3.org from 217.72.131.73 cause and error) X-PHP-List-Original-Sender: robert@typo3.org X-Host-Fingerprint: 217.72.131.73 mail.elios.de Linux 2.6 Received: from [217.72.131.73] ([217.72.131.73:47927] helo=mail.elios.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D2/4B-16241-1AB140B4 for ; Wed, 18 Nov 2009 11:06:59 -0500 Received: from [192.168.178.31] (p548CCADA.dip.t-dialin.net [84.140.202.218]) by mail.elios.de (Postfix) with ESMTP id 5A3C9F54085 for ; Wed, 18 Nov 2009 17:05:07 +0100 (CET) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 18 Nov 2009 17:06:53 +0100 Message-ID: To: internals@lists.php.net Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Subject: RFC: Custom Factories (SPL) From: robert@typo3.org (Robert Lemke) Hi folks, after discussing the idea with various PHP developers I now felt safe = enough that it's not a completely stupid idea to post an RFC for it. The = idea is to add support the registration of custom factories which are = responsible for instantiating certain classes. Here is the first draft of my RFC: http://wiki.php.net/rfc/customfactories I suggest that we first discuss the implications and usefulness of this = feature. In a second step I'd need to find some skilled internals wizard = who can implement it, because not being a C developer myself, all I can = offer is making suggestions and fine coffee. Looking forward to hearing your comments! Robert --=20 Robert Lemke Fluent Code Artisan Lead Developer TYPO3 5.0 and FLOW3 TYPO3 Association co-founder http://typo3.org http://flow3.typo3.org http://association.typo3.org