<?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>awkward silence &#187; flex</title>
	<atom:link href="http://tom.wilcoxen.org/category/flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://tom.wilcoxen.org</link>
	<description></description>
	<lastBuildDate>Fri, 19 Mar 2010 21:39:36 +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>Excellent Sample of Mate Document-Based Applications</title>
		<link>http://tom.wilcoxen.org/2008/10/10/excellent-sample-of-mate-document-based-applications/</link>
		<comments>http://tom.wilcoxen.org/2008/10/10/excellent-sample-of-mate-document-based-applications/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 19:46:42 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Note to self]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flex]]></category>
<category>actionscript</category><category>flex</category><category>Mate</category><category>Note to self</category>
		<guid isPermaLink="false">http://tom.wilcoxen.org/2008/10/10/excellent-sample-of-mate-document-based-applications/</guid>
		<description><![CDATA[I found an example of a Document-based Mate application out on Google code, referenced here and here on the Mate web site. It&#8217;s pretty nice, with good examples of the LocalEventMap, etc. He&#8217;s built it using the Presentation Model design pattern which seems to be a natural fit to both Flex and Mate. Paul Williams [...]]]></description>
			<content:encoded><![CDATA[<p>I found an example of a Document-based Mate application out on <a href="http://code.google.com/p/mate-examples/">Google code</a>, referenced <a href="http://mate.asfusion.com/forums/topic.php?id=155">here </a>and <a href="http://mate.asfusion.com/news/new-mate-examples-and-extensions-project">here </a>on the Mate web site.</p>
<p>It&#8217;s pretty nice, with good examples of the LocalEventMap, etc. He&#8217;s built it using the <a href="http://code.google.com/p/mate-examples/wiki/PresentationModel">Presentation Model</a> design pattern which seems to be a natural fit to both Flex and Mate.</p>
<p>Paul Williams of Adobe has <a href="http://weblogs.macromedia.com/paulw/">a series of articles</a> on various design patterns including <a href="http://weblogs.macromedia.com/paulw/archives/2007/10/presentation_pa_3.html">Presentation Model</a>.</p>
<p>And of course Martin Fowler <a href="http://martinfowler.com/eaaDev/PresentationModel.html">has some thoughts</a> on the Presentation Model, aka Application Model pattern.</p>
<p>It could be a nice starting point for developing multiple document applications. And the Presentation Model pattern looks like it would provide some nice benefits, keeping the views nice and simple and making them a lot easier to test. </p>
<p>This project also has excellent documentation and about the only info I can find on LocalEventMaps. </p>
<a href="http://tom.wilcoxen.org/tags/actionscript" rel="tag">actionscript</a>, <a href="http://tom.wilcoxen.org/tags/flex" rel="tag">flex</a>, <a href="http://tom.wilcoxen.org/tags/mate" rel="tag">Mate</a>, <a href="http://tom.wilcoxen.org/tags/note-to-self" rel="tag">Note to self</a>]]></content:encoded>
			<wfw:commentRss>http://tom.wilcoxen.org/2008/10/10/excellent-sample-of-mate-document-based-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Builder 3, .swc Libraries and Linked Source</title>
		<link>http://tom.wilcoxen.org/2008/09/11/flex-builder-3-swc-libraries-and-linked-source/</link>
		<comments>http://tom.wilcoxen.org/2008/09/11/flex-builder-3-swc-libraries-and-linked-source/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 17:16:07 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Note to self]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[ria]]></category>
<category>flex</category><category>Note to self</category><category>ria</category>
		<guid isPermaLink="false">http://tom.wilcoxen.org/2008/09/11/flex-builder-3-swc-libraries-and-linked-source/</guid>
		<description><![CDATA[I&#8217;ve been using Mate for some time and liking it very much. I wanted to be able to use Flex Builder&#8217;s ability to navigate to and view the source of included types. With only having the downloaded .swc file in my /libs directory that wasn&#8217;t possible. It took me some time to sort it out, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://mate.asfusion.com/">Mate</a> for some time and liking it very much. I wanted to be able to use Flex Builder&#8217;s ability to navigate to and view the source of included types. With only having the downloaded .swc file in my /libs directory that wasn&#8217;t possible. It took me some time to sort it out, so here&#8217;s my recipe in case it helps anyone (and so I can remember next time). </p>
<p>This should also work for any project that you can download the source for, that just happened to be Mate for me. I&#8217;m using Flex Builder 3 &#8212; not sure what would be different if anything with FB2.</p>
<p>1. Download the source using the directions <a href="http://mate.asfusion.com/page/downloads">here</a></p>
<p>2. Create a <strong>Flex Library Project</strong> in Flex Builder, let&#8217;s call it &#8216;MateLib&#8217;</p>
<p>3. Import the source into the project, leaving out all the .svn directories, such that your folder structure looks like:</p>
<pre>
MateLib
   /bin
   /com
      /asfusion
         /mate
            /etc....
   manifest.xml
</pre>
<p>4. Right click the project in the FB Navigator view and select: Properties -> Flex Library Compiler. Set the <strong>Namespace URL:</strong> to &#8220;http://mate.asfusion.com/&#8221; and <strong>Mainifest file:</strong> to manifest.xml</p>
<p>5. Save and build the project.</p>
<p>6. In your project that uses the library, select Properties -> Flex Build Path and click Add SWC and navigate to the MateLib project -> /bin folder and select the MateLib.swc file there. </p>
<p>Now you can use the standard way to include Mate components in your mxml, with:<br />
<code><br />
   xmlns:mate="http://mate.asfusion.com/"<br />
</code></p>
<p>And you&#8217;ll be able to view the source code by command-clicking (control-click on Windows I think) a Mate component. You can also select the text, e.g. Dispatcher, and use the F3 key. And&#8230; the classes will also come up and be navigable with the Open Type, command-T, navigator.</p>
<a href="http://tom.wilcoxen.org/tags/flex" rel="tag">flex</a>, <a href="http://tom.wilcoxen.org/tags/note-to-self" rel="tag">Note to self</a>, <a href="http://tom.wilcoxen.org/tags/ria" rel="tag">ria</a>]]></content:encoded>
			<wfw:commentRss>http://tom.wilcoxen.org/2008/09/11/flex-builder-3-swc-libraries-and-linked-source/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FlexBuilder 3 Security Sandbox Explained</title>
		<link>http://tom.wilcoxen.org/2008/07/01/flexbuilder-3-security-sandbox-explained/</link>
		<comments>http://tom.wilcoxen.org/2008/07/01/flexbuilder-3-security-sandbox-explained/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 16:54:58 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[ria]]></category>
<category>actionscript</category><category>flex</category><category>Note to self</category><category>ria</category>
		<guid isPermaLink="false">http://tom.wilcoxen.org/2008/07/01/flexbuilder-3-security-sandbox-explained/</guid>
		<description><![CDATA[I&#8217;ve been trying to load a local file with some dummy data and hitting a security warning. I was running out of FlexBuilder 3 and trying to read a local file, so wasn&#8217;t sure why I was getting a security error. I&#8217;d come across many references to adding a cross domain policy to a web [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to load a local file with some dummy data and hitting a security warning. I was running out of FlexBuilder 3 and trying to read a local file, so wasn&#8217;t sure why I was getting a security error.</p>
<p>I&#8217;d come across many references to adding a cross domain policy to a web server, but this is the first full explanation of the security sandbox that made sense to me. Following this, I added:</p>
<p><code>-use-network=false</code></p>
<p>To the custom compiler line in the project preferences and all is well. Here&#8217;s the link with a great explanation:</p>
<p><a href="http://blogs.adobe.com/flexdoc/2008/06/the_security_sandbox_in_flex_b.html">http://blogs.adobe.com/flexdoc/2008/06/the_security_sandbox_in_flex_b.html</a></p>
<a href="http://tom.wilcoxen.org/tags/actionscript" rel="tag">actionscript</a>, <a href="http://tom.wilcoxen.org/tags/flex" rel="tag">flex</a>, <a href="http://tom.wilcoxen.org/tags/note-to-self" rel="tag">Note to self</a>, <a href="http://tom.wilcoxen.org/tags/ria" rel="tag">ria</a>]]></content:encoded>
			<wfw:commentRss>http://tom.wilcoxen.org/2008/07/01/flexbuilder-3-security-sandbox-explained/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.203 seconds -->
