<?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"
	>
<channel>
	<title>Comments on: PureMVC Tutorial - Flex, PureMVC, Jabber and XIFF 3: Part 7 - The Login View &#38; Mediator</title>
	<atom:link href="http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/</link>
	<description>Professional and reliable UK based Actionscript development</description>
	<pubDate>Sun, 05 Feb 2012 18:37:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: cuckoo</title>
		<link>http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-430</link>
		<dc:creator>cuckoo</dc:creator>
		<pubDate>Fri, 28 May 2010 06:28:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-430</guid>
		<description>Dear Dave,
I have a sandbox securityError, it tells XIFFer.swf can't load data from jabber.org:5222.
what wrong?</description>
		<content:encoded><![CDATA[<p>Dear Dave,<br />
I have a sandbox securityError, it tells XIFFer.swf can&#8217;t load data from jabber.org:5222.<br />
what wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devdave</title>
		<link>http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-364</link>
		<dc:creator>devdave</dc:creator>
		<pubDate>Thu, 10 Dec 2009 12:11:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-364</guid>
		<description>Hi Will,

The PureMVC philosophy doesn't allow mediators to know about the existence of each other in order to keep coupling within the system as low as possible, and Mediator isn't an EventDispatcher so you won't be able to use dispatchEvent.

The correct method is certainly to send a notification - why do you think that is ridiculous?

You shouldn't really think of notifications as being any different to Flash events; they just happen to be the way that PureMVC implements observable state (they used custom notifications rather than Flash events as PureMVC is also available in languages which don't implement the Flash event system).

In big applications I will sometimes organise my notifications into seperate classes to keep them together with notifications in the same conceptual area.  For example I might have FileNotifications.SAVE_DOCUMENT and VisualNotifications.SHOW_PROGRESS_BAR.

Hope that helps,

Dave</description>
		<content:encoded><![CDATA[<p>Hi Will,</p>
<p>The PureMVC philosophy doesn&#8217;t allow mediators to know about the existence of each other in order to keep coupling within the system as low as possible, and Mediator isn&#8217;t an EventDispatcher so you won&#8217;t be able to use dispatchEvent.</p>
<p>The correct method is certainly to send a notification - why do you think that is ridiculous?</p>
<p>You shouldn&#8217;t really think of notifications as being any different to Flash events; they just happen to be the way that PureMVC implements observable state (they used custom notifications rather than Flash events as PureMVC is also available in languages which don&#8217;t implement the Flash event system).</p>
<p>In big applications I will sometimes organise my notifications into seperate classes to keep them together with notifications in the same conceptual area.  For example I might have FileNotifications.SAVE_DOCUMENT and VisualNotifications.SHOW_PROGRESS_BAR.</p>
<p>Hope that helps,</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-358</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Wed, 02 Dec 2009 02:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-358</guid>
		<description>Dave,

What's the easiest way for one mediator to call a function in another mediator? I tried to dispatch and event, but I get this error:

 "Call to a possibly undefined method dispatchEvent."

Do I need to call a function in the mediator's view and dispatch the event from the view (which I can get working)? Or do I need to send a notification? The latter seems ridiculous and the first method seems too convoluted. Seems like you should be able to dispatch an event from the mediator.</description>
		<content:encoded><![CDATA[<p>Dave,</p>
<p>What&#8217;s the easiest way for one mediator to call a function in another mediator? I tried to dispatch and event, but I get this error:</p>
<p> &#8220;Call to a possibly undefined method dispatchEvent.&#8221;</p>
<p>Do I need to call a function in the mediator&#8217;s view and dispatch the event from the view (which I can get working)? Or do I need to send a notification? The latter seems ridiculous and the first method seems too convoluted. Seems like you should be able to dispatch an event from the mediator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dantahoua</title>
		<link>http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-255</link>
		<dc:creator>dantahoua</dc:creator>
		<pubDate>Mon, 04 May 2009 15:14:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-255</guid>
		<description>Great tuto! But how would you do in pure AS3 (not flex) with LoginView.mxml. Do I have to create a component in flash? I'm stuck to this point.</description>
		<content:encoded><![CDATA[<p>Great tuto! But how would you do in pure AS3 (not flex) with LoginView.mxml. Do I have to create a component in flash? I&#8217;m stuck to this point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devdave</title>
		<link>http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-228</link>
		<dc:creator>devdave</dc:creator>
		<pubDate>Fri, 20 Feb 2009 17:00:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-228</guid>
		<description>Hey Roman,

I'm not sure - I've not had a similar problem.  I'd recommend that you download and install Openfire (http://www.igniterealtime.org/projects/openfire/index.jsp) on your local machine and use that as a test Jabber server to start with.  This will help you localise whether or not the problem is with your code or jabber.org.

Cheers,

Dave</description>
		<content:encoded><![CDATA[<p>Hey Roman,</p>
<p>I&#8217;m not sure - I&#8217;ve not had a similar problem.  I&#8217;d recommend that you download and install Openfire (http://www.igniterealtime.org/projects/openfire/index.jsp) on your local machine and use that as a test Jabber server to start with.  This will help you localise whether or not the problem is with your code or jabber.org.</p>
<p>Cheers,</p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-227</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Fri, 20 Feb 2009 16:49:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/puremvc-tutorial-flex-puremvc-jabber-and-xiff-3-part-7-the-login-view-mediator/#comment-227</guid>
		<description>:~(
It doesn't connect :(
"Invalid login/password" says all the time. But it is correct.
I even created a new account on jabber.org specially for this.
Compiled it locally. No security or other errors are thrown.

It's sad.
Dear Dave, don't you know what this problem could be about?</description>
		<content:encoded><![CDATA[<p>:~(<br />
It doesn&#8217;t connect <img src='http://www.actionscriptdeveloper.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
&#8220;Invalid login/password&#8221; says all the time. But it is correct.<br />
I even created a new account on jabber.org specially for this.<br />
Compiled it locally. No security or other errors are thrown.</p>
<p>It&#8217;s sad.<br />
Dear Dave, don&#8217;t you know what this problem could be about?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

