DIGG IT!
8
Comments
Published
Friday, November 09, 2007
at
12:25 AM
.
I gave a presentation on Flex Best Practices at FOTB 2007 and MAX 2007 Japan. The presentation is fairly high level as providing Best Practices guidance is so very precarious. I provided a warning before giving this presentation which I will repeat here:Ted on Twitter - @AdobeTed
Ted on Adobe Groups
Ted on LinkedIn
Ted on Facebook
Ted at Adobe
Hey Ted,
Great slides! Simple and to the point ;-). I understood where and why you were coming from with each, except for one: Be Careful with Bindings. Could you explain this topic a little more? Does bindings introduce complexity into a Flex app, does it decrease performance, etc?
Thanks!
funny.... I've the same reaction as Dan.
And I've the same ideas about binding, because I prefer the PuveMVC framework than Cairngorm.
I think that you have more controls with PureMVC and without binding
Dan, Laurent,
Ted said in his session that databindings are a bit of a performance hog as they essentially auto-wire up listeners and events to everything. If you create your own events you have much better control and are much more effecient. I'm sure Ted can explain it better but just wanted to prove I was listening :P
Ted, thanks for the great presentation.
OK, Ted. I'll bite. When is this FxD2 - Flex Deep Dive 2008 going to occur, where is it going to occur.
The link goes to the Adobe MAX site, so what's the deal?
Bindings are not bad. On larger projects they can add up over time. This mention was very specific to using many of them in a project. A binding creates an anonymous function and subscribes in may places listening for changes. Should you do this alot and have lots of views, this will become a performance issue.
On larger projects I recommend subscribing directly and using getter/setters.
Bindings are great in the small but in the large they can become a problem. This was not framework specific.
Ted :)
Flex + Diving = FXD2. It is a trip in 2008, either Bonaire or Grand Cayman. Fun Fun!
Ted :)
Another point about bindings. I use them often, and I suppose that one more negative is that they aren't compile time type safe. I'm referring to BindingUtils.as which allows you to bind to a property that declare as a String argument. When another developer changes the name of that variable, you don't realize that your bindings aren't firing till the application doesn't work.
Hi Ted-
I'm thinking of moving to Mac with Flex 3. Is there an upgrade path for that?