<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>david mccuskey.com &#187; flex</title>
	<atom:link href="http://davidmccuskey.com/tag/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidmccuskey.com</link>
	<description>my slice of the Internet</description>
	<lastBuildDate>Thu, 22 Jul 2010 16:58:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Trying to do MVC in pure Flex</title>
		<link>http://davidmccuskey.com/2009/02/trying-to-do-mvc-in-pure-flex/</link>
		<comments>http://davidmccuskey.com/2009/02/trying-to-do-mvc-in-pure-flex/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 06:37:32 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://blog.davidmccuskey.com/?p=108</guid>
		<description><![CDATA[I was looking for some examples of how to structure a Flex application using MVC, but using only the Flex framework. In the long run I think I&#8217;ll be using PureMVC, but right now I am anxious to get my app working and don&#8217;t want to have to learn Yet Another Technology just to get [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for some examples of how to structure a Flex application using <span class="caps">MVC, </span>but using only the Flex framework. In the long run I think I&#8217;ll be using PureMVC, but right now I am anxious to get my app working and don&#8217;t want to have to learn <em>Yet Another Technology</em> just to get there. Besides, shouldn&#8217;t Flex be able to stand on its own?</p>

<p>I found what I was looking for in the article <a href="http://www.adobe.com/devnet/flex/articles/blueprint.html"><em>&#8220;An architectural blueprint for Flex applications&#8221;</em></a> written by Joe Berkovitz. In it he talks about a way in which he architects Flex applications using pure Flex/Actionscript constructs.</p>

<p>Being a Flex newbie, I learned a lot from his article like how to pass variables to your own <span class="caps">MXML </span>tags and even customize them using Actionscript. His architecture also solves an issue I was having with Event messaging/bubbling due to the fact that it only works automatically on DisplayObject components. His design also has an interesting way of handling multiple data-services as well as the operations required for handling service communication.</p>

<p>Source code for the project is available in the article. I would recommended downloading it and browsing through the files.</p>

<p><strong>Resources:</strong></p>


<ul>
<li>&#8220;<em>An architectural blueprint for Flex applications</em>&#8221; written by Joe Berkovitz, <a href="http://www.adobe.com/devnet/flex/articles/blueprint.html">http://www.adobe.com/devnet/flex/articles/blueprint.html</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://davidmccuskey.com/2009/02/trying-to-do-mvc-in-pure-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

