<?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: What Design Pattern Next?</title>
	<atom:link href="http://www.as3dp.com/2008/01/15/what-design-pattern-next/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/</link>
	<description>OOP for Flash, Flex and AIR</description>
	<pubDate>Thu, 24 Jul 2008 07:22:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Timbot</title>
		<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-435</link>
		<dc:creator>Timbot</dc:creator>
		<pubDate>Tue, 22 Jan 2008 05:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-435</guid>
		<description>Just a few thoughts:
I like Petro's order mentioned above.  If you've covered Command, Memento is a natural progression.  And Jesse Warden had a nice explanation/use of Bridge a while ago, could be a good starting place.
The best IOC example I have seen yet is employed in LOWRA, a framework made by the creators of PixLib (another outstanding framework).

Lately I've made heavy use of the HIVE framework (open source), that employs State pattern throughout, and have realized that UIComponents for PureMVC could be made to be state-based fairly easily with the addition of a StateManager.  That would be an awesome experiment.
Ayo - did not mention what the misgivings with PureMVC are.  Is it with PureMVC, or MVC in general?  This methodology has been around a long long time.  I hardly do a project without it in one form or another.  Three things are inescapable: all applications must have data, all lapplication must be able to manipulate the data, and they must all have a way to present the data to a person.  MVC just seeks to create a clear distinction between these responsibilities.</description>
		<content:encoded><![CDATA[<p>Just a few thoughts:<br />
I like Petro&#8217;s order mentioned above.  If you&#8217;ve covered Command, Memento is a natural progression.  And Jesse Warden had a nice explanation/use of Bridge a while ago, could be a good starting place.<br />
The best IOC example I have seen yet is employed in LOWRA, a framework made by the creators of PixLib (another outstanding framework).</p>
<p>Lately I&#8217;ve made heavy use of the HIVE framework (open source), that employs State pattern throughout, and have realized that UIComponents for PureMVC could be made to be state-based fairly easily with the addition of a StateManager.  That would be an awesome experiment.<br />
Ayo - did not mention what the misgivings with PureMVC are.  Is it with PureMVC, or MVC in general?  This methodology has been around a long long time.  I hardly do a project without it in one form or another.  Three things are inescapable: all applications must have data, all lapplication must be able to manipulate the data, and they must all have a way to present the data to a person.  MVC just seeks to create a clear distinction between these responsibilities.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Sanders</title>
		<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-428</link>
		<dc:creator>Bill Sanders</dc:creator>
		<pubDate>Thu, 17 Jan 2008 14:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-428</guid>
		<description>aYo,

Every spare minute I'm spending with the Memento. In some respects it's very simple, but in others I found some subtle complexities. It's one of the few DPs where you don't find some kind of interface--either an interface or abstract class. Lots of time can be spent on it. For what I want to do with it, an e-learning application with video and Power-Point like graphics/text, may take some time. However, if I get a decent abstract minimalist example together, I may put it up separately.

As for chatting about PureMVC--Chandima is definitely the go-to guy on it. I'd  be a third wheel and either myForum2 or Quad (http://www.sandlight.com/quad) are good places for 4-way AV Chat. Let's set it up with a time we can all be there. You and Chandima can chat and I'll listen! With an extra seat, we could invite someone else who's interested.

Bill</description>
		<content:encoded><![CDATA[<p>aYo,</p>
<p>Every spare minute I&#8217;m spending with the Memento. In some respects it&#8217;s very simple, but in others I found some subtle complexities. It&#8217;s one of the few DPs where you don&#8217;t find some kind of interface&#8211;either an interface or abstract class. Lots of time can be spent on it. For what I want to do with it, an e-learning application with video and Power-Point like graphics/text, may take some time. However, if I get a decent abstract minimalist example together, I may put it up separately.</p>
<p>As for chatting about PureMVC&#8211;Chandima is definitely the go-to guy on it. I&#8217;d  be a third wheel and either myForum2 or Quad (http://www.sandlight.com/quad) are good places for 4-way AV Chat. Let&#8217;s set it up with a time we can all be there. You and Chandima can chat and I&#8217;ll listen! With an extra seat, we could invite someone else who&#8217;s interested.</p>
<p>Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aYo</title>
		<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-427</link>
		<dc:creator>aYo</dc:creator>
		<pubDate>Thu, 17 Jan 2008 13:46:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-427</guid>
		<description>Memento sounds nice. Always intrigued me the name, a bit like some horror/thriller but, it is actually a nice pattern I have deployed on occasion. Chandima's piece is very illuminating but, my reservations remain. In truth, his treatise is probably the best illustration out there on the use and understanding of PureMVC. What evades me is the WHY? You know I'm up for experimentation as much as the next guy, in fact many a time you have had to rein me in. I can see a myForum2 discussion is needed, we should get Chandima to join in as well, eh??</description>
		<content:encoded><![CDATA[<p>Memento sounds nice. Always intrigued me the name, a bit like some horror/thriller but, it is actually a nice pattern I have deployed on occasion. Chandima&#8217;s piece is very illuminating but, my reservations remain. In truth, his treatise is probably the best illustration out there on the use and understanding of PureMVC. What evades me is the WHY? You know I&#8217;m up for experimentation as much as the next guy, in fact many a time you have had to rein me in. I can see a myForum2 discussion is needed, we should get Chandima to join in as well, eh??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Sanders</title>
		<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-425</link>
		<dc:creator>Bill Sanders</dc:creator>
		<pubDate>Wed, 16 Jan 2008 15:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-425</guid>
		<description>Hi aYo,

Next up will be the Memento, which is a very interesting DP for preserving state. Following that will be the Mediator, which, I agree is a very nice way to handle a lot of different algorithms while decoupling them from their objects.

I'm going to use the Memento with an online course system I had to put together when I broke my leg in October and couldn't go to the bricks and mortar. The Memento will allow me to preserve a "place" in the video and slide show so that the user can stop where he wants and then go back without losing his place.

I think after reading Chandima's piece on PureMVC, you'll have fewer misgivings.

Bill</description>
		<content:encoded><![CDATA[<p>Hi aYo,</p>
<p>Next up will be the Memento, which is a very interesting DP for preserving state. Following that will be the Mediator, which, I agree is a very nice way to handle a lot of different algorithms while decoupling them from their objects.</p>
<p>I&#8217;m going to use the Memento with an online course system I had to put together when I broke my leg in October and couldn&#8217;t go to the bricks and mortar. The Memento will allow me to preserve a &#8220;place&#8221; in the video and slide show so that the user can stop where he wants and then go back without losing his place.</p>
<p>I think after reading Chandima&#8217;s piece on PureMVC, you&#8217;ll have fewer misgivings.</p>
<p>Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aYo</title>
		<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-424</link>
		<dc:creator>aYo</dc:creator>
		<pubDate>Wed, 16 Jan 2008 14:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-424</guid>
		<description>My latest DP incursions have been into the world of the Mediator Pattern. For the love of God I do not know why I had not taken a look at it earlier. The combination of Strategies and Mediator is arguably as powerful as the MVC. 

*By the by I do have my misgivings about PureMVC but I am reading Chandima's note on the subject before I make up my mind</description>
		<content:encoded><![CDATA[<p>My latest DP incursions have been into the world of the Mediator Pattern. For the love of God I do not know why I had not taken a look at it earlier. The combination of Strategies and Mediator is arguably as powerful as the MVC. </p>
<p>*By the by I do have my misgivings about PureMVC but I am reading Chandima&#8217;s note on the subject before I make up my mind</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Sanders</title>
		<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-423</link>
		<dc:creator>Bill Sanders</dc:creator>
		<pubDate>Tue, 15 Jan 2008 22:19:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-423</guid>
		<description>Laurent,

You know, that's a good question. How do you know that the choice you've made as far as a DP is concerned is the right one. I liked the State DP when I did a video player because the video is so clearly state driven. However, I've seen good video players using MVC; so that's a great issue to broach. That might be a good topic to kick around.--How to determine whether the DP you're using is the best choice.

Thanks,
Bill</description>
		<content:encoded><![CDATA[<p>Laurent,</p>
<p>You know, that&#8217;s a good question. How do you know that the choice you&#8217;ve made as far as a DP is concerned is the right one. I liked the State DP when I did a video player because the video is so clearly state driven. However, I&#8217;ve seen good video players using MVC; so that&#8217;s a great issue to broach. That might be a good topic to kick around.&#8211;How to determine whether the DP you&#8217;re using is the best choice.</p>
<p>Thanks,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent</title>
		<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-422</link>
		<dc:creator>Laurent</dc:creator>
		<pubDate>Tue, 15 Jan 2008 21:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-422</guid>
		<description>I'd like to see some Flex example in 'real life'. For example I've implemented the Decorator pattern for a popup window decorated regarding the context (editing, adding ...), in other words a good example?
But when the job was done I'm not so sure Decorator was the good choice.

Your analyse + real life example == good job ;)

Thxs (very good book)</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to see some Flex example in &#8216;real life&#8217;. For example I&#8217;ve implemented the Decorator pattern for a popup window decorated regarding the context (editing, adding &#8230;), in other words a good example?<br />
But when the job was done I&#8217;m not so sure Decorator was the good choice.</p>
<p>Your analyse + real life example == good job <img src='http://www.as3dp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Thxs (very good book)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Sanders</title>
		<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-421</link>
		<dc:creator>Bill Sanders</dc:creator>
		<pubDate>Tue, 15 Jan 2008 19:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-421</guid>
		<description>Hi Thanks Joe,

I was going through the DPs like a man possessed wondering what I missed. Now I can sleep tonight.

One of the little things I was going to write was to be called "No New is Good New"--avoiding the use of new and using alternatives approaches. It may be related to IoC from what you say, and it sounds very exciting. I got the idea from the Freemans' book and was going to follow up from there, but now I know I'll go searching for more on IoC

Thanks again,
Bill</description>
		<content:encoded><![CDATA[<p>Hi Thanks Joe,</p>
<p>I was going through the DPs like a man possessed wondering what I missed. Now I can sleep tonight.</p>
<p>One of the little things I was going to write was to be called &#8220;No New is Good New&#8221;&#8211;avoiding the use of new and using alternatives approaches. It may be related to IoC from what you say, and it sounds very exciting. I got the idea from the Freemans&#8217; book and was going to follow up from there, but now I know I&#8217;ll go searching for more on IoC</p>
<p>Thanks again,<br />
Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Rinehart</title>
		<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-420</link>
		<dc:creator>Joe Rinehart</dc:creator>
		<pubDate>Tue, 15 Jan 2008 18:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-420</guid>
		<description>Hey Bill,

IoC = Inversion of Control, a.k.a. Dependency Injection.  It's the core of frameworks like Spring and Guice.

It's less of a design pattern, more of a school of thought:  instead of having a class use a concrete implementation of another class, have it rely on an interface implemented by that concrete class.  Then, use a container (such as Spring) to "wire" in the concrete implementation to use at runtime.

I do this with delegates in my Flex apps:  if I have to read Contact instances from a service, I rely on IContactDelegate.  Based on runtime configuration settings, I have a factory that provides a specific implementation:  RemoteObjectContactDelegate may be an implementation using ColdFusion or BlazeDS, while MockContactDelegate may just "fake" having a server there so that I can develop independently of the back end.

-Joe</description>
		<content:encoded><![CDATA[<p>Hey Bill,</p>
<p>IoC = Inversion of Control, a.k.a. Dependency Injection.  It&#8217;s the core of frameworks like Spring and Guice.</p>
<p>It&#8217;s less of a design pattern, more of a school of thought:  instead of having a class use a concrete implementation of another class, have it rely on an interface implemented by that concrete class.  Then, use a container (such as Spring) to &#8220;wire&#8221; in the concrete implementation to use at runtime.</p>
<p>I do this with delegates in my Flex apps:  if I have to read Contact instances from a service, I rely on IContactDelegate.  Based on runtime configuration settings, I have a factory that provides a specific implementation:  RemoteObjectContactDelegate may be an implementation using ColdFusion or BlazeDS, while MockContactDelegate may just &#8220;fake&#8221; having a server there so that I can develop independently of the back end.</p>
<p>-Joe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Cascais</title>
		<link>http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-419</link>
		<dc:creator>Daniel Cascais</dc:creator>
		<pubDate>Tue, 15 Jan 2008 18:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.as3dp.com/2008/01/15/what-design-pattern-next/#comment-419</guid>
		<description>I believe that I’m not the only one thinking that it would be great to have some of these examples integrated with the Flex Framework or in use with UIComponent(s). As opposed to only AS3.

I’m guessing most of the people following this blogg or reading the book are actually going to implement this stuff within the Flex Framework, creating components from scratch by extending UIComponent or extending other Flex components.</description>
		<content:encoded><![CDATA[<p>I believe that I’m not the only one thinking that it would be great to have some of these examples integrated with the Flex Framework or in use with UIComponent(s). As opposed to only AS3.</p>
<p>I’m guessing most of the people following this blogg or reading the book are actually going to implement this stuff within the Flex Framework, creating components from scratch by extending UIComponent or extending other Flex components.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

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