DISQUS

DISQUS Hello! Vivisecting Media Conversations is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

The Flex Code-Behind Pattern

Started by James · 1 year ago

The Flex code-behind pattern is a design pattern that has been around since the release of Flex 1.0 yet is not known or used by a lot of developers. The initial concept of the pattern was based on the ASP.NET development pattern where the layout is handled in a main file and a secondary “backing” […] ... Continue reading »

5 comments

  • Having worked with James on a project that implemented this pattern, I can heartily agree with his recommendations and personally attest to the value in this structure.

    For people new to this concept, I always refer them to how we *try* to create unobtrusive javascript in a traditional HTML/JS environment.
  • Excellent article. Tried this pattern a couple of times (using some code from the Ted-On-Flex blog - http://www.onflex.org/ted/2007/02/code-behind-i...), but have always found several pitfalls. This seems to clarify a number of my questions. Thanks!
  • I am glad this helped clear up some of the pitfalls. When we first adopted this pattern on the project Webnesto is referring to in his comment, we would definitely had some challenges with the initial implementation. I have a feeling I missed a few other less common pitfalls we stumbled upon during the that project and other ones I have have used it on. At this point it has become more second nature, so what was once an "workaround" is now just how I code. If you, or anyone else, has some issues or questions about the pattern please let me know and I will reply and/or update the post with recommendations.
  • Fantastic article..... Good straight forward information.... Direct and compact....
    It helped me understand more about how Flex/AS works and how this interaction should be handled....
    Thanks
  • That was just the case I was wondering about. Thanks a lot. Nice and simple. Just on point.

Add New Comment

Returning? Login