RFC: Custom Factories (SPL)
| From: | Robert Lemke | Date: | Wed, 18 Nov 2009 16:06:53 +0000 |
| Subject: | RFC: Custom Factories (SPL) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-46080@lists.php.net to get a copy of this message | ||
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
--
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