August 13, 2006

Flex - Separating Content from Code

I’m likely to be doing more Flex programming in the relatively near future, so I’m gathering interesting posts.

http://www.zeuslabs.us/archives/87/separating-layout-from-style-and-functionality/

My only problem with this example (and it is primarily because it is just an example) is that it makes it much harder to see the direct consequence of an action - you have to go hunting for it - the button and its clickAction are loosely coupled, which is a good thing in many cases, but harder to understand when you’re trying to support or maintain.

I suspect that better naming strategies would help here.  And certainly I’m not blaming the author of the post - he was focused on demonstrating separation, not maintainability.

No Comments »

No comments yet.

RSS feed for comments on this post. | TrackBack URI
You can also bookmark this on del.icio.us or check the cosmos

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .