Re: php5 and possible oop features/questions
| From: | Curt Zirzow | Date: | Mon, 06 Oct 2003 20:25:22 +0000 |
| Subject: | Re: php5 and possible oop features/questions | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165242@lists.php.net to get a copy of this message | ||
* Thus wrote Marek Kilimajer (kilimajer@webglobe.sk):
> In this case you will benefit from the new _call() interceptor method:
>
> class Dynamic {
>
> _call($methodName, $parameters) {
> /* detect what method name is to be used and get its
> implementation from a file or a database */
> }
> }
Time to figure out what this thing goes: .05
Time to implement what it found out: .03
Very expensive for a web app, and would strongly discourage this for
a web app. maybe for a gui audio player I could understand this
overhead.
Curt
--
List Stats: http://zirzow.dyndns.org/html/mlists/php_general/
"I used to think I was indecisive, but now I'm not so sure."