<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: Truckin’ Through ActionScript 3.0 MVC: Part IV—Making Changes</title>
	<atom:link href="http://www.as3dp.com/2009/11/01/truckin%e2%80%99-through-actionscript-30-mvc-part-iv%e2%80%94making-changes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.as3dp.com/2009/11/01/truckin%e2%80%99-through-actionscript-30-mvc-part-iv%e2%80%94making-changes/</link>
	<description>OOP Techniques for Flash and Flex Developers</description>
	<lastBuildDate>Wed, 10 Mar 2010 17:32:01 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: William B. Sanders</title>
		<link>http://www.as3dp.com/2009/11/01/truckin%e2%80%99-through-actionscript-30-mvc-part-iv%e2%80%94making-changes/comment-page-1/#comment-4143</link>
		<dc:creator>William B. Sanders</dc:creator>
		<pubDate>Wed, 10 Mar 2010 17:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=2004#comment-4143</guid>
		<description>Hi Gropapa,

Thanks for that link! I didn&#039;t realize Cocoa was designed around the MVC.

Kindest regards,
Bill</description>
		<content:encoded><![CDATA[<p>Hi Gropapa,</p>
<p>Thanks for that link! I didn&#8217;t realize Cocoa was designed around the MVC.</p>
<p>Kindest regards,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gropapa</title>
		<link>http://www.as3dp.com/2009/11/01/truckin%e2%80%99-through-actionscript-30-mvc-part-iv%e2%80%94making-changes/comment-page-1/#comment-4142</link>
		<dc:creator>gropapa</dc:creator>
		<pubDate>Wed, 10 Mar 2010 16:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=2004#comment-4142</guid>
		<description>this is exactly the way i see the mvc.
It looks like not everybody has the same vision of the MVC.
Just check the way cocoa implemented it
http://bark.metacasa.net/2006/07/01/cocoa-mvc/
it looks like the controller has many responsabilities and the model does not notify anything to the view</description>
		<content:encoded><![CDATA[<p>this is exactly the way i see the mvc.<br />
It looks like not everybody has the same vision of the MVC.<br />
Just check the way cocoa implemented it<br />
<a href="http://bark.metacasa.net/2006/07/01/cocoa-mvc/" rel="nofollow">http://bark.metacasa.net/2006/07/01/cocoa-mvc/</a><br />
it looks like the controller has many responsabilities and the model does not notify anything to the view</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William B. Sanders</title>
		<link>http://www.as3dp.com/2009/11/01/truckin%e2%80%99-through-actionscript-30-mvc-part-iv%e2%80%94making-changes/comment-page-1/#comment-4064</link>
		<dc:creator>William B. Sanders</dc:creator>
		<pubDate>Sat, 20 Feb 2010 20:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=2004#comment-4064</guid>
		<description>Hi Mark,

Good question. I&#039;d have to begin with the main query, &quot;What varies?&quot;. I believe that the Observer pattern would be most useful because different objects (analog and digital compass displays) depend on the information from the object that generates the information.

What do you think?

Kindest regards,
Bill</description>
		<content:encoded><![CDATA[<p>Hi Mark,</p>
<p>Good question. I&#8217;d have to begin with the main query, &#8220;What varies?&#8221;. I believe that the Observer pattern would be most useful because different objects (analog and digital compass displays) depend on the information from the object that generates the information.</p>
<p>What do you think?</p>
<p>Kindest regards,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark mun</title>
		<link>http://www.as3dp.com/2009/11/01/truckin%e2%80%99-through-actionscript-30-mvc-part-iv%e2%80%94making-changes/comment-page-1/#comment-4063</link>
		<dc:creator>mark mun</dc:creator>
		<pubDate>Sat, 20 Feb 2010 20:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=2004#comment-4063</guid>
		<description>Hi Bill,

Great article! Your writing is clear and makes it easy to understand.

If you had to redo the compass example in a way you prefer what would that be? Hopefully you can do your next blog on that.

Thank you,
~mark</description>
		<content:encoded><![CDATA[<p>Hi Bill,</p>
<p>Great article! Your writing is clear and makes it easy to understand.</p>
<p>If you had to redo the compass example in a way you prefer what would that be? Hopefully you can do your next blog on that.</p>
<p>Thank you,<br />
~mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William B. Sanders</title>
		<link>http://www.as3dp.com/2009/11/01/truckin%e2%80%99-through-actionscript-30-mvc-part-iv%e2%80%94making-changes/comment-page-1/#comment-3936</link>
		<dc:creator>William B. Sanders</dc:creator>
		<pubDate>Sat, 30 Jan 2010 12:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=2004#comment-3936</guid>
		<description>Hi Alex,

First of all, Chandima is the real MVC expert here—both MVC and PureMVC. Your questions are all handled better in Chapter 12 than I could in a short note to you. (Also, Chandima could do it better.)

Second, I&#039;m not that enthusiastic about the MVC. GoF make reference to it almost in passing in Chapter 1 of their book, and it is not actually a design pattern so much as it is a heuristic device for helping to understand design patterns. Somehow, it has become the favorite framework for many developers, and so I thought it wouldn&#039;t hurt to look at it and use it as an example of &lt;strong&gt;structure&lt;/strong&gt;. That was what the bridge was for—illustrating different structures.

The best place to start with the MVC or any other design pattern is to ask: &lt;blockquote&gt;What varies?&lt;/blockquote&gt; Once that question is addressed, you can then select the design pattern that handles variation. So instead of beginning by asking &lt;em&gt;How do I handle this problem?&lt;/em&gt; you need to back away and look at the principles on which design patterns are based.

All of the tools you need for this are pulled together in a &lt;a href=http://www.as3dp.com/2009/11/08/actionscript-30-design-pattern-starter-kit/&quot; rel=&quot;nofollow&quot;&gt;Starter Kit&lt;/a&gt; on this blog. That will put you on the right path.

Kindest regards,
Bill</description>
		<content:encoded><![CDATA[<p>Hi Alex,</p>
<p>First of all, Chandima is the real MVC expert here—both MVC and PureMVC. Your questions are all handled better in Chapter 12 than I could in a short note to you. (Also, Chandima could do it better.)</p>
<p>Second, I&#8217;m not that enthusiastic about the MVC. GoF make reference to it almost in passing in Chapter 1 of their book, and it is not actually a design pattern so much as it is a heuristic device for helping to understand design patterns. Somehow, it has become the favorite framework for many developers, and so I thought it wouldn&#8217;t hurt to look at it and use it as an example of <strong>structure</strong>. That was what the bridge was for—illustrating different structures.</p>
<p>The best place to start with the MVC or any other design pattern is to ask:<br />
<blockquote>What varies?</p></blockquote>
<p> Once that question is addressed, you can then select the design pattern that handles variation. So instead of beginning by asking <em>How do I handle this problem?</em> you need to back away and look at the principles on which design patterns are based.</p>
<p>All of the tools you need for this are pulled together in a <a href=http://www.as3dp.com/2009/11/08/actionscript-30-design-pattern-starter-kit/" rel="nofollow">Starter Kit</a> on this blog. That will put you on the right path.</p>
<p>Kindest regards,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Narten</title>
		<link>http://www.as3dp.com/2009/11/01/truckin%e2%80%99-through-actionscript-30-mvc-part-iv%e2%80%94making-changes/comment-page-1/#comment-3934</link>
		<dc:creator>Alex Narten</dc:creator>
		<pubDate>Sat, 30 Jan 2010 00:34:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=2004#comment-3934</guid>
		<description>Bill!

Wow! I&#039;m so glad I came across this huge article! I have looked at the surface of MVC for a while now without truly understanding the flow of communication between the segments of code (Model, View and Controller). I now feel enlightened and can&#039;t wait to begin tackling my new applications with this design pattern.

I didn&#039;t quite get the bridge bit about the bridge not being able to stand up with square supports and why it would fall sideways. However I did understand what you meant about solid non-substandard structure code-wise.

Now I do have one particular question. I am working on a Drupal Flash website and I have pretty much written the code for it to work. However, I have all written it in a class called &quot;Interface.as&quot;, i.e. non-MVC. In your example you seperated some pretty simple code into M, V and C with a client to instantiate, but in my application/website as3 code there are various &quot;modules&quot; (if I can call them that) due to the fact that a website doesn&#039;t contain only a compass needle and a slider. It contains more things such as &quot;language selection&quot;, &quot;web pages&quot;, &quot;product photo gallery&quot;, &quot;news&quot;, &quot;menu&quot; etc. Also it contains main site information that remains pretty much constant throughout the site like a variable such as &quot;_siteDomain&quot;. What I can&#039;t seem to get my head around is:

  Where do I start?
  How do I separate the &quot;modules&quot; and how do they communicate with each other?
  How would I go about planning the MVC?
  What kind of tools are there to conceptualize an application specific to as3?

Thank you very much for having taken the time to write such an in depth and enlightening article and if you do find the time to answer my questions I would like to thank you in advance.

Best Regards,
Alexandre</description>
		<content:encoded><![CDATA[<p>Bill!</p>
<p>Wow! I&#8217;m so glad I came across this huge article! I have looked at the surface of MVC for a while now without truly understanding the flow of communication between the segments of code (Model, View and Controller). I now feel enlightened and can&#8217;t wait to begin tackling my new applications with this design pattern.</p>
<p>I didn&#8217;t quite get the bridge bit about the bridge not being able to stand up with square supports and why it would fall sideways. However I did understand what you meant about solid non-substandard structure code-wise.</p>
<p>Now I do have one particular question. I am working on a Drupal Flash website and I have pretty much written the code for it to work. However, I have all written it in a class called &#8220;Interface.as&#8221;, i.e. non-MVC. In your example you seperated some pretty simple code into M, V and C with a client to instantiate, but in my application/website as3 code there are various &#8220;modules&#8221; (if I can call them that) due to the fact that a website doesn&#8217;t contain only a compass needle and a slider. It contains more things such as &#8220;language selection&#8221;, &#8220;web pages&#8221;, &#8220;product photo gallery&#8221;, &#8220;news&#8221;, &#8220;menu&#8221; etc. Also it contains main site information that remains pretty much constant throughout the site like a variable such as &#8220;_siteDomain&#8221;. What I can&#8217;t seem to get my head around is:</p>
<p>  Where do I start?<br />
  How do I separate the &#8220;modules&#8221; and how do they communicate with each other?<br />
  How would I go about planning the MVC?<br />
  What kind of tools are there to conceptualize an application specific to as3?</p>
<p>Thank you very much for having taken the time to write such an in depth and enlightening article and if you do find the time to answer my questions I would like to thank you in advance.</p>
<p>Best Regards,<br />
Alexandre</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William B. Sanders</title>
		<link>http://www.as3dp.com/2009/11/01/truckin%e2%80%99-through-actionscript-30-mvc-part-iv%e2%80%94making-changes/comment-page-1/#comment-3811</link>
		<dc:creator>William B. Sanders</dc:creator>
		<pubDate>Mon, 11 Jan 2010 12:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=2004#comment-3811</guid>
		<description>Hi Ivan,

The point of this particular post is &lt;em&gt;code re-use&lt;/em&gt; and the simple (and trivial) example is to show how easy it is to use the bulk of the code with a different view. So, it&#039;s really about re-use, and I was hoping the comments might reflect that.

The MVC is a fairly flexible framework, and I&#039;d really like to see you take my example and fix it up with your registration process with a different view. Let&#039;s see what you got.

Kindest regards,
Bill</description>
		<content:encoded><![CDATA[<p>Hi Ivan,</p>
<p>The point of this particular post is <em>code re-use</em> and the simple (and trivial) example is to show how easy it is to use the bulk of the code with a different view. So, it&#8217;s really about re-use, and I was hoping the comments might reflect that.</p>
<p>The MVC is a fairly flexible framework, and I&#8217;d really like to see you take my example and fix it up with your registration process with a different view. Let&#8217;s see what you got.</p>
<p>Kindest regards,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan V.</title>
		<link>http://www.as3dp.com/2009/11/01/truckin%e2%80%99-through-actionscript-30-mvc-part-iv%e2%80%94making-changes/comment-page-1/#comment-3803</link>
		<dc:creator>Ivan V.</dc:creator>
		<pubDate>Sat, 09 Jan 2010 20:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/?p=2004#comment-3803</guid>
		<description>Why are you registering View with the Model in Client class?
Why doesn&#039;t the View registers itself with the Model , upon initialization (inside the View class)?
So your Client class would only need to create the appropriate instances of MVC and that&#039;s it.
On a side note , Controller doesn&#039;t have a reference to the View, this is  not essential but it could be an added functionality, because sometimes Controller needs to speak to View without including Model in to conversation.</description>
		<content:encoded><![CDATA[<p>Why are you registering View with the Model in Client class?<br />
Why doesn&#8217;t the View registers itself with the Model , upon initialization (inside the View class)?<br />
So your Client class would only need to create the appropriate instances of MVC and that&#8217;s it.<br />
On a side note , Controller doesn&#8217;t have a reference to the View, this is  not essential but it could be an added functionality, because sometimes Controller needs to speak to View without including Model in to conversation.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
