Ted Patrick - Demos & MAX @ Adobe Systems


Note: This is the personal blog of Ted Patrick. The opinions and statements voiced here are my own.



Flex Best Practices - Slides and Code

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:

"Every project targeting Flex is different and thus best practices vary depending on the team involved and the project at hand. I have seen all manner of project practices that work for small teams but fail for larger teams and vice versa. This is my take on Flex Best Practices from having looked at many projects over the past 3 years. In many ways my recommendations should not come as a surprise as these are tenets of classical software development."

SLIDES: PDF, SWF, PPT

FILES: FXP3 (ZIP FX3 Project - With Flex Builder 3 Beta 2, simply import this project.)


Cheers,

Ted :)

8 Responses to “Flex Best Practices - Slides and Code”

  1. # Anonymous Dan Schultz

    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!  

  2. # Anonymous laurent

    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  

  3. # Anonymous DannyT

    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.  

  4. # Blogger Leif

    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?  

  5. # Blogger Ted Patrick

    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 :)  

  6. # Blogger Ted Patrick

    Flex + Diving = FXD2. It is a trip in 2008, either Bonaire or Grand Cayman. Fun Fun!

    Ted :)  

  7. # Anonymous Dominick Accattato

    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.  

  8. # Blogger Art Grater

    Hi Ted-

    I'm thinking of moving to Mac with Flex 3. Is there an upgrade path for that?  

Post a Comment

Where to find me:

Ted on Twitter - @AdobeTed
Ted on Adobe Groups
Ted on LinkedIn
Ted on Facebook
Ted at Adobe


Latest

Lists

Links

Jobs

Flex Jobs
city, state, zip

Archives