Hi Carlos,
From all discussions between Roland and I this morning (yes we are
friends), everything we have talked about I can do.
It's really just a matter of time and priorities. I'm looking at the
Falcon code right now and I think I could get metadata a full class
citizen sooner than later for devs to mess around with.
If some one could give me a simple AOP project example with source
code and expected out come, I could get that rolling as well.
The great thing about working on the compiler is all these projects
relate to each other.
So Carlos, AOP seems easy based on what we have discussed. This is
something that needs to be defined in detail on the Wiki before I go
trudging off in the wilderness to implement though.
For others wondering if I have a life... I work my ass off in the New
Hampshire winter and take about 3 months off in the summer with my
family. :)
Mike
Quoting Carlos Rovira <carlos.rov...@codeoscopic.com>:
Hi Roland and Michael,
I'm out in vacation mode, but I see the ticket Roland created and it's
something about I want to comment since I would want to see in Flex. It's
without doubt one of the points that makes the difference between Flex and
other platforms. We have basic metadata annotations and if we turn it to
make more robust it would be really great.
AOP is as well something many of us would want to have available in Flex.
AOP and metadata allows you to decouple code, add/remove functionality
easily across all your application, and create behaviours that can be
configured to modify the existing code at runtime...this and much more can
be done with AOP. Swiz framework get a valid and usable AOP implementation
for a framework, but it had the problem that was relying on some flash
player debugger, so it was not ready for production.
Without doubt something very powerful that would make the difference.
2012/12/29 Roland Zwaga <rol...@stackandheap.com>
>
> Roland, excuse my COMPLETE ignorance on the subject of AOP but what is
the
> goal of it, how would it help and how is it implemented in code?
>
> Mike
Hehe, ok, explaining AOP in a few paragraphs is kinda hard... Please let me
be lazy here and point you to a Wikipedia article:
https://en.wikipedia.org/wiki/Aspect-oriented_programming
In short, AOP helps you inject cross-cutting concerns into your code base.
By injecting these concerns at compile-time, its even possible
to automatically implement interfaces or support partial classes.
We already tried implementing a runtime version of this using
as3commons-bytecode and as3commons-aop, but supporting this stuff @
compile-time
will make it a lot more powerful.
cheers,
Roland
--
Carlos Rovira
Director de TecnologĂa
M: +34 607 22 60 05
F: +34 912 94 80 80
http://www.codeoscopic.com
http://www.directwriter.es
http://www.avant2.es
--
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com