Check out our Angular Book Series.

The Flex Show Episode 84: MVC w/ Simeon Bateman and Michael Labriola

In this episode we take a framework agnostic look at the MVC design pattern. Simeon Bateman and Michael Labriola tell you all you need to know.



Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Bjorn Schultheiss's Gravatar Interesting chat guys.

It was interesting that as I was listening certain points that you talked about hit a sore spot in me.
The biggest one was the issue of presentation models.

Personally i think this has been the best thing since sliced bread for flex.
One of the biggest issue's with the frameworks has been the use of Singletons.
Some call it the Anti-Pattern and others say it is the death of testing.
Singletons are ofter used to locate services, commands, models and even views in various derivatives in some of the frameworks.

A solution to not using singletons for this purpose is factories.

This is impossible with mxml because factories are not generally used to create views except in lists, generally the syntax is <canvas><button/></canvas>.

On the other hand presentation models can get created in factories and therefore don't need singletons to communicate with say commands.

Also since there constructor does not need to be null, as with mxml objects, you can use constructor injection therefore creating yourself an order of instantiation.

And then there is the ability to be able to test a views logic in isolation without being required to instantiate all of its children.
# Posted By Bjorn Schultheiss | 8/19/09 10:17 PM
Annoyed Listener's Gravatar Please stop the breathing into the mic! It's annoying enough to not listen anymore.
# Posted By Annoyed Listener | 8/21/09 2:27 AM
Jeffry Houser's Gravatar Annoyed Listener,

When editing, we silence all mics that are not currently speaking. That said, which voice is the problematic one?
# Posted By Jeffry Houser | 8/21/09 10:56 AM
All content Copyright 2007, 2008, 2009, DotComIt, unless otherwise specified. May not be used without permission.
BlogCFC was created by Raymond Camden. This blog is running version
Adobe, the Adobe logo, Flex, Flex Builder, and Captivate are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Adobe is not responsible for the content in any way.
This site part of the DotComIt Brain Trust