<?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: ActionStep (plugin View) / Pixlib (MVC FrontController + Remoting) SUSHI Service</title>
	<atom:link href="http://www.deja-vue.net/blog/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deja-vue.net/blog/fr/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/</link>
	<description>Michael Barbero - Flash Applications Engineer / ActionScript Developer Senior / Pixlib Evangelist</description>
	<lastBuildDate>Fri, 16 Jul 2010 09:59:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Marcelo</title>
		<link>http://www.deja-vue.net/blog/fr/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/comment-page-1/#comment-57</link>
		<dc:creator>Marcelo</dc:creator>
		<pubDate>Fri, 30 Jul 2010 22:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.deja-vue.net/blog/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/#comment-57</guid>
		<description>Ooops... sorry, just found it now  :P</description>
		<content:encoded><![CDATA[<p>Ooops&#8230; sorry, just found it now  <img src='http://www.deja-vue.net/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcelo</title>
		<link>http://www.deja-vue.net/blog/fr/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/comment-page-1/#comment-56</link>
		<dc:creator>Marcelo</dc:creator>
		<pubDate>Fri, 30 Jul 2010 19:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.deja-vue.net/blog/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/#comment-56</guid>
		<description>Just a question: Haven&#039;t you made the source files available for download!? I&#039;m searching but can&#039;t find it! :(</description>
		<content:encoded><![CDATA[<p>Just a question: Haven&#8217;t you made the source files available for download!? I&#8217;m searching but can&#8217;t find it! <img src='http://www.deja-vue.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcelo</title>
		<link>http://www.deja-vue.net/blog/fr/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/comment-page-1/#comment-55</link>
		<dc:creator>Marcelo</dc:creator>
		<pubDate>Fri, 30 Jul 2010 14:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.deja-vue.net/blog/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/#comment-55</guid>
		<description>Very good article. Thanks for sharing!</description>
		<content:encoded><![CDATA[<p>Very good article. Thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.deja-vue.net/blog/fr/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/comment-page-1/#comment-54</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 30 Jul 2010 09:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.deja-vue.net/blog/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/#comment-54</guid>
		<description>True.

As explained in the article, in the command classes you can also use ViewHelper/ MovieClipHelper to interact with your views.

[as]
// GetOrder.as

//import com.bourre.core.Model;
//import sushi.models.SUSHIExpert;
//import sushi.models.ModelList;

import com.bourre.visual.MovieClipHelper
import sushi.uis.UIList;
import sushi.uis.SUSHIListUI;

// ... /...

public function onResult( e : BasicResultEvent ) : Void
{
    //SUSHIExpert(Model.getModel( ModelList.SUSHI_EXPERT )).onUpdate( e.getResult() );
    SUSHIListUI(MovieClipHelper.getMovieClipHelper(UIList.SUSHI_List)).onUpdateOrderList( e.getResult() );
}
[/as]

Pixlib give us this FLEXibility ;).

I use ModelLocator for the purpose of the article. I wanted to show it in action.

More generally and personally, as a RIA grows, the strategy I would recommend is the ModelLocator strategy. It helps keeping the code disciplined (not mentionned this is the place to store your state).

But It just depends on you personal needs or design choices and the application complexity.</description>
		<content:encoded><![CDATA[<p>True.</p>
<p>As explained in the article, in the command classes you can also use ViewHelper/ MovieClipHelper to interact with your views.</p>
<p>[as]<br />
// GetOrder.as</p>
<p>//import com.bourre.core.Model;<br />
//import sushi.models.SUSHIExpert;<br />
//import sushi.models.ModelList;</p>
<p>import com.bourre.visual.MovieClipHelper<br />
import sushi.uis.UIList;<br />
import sushi.uis.SUSHIListUI;</p>
<p>// &#8230; /&#8230;</p>
<p>public function onResult( e : BasicResultEvent ) : Void<br />
{<br />
    //SUSHIExpert(Model.getModel( ModelList.SUSHI_EXPERT )).onUpdate( e.getResult() );<br />
    SUSHIListUI(MovieClipHelper.getMovieClipHelper(UIList.SUSHI_List)).onUpdateOrderList( e.getResult() );<br />
}<br />
[/as]</p>
<p>Pixlib give us this FLEXibility <img src='http://www.deja-vue.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>I use ModelLocator for the purpose of the article. I wanted to show it in action.</p>
<p>More generally and personally, as a RIA grows, the strategy I would recommend is the ModelLocator strategy. It helps keeping the code disciplined (not mentionned this is the place to store your state).</p>
<p>But It just depends on you personal needs or design choices and the application complexity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xavier MARTIN</title>
		<link>http://www.deja-vue.net/blog/fr/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/comment-page-1/#comment-53</link>
		<dc:creator>Xavier MARTIN</dc:creator>
		<pubDate>Fri, 30 Jul 2010 22:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.deja-vue.net/blog/2006/05/25/actionstep-plugin-view-pixlib-mvc-frontcontroller-remoting-sushi-service/#comment-53</guid>
		<description>Ok I have small question here.
In your tut, in the GetOrders.as command in the onResult function, we&#039;re calling the onUpdate function of the Model.
This function in the model is doing nothing else than broadcasting the event onUpdateOrderList to the view regestered.
Just asking if we could skip a step and call the function onUpdateOrderList directly from one of the command.

Why here braodcasting to the model which is braodcasting to the view then???
You don&#039;t want to use reference to other view / object ?</description>
		<content:encoded><![CDATA[<p>Ok I have small question here.<br />
In your tut, in the GetOrders.as command in the onResult function, we&#8217;re calling the onUpdate function of the Model.<br />
This function in the model is doing nothing else than broadcasting the event onUpdateOrderList to the view regestered.<br />
Just asking if we could skip a step and call the function onUpdateOrderList directly from one of the command.</p>
<p>Why here braodcasting to the model which is braodcasting to the view then???<br />
You don&#8217;t want to use reference to other view / object ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
