[FLOW3-general] AOP problem

Robert Lemke robert at typo3.org
Tue Dec 22 10:22:42 CET 2009


Hi Frederico,

Am 22.12.2009 um 08:25 schrieb Federico Bernardin:

> After removing cache in Data/Temporary all seems work correctly, why?

because the AOP proxy classes are then rebuilt. Usually this should happen automatically in Development context sometimes (for example if your application crashes) the detection of modified files doesn't work. In these cases you need to flush the caches manually and the most easy way to do that is removing Data/Temporary/*.

> Now I would like to work on a login box and authentication for some package using AOP, Do you know if any project exists or I have to develop a new one? I have just seen a security package inside FLOW3, is it right? 

yes, that's all built-in into FLOW3 already and it's roughly described here:
http://flow3.typo3.org/documentation/manuals/flow3/flow3.securityframework/

However I can imagine that you won't easily figure out how to do implement that in practice. I plan to write a little tutorial about that which explains how to add security to the blog example.

If you're really curious you can look at the trunk version of the Blog package:
https://svn.typo3.org/FLOW3/Packages/Blog/trunk/Classes/Controller/SetupController.php
https://svn.typo3.org/FLOW3/Packages/Blog/trunk/Classes/Controller/LoginController.php

But I might not be able to help you with that before I wrote the tutorial ...

Cheers,
robert



More information about the FLOW3-general mailing list