[PEPr] Changes in proposal for Yawp::Yawp2
| From: | Paul Jones | Date: | Sat, 16 Oct 2004 04:05:25 +0000 |
| Subject: | [PEPr] Changes in proposal for Yawp::Yawp2 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33884@lists.php.net to get a copy of this message | ||
Paul Jones (http://pear.php.net/user/pmjones) has edited the proposal for Yawp::Yawp2.
Change comment:
+++ Automatic Lazy-Loading
If you register a plugin but don't specify it for pre-load, **it will
lazy-load itself** on the first call to one of its convenience methods, or
on the first request for that object from $Yawp->getObject(). This means
that Yawp plugins instantiate and configure themselves based on the Yawp
config file **only as you request them**, and don't take up any resources
until that time.
Many thanks to Ian Eure for suggesting this, providing an initial
proof-of-concept, and not letting me drop it. :-)
Please review the proposal:
http://pear.php.net/pepr/pepr-proposal-show.php?id=37
--
Sent by PEPr, the automatic proposal system at http://pear.php.net