[FLOW3-general] AOP problem
Robert Lemke
robert at typo3.org
Thu Dec 17 09:45:07 CET 2009
Hi Federico,
Am 16.12.2009 um 09:12 schrieb Federico Bernardin:
> I'm starting with developing AOP programming, but it doesn't work.
> I created inside the package a folder "Aspect", inside I created a specific aspect class with one pointcut and one advise (I write the example in the flow3 manual, logger).
>
> Where can I find some examples (complete)?
>
> I don't know if I am worng. Could anyone help me?
A good example for a relatively simple aspect is the LogginAspect in the Security sub package:
https://svn.typo3.org/FLOW3/Packages/FLOW3/trunk/Classes/Security/Aspect/LoggingAspect.php
Look "logManagerLogout" advice is the easiest because it just logs a message after some method
was executed.
If you have any further questions, just post your code so we can see what might be wrong ...
Cheers,
robert
More information about the FLOW3-general
mailing list