<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Mate examples: #8 Modules Example (pt 1)</title>
	<atom:link href="http://www.flexstuff.co.uk/2009/08/18/mate-examples-8-modules-example-pt-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexstuff.co.uk/2009/08/18/mate-examples-8-modules-example-pt-1/</link>
	<description>Stuff about Flex. And Air. Oh and Flash. And probably about other stuff as well. Who knows?</description>
	<lastBuildDate>Wed, 25 Jan 2012 18:56:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: gillesguillemin</title>
		<link>http://www.flexstuff.co.uk/2009/08/18/mate-examples-8-modules-example-pt-1/comment-page-1/#comment-126</link>
		<dc:creator>gillesguillemin</dc:creator>
		<pubDate>Mon, 24 Aug 2009 07:42:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexstuff.co.uk/?p=552#comment-126</guid>
		<description>Well, creating the Module is already coupling somehow so I don&#039;t really see what&#039;s wrong in affecting some properties along the way. Don&#039;t also forget that if you want to address a specific subcomponent from the main application you can pass a property like targetSubComponent along with your event for example. Every sub-component will catch it but you can then easily check which specific one is being targeted.
Have a look on &lt;a href=&quot;http://www.flexstuff.co.uk/2009/08/06/mate-examples-9-modules-example-pt-2/&quot; rel=&quot;nofollow&quot;&gt;the second example&lt;/a&gt; as well, it might give you some other ideas on how to deal with your problem.</description>
		<content:encoded><![CDATA[<p>Well, creating the Module is already coupling somehow so I don&#8217;t really see what&#8217;s wrong in affecting some properties along the way. Don&#8217;t also forget that if you want to address a specific subcomponent from the main application you can pass a property like targetSubComponent along with your event for example. Every sub-component will catch it but you can then easily check which specific one is being targeted.<br />
Have a look on <a href="http://www.flexstuff.co.uk/2009/08/06/mate-examples-9-modules-example-pt-2/" rel="nofollow">the second example</a> as well, it might give you some other ideas on how to deal with your problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth</title>
		<link>http://www.flexstuff.co.uk/2009/08/18/mate-examples-8-modules-example-pt-1/comment-page-1/#comment-122</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Mon, 24 Aug 2009 01:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexstuff.co.uk/?p=552#comment-122</guid>
		<description>Excellent examples, and I look forward to the next part. Got a couple of questions in regards to Modules, Flex and Cairngorm.

When using Modules, what is the best way to manage more than one of the same entity from the main application to the Module. For example, I have a list of users, the user clicks on a user, I want it to load that user in a User module, before closing that User module, I want to load a different user from the main application. Single Main -&gt; Multiple Sub Application properties are o.k, but Multiple Main -&gt; Single / Multiple Sub Application properties???. I can do it by setting the property when I create the Module, but this is coupling? is there a better way to do it?

My latest thought is to have a more generic identifier, that can be used so that the module does the hard work of getting information about the identified entity, disconnecting it from the main application in a way, but what if that entity changes in my main application?

Cheers
Gareth.</description>
		<content:encoded><![CDATA[<p>Excellent examples, and I look forward to the next part. Got a couple of questions in regards to Modules, Flex and Cairngorm.</p>
<p>When using Modules, what is the best way to manage more than one of the same entity from the main application to the Module. For example, I have a list of users, the user clicks on a user, I want it to load that user in a User module, before closing that User module, I want to load a different user from the main application. Single Main -&gt; Multiple Sub Application properties are o.k, but Multiple Main -&gt; Single / Multiple Sub Application properties???. I can do it by setting the property when I create the Module, but this is coupling? is there a better way to do it?</p>
<p>My latest thought is to have a more generic identifier, that can be used so that the module does the hard work of getting information about the identified entity, disconnecting it from the main application in a way, but what if that entity changes in my main application?</p>
<p>Cheers<br />
Gareth.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

