<?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>FlashMVC</title>
	<atom:link href="http://www.flashmvc.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashmvc.com</link>
	<description>A flexable lightweight framework engine for AS3.</description>
	<lastBuildDate>Mon, 06 Jul 2009 14:24:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>FlashMVC 2.01 update released</title>
		<link>http://www.flashmvc.com/2009/07/flashmvc-2-01-update-released/</link>
		<comments>http://www.flashmvc.com/2009/07/flashmvc-2-01-update-released/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 02:39:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.flashmvc.com/?p=158</guid>
		<description><![CDATA[Here are just a couple more enhancements to FlashMVC I was able to add over the weekend. These will not only automate a few things, but it makes room for additional addons in the future. There are two new features that have been added to SuperAction:
bindVars(&#8230; REST):void
This method looks at the SuperEvent fired from a [...]]]></description>
			<content:encoded><![CDATA[<p>Here are just a couple more enhancements to <a href="http://www.flashmvc.com">FlashMVC</a> I was able to add over the weekend. These will not only automate a few things, but it makes room for additional addons in the future. There are two new features that have been added to SuperAction:</p>
<p><strong>bindVars(&#8230; REST):void</strong><br />
This method looks at the SuperEvent fired from a completed action class, and copies properties to the SuperModel from the SuperEvent.</p>
<p><strong>lastSuperEvent : SuperEvent</strong><br />
[read-only] Returns the last SuperEvent fired after completing an action. (This is useful for reading a property from a SuperEvent after the event has fired and you didn&#8217;t have a listner for it yet in your view)</p>
<p><strong>Check out the documentation for more info:</strong><br />
<a href="http://www.flashmvc.com/documentation/">http://www.flashmvc.com/documentation/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmvc.com/2009/07/flashmvc-2-01-update-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FlashMVC v2.00 Released!</title>
		<link>http://www.flashmvc.com/2009/06/hello-world/</link>
		<comments>http://www.flashmvc.com/2009/06/hello-world/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 20:52:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.flashmvc.com/?p=1</guid>
		<description><![CDATA[I am very pleased to announce a major update to FlashMVC to version 2.0. This version is a complete rewrite of the original version with better attention to scalability and framework usage. Since this is a dramatic upgrade, I have changed the package name to com.jadbox.flashmvc2. This version scales much higher allowing actions to relay [...]]]></description>
			<content:encoded><![CDATA[<p>I am very pleased to announce a major update to FlashMVC to version 2.0. This version is a complete rewrite of the original version with better attention to scalability and framework usage. Since this is a dramatic upgrade, I have changed the package name to com.jadbox.flashmvc2. This version scales much higher allowing actions to relay complex messages to the view and built-in code hinting system for the view to execute an action. This is done by a new class called SuperAction. Let me start with the basics:</p>
<ul>
<li>action classes &#8211; these are normal classes (do not need to extent any classes) that perform an action</li>
<li>SuperEvent &#8211; this class acts like a model for a specific action class, as a constructor proxy for the action class. and as an event for once the action completes.</li>
<li>SuperModel &#8211; This class holds references to SuperActions which, in turn, hold references to SuperEvents and your action classes.</li>
<li>SuperAction &#8211; This class is a controller proxy between your view and the action that it needs to perform. It allows the user to dispatch a SuperEvent that gets used as a model/constructor for your action class.</li>
</ul>
<p>Benefits from version 1.0:</p>
<ul>
<li>The action has its own model/view (SuperEvent) to inform the view
<ul>
<li>The SuperModel has fewer global variables as actions have their own dedicated models</li>
</ul>
</li>
<li>The model (SuperEvent) also mocks the constructor of the action class for code hinting</li>
<li>Much more readable code for applications made with the framework.</li>
<li>ActionHelper removed in place of SuperEvent</li>
<li>If an action doesn&#8217;t require a unique SuperModel, you can use the base class SuperEvent or make a SuperEvent that covers multiple action classes (less recommended).</li>
</ul>
<p>Example running an action:</p>
<div class="codecolorer-container actionscript3 twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">SuperWebsite<span style="color: #000066; font-weight: bold;">.</span>instance<span style="color: #000066; font-weight: bold;">.</span>loginAction<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">dispatchEvent</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">new</span> LoginEvent<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;test@test.com));</span></div></div>
<p>Example reading an action:</p>
<div class="codecolorer-container actionscript3 twitlight" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">SuperWebsite<span style="color: #000066; font-weight: bold;">.</span>instance<span style="color: #000066; font-weight: bold;">.</span>loginAction<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>SuperEvent<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000066; font-weight: bold;">,</span> onComplete<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #339966; font-weight: bold;">function</span> onComplete<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span>SuperLogin<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> <span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">.</span>isInvalidEmail<span style="color: #000000;">&#41;</span> <span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;email was invalid&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#125;</span><span style="color: #000066; font-weight: bold;">;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.flashmvc.com/2009/06/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
