Re: Aspect Oriented Programming & PHP
| From: | Bert Slagter | Date: | Fri, 28 May 2004 06:34:04 +0000 |
| Subject: | Re: Aspect Oriented Programming & PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187093@lists.php.net to get a copy of this message | ||
Michael Lauzon wrote:
Since PHP5 is going to feature OOP (Object Oriented Programming), will that mean PHP6 will feature AOP (Aspect Oriented Programming)...so far it seems AOP is only being used for Java at the moment; but hopefully general programming and scripting languages will start using them as well?! Michael Lauzon, Founder The Quill Society http://www.quillsociety.org/ mlauzon@quillsociety.orgThe __get, __set and __call functions are distand cousins of AOP: they offer the possibility to react on the fact that some method is called, regardless which one. It models the aspect 'any method called, what to do?'. But note that there are no 'native AOP' languages right now, Java only has some obscure extensions/mutations that partly implement the AOP paradigm (like AspectJ, JBoss and Hyper/J). But it would be nice though if optional AOP support would find its way into PHP one day :). Bert