Wrong confirmation ID
  • Email
  • Favorite
  • Download
  • Embed
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Diving in the Flex Data Binding Waters

by michael.labriola on Aug 20, 2008

  • 20,234 views

In depth overview of the Flex data binding code generation. Provides info on accomplish data binding through actionscript as well as limitations of the process.

In depth overview of the Flex data binding code generation. Provides info on accomplish data binding through actionscript as well as limitations of the process.

Accessibility

Categories

Tags

data flex binding adobe labriola databinding flash flex data binding deep dive bindable desarrollo flex - data binding

More...

Upload Details

Uploaded via SlideShare as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

12 Embeds 908

http://blogs.digitalprimates.net 437
http://training.obecto.com 169
http://www.digitalprimates.net 151
http://www.slideshare.net 131
http://www.adobe4all.com 10
http://www.norris2u4.com 3
http://webcache.googleusercontent.com 2
http://gantto.posterous.com 1
http://static.slidesharecdn.com 1
http://localhost:8888 1
http://192.168.1.17 1
http://translate.googleusercontent.com 1

More...

Statistics

Favorites
15
Downloads
463
Comments
3
Embed Views
908
Views on SlideShare
19,326
Total Views
20,234

13 of 3 previous next Post a comment

  • Roustalski Roustalski richard,

    When you mark a class or a specific property/getter/setter as [Bindable], it basically marks that item for code generation via the pre-compiler before the compiler does it's thing with the code. The dispatchEvent(...) is automatically generated.

    When you say [Bindable(event='blah')] or [Bindable(event='propertyChanged')], the pre-compiler says, wow, this guy knows what he is doing, and expects you to dispatch the event.

    This has nothing to do with the performance implications (e.g. 5000 bindable variables in a model locator all dispatching the same event) where your 'custom' name just happens to be the auto-generated event name.

    Hope that helps
    2 years ago Reply
    Are you sure you want to Yes No
  • richardchaven richardchaven So if one uses '[Bindable]' on the accessor/mutator, the compiler will always dispatch a propertyChanged event (i.e. without checking to see if the value has actually changed), but if one specifies the event in the Bindable metatag (even if the specified event is 'propertyChanged'), then the mutator is responsible for dispatching the event?

    The mutator seems to call its matching accessor automatically; does this have anything to do with a binding optimization ?

    Cheers
    2 years ago Reply
    Are you sure you want to Yes No
  • manfred_karrer manfred_karrer great presentation!
    An important part is maybe coming a bit too short in the slides: Performance.
    Binding with MXML is cool but much slower then using BindingUtils (~50%)...
    3 years ago Reply
    Are you sure you want to Yes No
Post Comment
Edit your comment Cancel

Diving in the Flex Data Binding Waters — Presentation Transcript