View Single Post
mindtwitch's Avatar mindtwitch mindtwitch is offline 2008-04-23 #217 Old  
Seems to make sense but I may have to read it a couple more times. I like the idea of using simple events, would this be through the Observer to send out notifications? Everything does need to be decoupled in that the template system simply parses an XML template file that is then used by the view to place each component with properties etc. But the idea is that the components could also be used seperately if a developer wanted to leverage them via Actionscript. There definately needs to be a two way communication though where the templateSystem knows when a component has been loaded and is available etc. There is also targeting where a playButton (MediaControl) targets a component that can be played (ie: Video, AudioPlayer, PhotoSlideShow etc.)

It could be possible that once I dive into this more I will find that this may not be necessary though since I am trying to refactor some existing code and seperate everything out nicely.

As always, many thanks to you for the detailed explanation and help.

- mt
Reply With Quote