Flapper support
Hi, I think it would be interesting to have Robotlegs integration with a new AOP framework called Flapper, http://code.google.com/p/flapper-as/. It would allow us to add aspects / advices to Mediators and other actors to provide features such as:
- Logging / tracing of method invocations
- Declarative error handling (because UncaughtError unfortunately doesn't work in FP 10.1 and 10.2 when using modules)
- Measuring how long certain methods took
etc. The author of Flapper even provided a wiki page on how to integrate frameworks other than Parsley: http://code.google.com/p/flapper-as/wiki/FrameworkIntegration but as I'm no expert in RL, I don't know where to start (related discussion: http://knowledge.robotlegs.org/discussions/questions/409-listen-to-...).
What do you think? Would it be useful to have Flapper integration? Is it technically possible with RL without major API / internal changes?
Support Staff 2 Posted by Stray on 19 Feb, 2011 02:20 PM
Hi Borek,
I've added this to the list of things we need to consider in beginning to tackle version 2.0
I don't think it's possible yet - without hacking swift-suspenders - but Till may be able to give you some advice on that.
Stray
3 Posted by borekb on 19 Feb, 2011 10:38 PM
Thanks for your reply. Is 2.0 being worked on currently or is it just something for the future?
Support Staff 4 Posted by Stray on 19 Feb, 2011 10:44 PM
Hi Borek,
we're just beginning to look at it seriously - likely it won't be released until much later in the year because a new version means a new API lockdown and it's important to get that stuff right.
So - expect to see some small activity around it over the next few months, with a burst around June. We can't really tie in to a timescale as everybody is also working hard on their paid jobs.
But I'll ask Till to look at it incase it's something he can point you towards in a release of swift-suspenders that you can substitute with the current release of robotlegs. It'd be good to find out what you were looking for.
Cheers,
Stray