Flex Binding is done through annotations
Juten Tach,
not very sensational, i know, but yesterday i attended yet another Flex Usergroup Meeting in Hamburg, where our fellow Jens Krause explained to us the basics of binding in Flex. Very nice talk, by the way ![]()
But there was one point in his talk, where he showed us the generated code of mxml. And there i still saw a [Bindable] tag and i wondered why there is still a metatag in the already generated code.
Today my colleague Hannes and i took a deeper look into the framework and found, that the classes responsible for the binding in flex indeed read those metatags at runtime for finding the bindings. Specifically the class “mx.binding.BindabilityInfo” does this job. Very interesting to see. I ask myself, how much this has an impact on the overall performance of binding.

hmm, but that would mean binding is done through reflexion which I would doubt. Or is there any other way to access metadata at runtime?
We have scanned through the code and we found, that reflexion is really used for finding the bindings.