<?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: running tasks in order with a task based sequence manager</title>
	<atom:link href="http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager</link>
	<description>Opensource initiative by Dutch interactive agency dpdk.</description>
	<pubDate>Thu, 29 Jul 2010 11:14:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: a configurable, pluggable, thread safe prioritized bulk loader with object management at dpdk Open Source</title>
		<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager#comment-122</link>
		<dc:creator>a configurable, pluggable, thread safe prioritized bulk loader with object management at dpdk Open Source</dc:creator>
		<pubDate>Tue, 20 Jul 2010 12:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.dpdk.nl/opensource/?p=374#comment-122</guid>
		<description>[...] is a combination of a number of previously released dpdk packages, such as Collections and the task based sequence manager, making it incredibly powerful and easily extendable for customized use. Some of the core features [...]</description>
		<content:encoded><![CDATA[<p>[...] is a combination of a number of previously released dpdk packages, such as Collections and the task based sequence manager, making it incredibly powerful and easily extendable for customized use. Some of the core features [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager#comment-113</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 19 Apr 2010 03:01:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.dpdk.nl/opensource/?p=374#comment-113</guid>
		<description>This is gold. I wrote my own very simple sequence based function queue then stumbled onto this. You opened my eyes to what is more of a design pattern and what you have done obviously has its benefits. This will change the way I code everything from now on for the better, cheers!</description>
		<content:encoded><![CDATA[<p>This is gold. I wrote my own very simple sequence based function queue then stumbled onto this. You opened my eyes to what is more of a design pattern and what you have done obviously has its benefits. This will change the way I code everything from now on for the better, cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wait for user input in your sequence at dpdk Open Source</title>
		<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager#comment-104</link>
		<dc:creator>Wait for user input in your sequence at dpdk Open Source</dc:creator>
		<pubDate>Thu, 25 Feb 2010 12:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.dpdk.nl/opensource/?p=374#comment-104</guid>
		<description>[...] in your sequence  Published by oskar on 25 February, 2010 in dpdk.       We&#8217;ve been using the task based sequence for a while now and are very pleased with it. One thing we missed, was the possibility to listen to [...]</description>
		<content:encoded><![CDATA[<p>[...] in your sequence  Published by oskar on 25 February, 2010 in dpdk.       We&#8217;ve been using the task based sequence for a while now and are very pleased with it. One thing we missed, was the possibility to listen to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: On using sequences and tasks with the DrupalService at dpdk Open Source</title>
		<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager#comment-76</link>
		<dc:creator>On using sequences and tasks with the DrupalService at dpdk Open Source</dc:creator>
		<pubDate>Mon, 12 Oct 2009 13:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.dpdk.nl/opensource/?p=374#comment-76</guid>
		<description>[...] Articles    &#171; running tasks in order with a task based sequence manager [...]</description>
		<content:encoded><![CDATA[<p>[...] Articles    &laquo; running tasks in order with a task based sequence manager [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benoît de Raemy</title>
		<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager#comment-71</link>
		<dc:creator>Benoît de Raemy</dc:creator>
		<pubDate>Fri, 02 Oct 2009 13:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.dpdk.nl/opensource/?p=374#comment-71</guid>
		<description>Hi Rolf,
Thank you very much, but I figure it out (as often in such case, I should have thought harder before bothering others for nuts) : all I had to do is to declare my ambiguous classes in extenso (with its "fully qualified class name") in my mxml file each time I use it, and not only through an import of the whole class : 
For example, the variable : 
   private var sequence: nl.dpdk.commands.tasks.Sequence;

And the constructor:
   sequence = new nl.dpdk.commands.tasks.Sequence();

That way, Flex compiler knows exactly to which classes it refers, and is still free to get automatically the path for class references that are part of its "native" packages.</description>
		<content:encoded><![CDATA[<p>Hi Rolf,<br />
Thank you very much, but I figure it out (as often in such case, I should have thought harder before bothering others for nuts) : all I had to do is to declare my ambiguous classes in extenso (with its &#8220;fully qualified class name&#8221;) in my mxml file each time I use it, and not only through an import of the whole class :<br />
For example, the variable :<br />
   private var sequence: nl.dpdk.commands.tasks.Sequence;</p>
<p>And the constructor:<br />
   sequence = new nl.dpdk.commands.tasks.Sequence();</p>
<p>That way, Flex compiler knows exactly to which classes it refers, and is still free to get automatically the path for class references that are part of its &#8220;native&#8221; packages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rolf Vreijdenberger</title>
		<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager#comment-70</link>
		<dc:creator>Rolf Vreijdenberger</dc:creator>
		<pubDate>Fri, 02 Oct 2009 12:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.dpdk.nl/opensource/?p=374#comment-70</guid>
		<description>Hi Benoit,
thanks, glad that you can use our stuff, make sure to show us what you created!

as for the flex issue, we'll get into that and try to fix it, but renaming Sequence is not an option for us as it is conceptually the best name for what it does.
As you might guess, our Sequence is a lot more powerful and universally applicable than what flex does, since it is only focused on tweening effects.

THat said, it should not be a problem since the compiler should resolve that it is in a different package. The ambiguity might be because of missing imports inside the package itself.
As I said, we'll fix the issue soon. 

In the meantime, if you do not use Sequences or Task with drupal, you could remove the tasks package in the nl.dpdk.services.gephyr package.</description>
		<content:encoded><![CDATA[<p>Hi Benoit,<br />
thanks, glad that you can use our stuff, make sure to show us what you created!</p>
<p>as for the flex issue, we&#8217;ll get into that and try to fix it, but renaming Sequence is not an option for us as it is conceptually the best name for what it does.<br />
As you might guess, our Sequence is a lot more powerful and universally applicable than what flex does, since it is only focused on tweening effects.</p>
<p>THat said, it should not be a problem since the compiler should resolve that it is in a different package. The ambiguity might be because of missing imports inside the package itself.<br />
As I said, we&#8217;ll fix the issue soon. </p>
<p>In the meantime, if you do not use Sequences or Task with drupal, you could remove the tasks package in the nl.dpdk.services.gephyr package.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benoît de Raemy</title>
		<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager#comment-69</link>
		<dc:creator>Benoît de Raemy</dc:creator>
		<pubDate>Thu, 01 Oct 2009 16:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.dpdk.nl/opensource/?p=374#comment-69</guid>
		<description>Hi,
First of all, thank you very much!! Your classes has been more than  helpful to handle my data between my Drupal back-end and my flex front-end. I just had to add a comment service to your DrupalService and everything worked fine. 
There's only one little problem : as the name you use for the sequence classes is the same one as one used by the flex framework to handle some effects (mx.effects:Sequence), it "can't resolve a multiname reference unambiguously"... Is there a way to get around this problem ? Do I have to rename the hundreds of reference "sequence" in my npdk package (and, if yes, is there a way to handle that automatically)? Or is there an other way to make sure my compiler doesn't mix up between the two classes? Or, may be, you could be really-really cool to flex developer and fix that directly in your package... 
Anyway, thank you again for your great job (and generosity) and I'm looking forward to showing you very soon what I achieved with your help (it'll be peanuts to you, but as a beginner in flex and AS3, I'm very proud of it).</description>
		<content:encoded><![CDATA[<p>Hi,<br />
First of all, thank you very much!! Your classes has been more than  helpful to handle my data between my Drupal back-end and my flex front-end. I just had to add a comment service to your DrupalService and everything worked fine.<br />
There&#8217;s only one little problem : as the name you use for the sequence classes is the same one as one used by the flex framework to handle some effects (mx.effects:Sequence), it &#8220;can&#8217;t resolve a multiname reference unambiguously&#8221;&#8230; Is there a way to get around this problem ? Do I have to rename the hundreds of reference &#8220;sequence&#8221; in my npdk package (and, if yes, is there a way to handle that automatically)? Or is there an other way to make sure my compiler doesn&#8217;t mix up between the two classes? Or, may be, you could be really-really cool to flex developer and fix that directly in your package&#8230;<br />
Anyway, thank you again for your great job (and generosity) and I&#8217;m looking forward to showing you very soon what I achieved with your help (it&#8217;ll be peanuts to you, but as a beginner in flex and AS3, I&#8217;m very proud of it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rolf vreijdenberger</title>
		<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager#comment-66</link>
		<dc:creator>rolf vreijdenberger</dc:creator>
		<pubDate>Tue, 29 Sep 2009 19:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.dpdk.nl/opensource/?p=374#comment-66</guid>
		<description>Hi Bart,
actually, you can pause the Sequence at any time via sequence.pause().
The currently executing task will finish and dispatch a TaskEvent when done, but the sequence will not continue. So your application state can react to Sequences but also the other way around. The use case you describe is taken care of :)</description>
		<content:encoded><![CDATA[<p>Hi Bart,<br />
actually, you can pause the Sequence at any time via sequence.pause().<br />
The currently executing task will finish and dispatch a TaskEvent when done, but the sequence will not continue. So your application state can react to Sequences but also the other way around. The use case you describe is taken care of <img src='http://www.dpdk.nl/opensource/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bart</title>
		<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager#comment-64</link>
		<dc:creator>Bart</dc:creator>
		<pubDate>Fri, 25 Sep 2009 15:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.dpdk.nl/opensource/?p=374#comment-64</guid>
		<description>It's looking good, can be very usefull. But to be able to use this in a more complicated environment a pause/resume feature would be great (or you'd get task/sequence-completion events from timed/framed tasks while everything else is paused and that will get very messy).</description>
		<content:encoded><![CDATA[<p>It&#8217;s looking good, can be very usefull. But to be able to use this in a more complicated environment a pause/resume feature would be great (or you&#8217;d get task/sequence-completion events from timed/framed tasks while everything else is paused and that will get very messy).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rolf vreijdenberger</title>
		<link>http://www.dpdk.nl/opensource/running-tasks-in-order-with-a-task-based-sequence-manager#comment-59</link>
		<dc:creator>rolf vreijdenberger</dc:creator>
		<pubDate>Tue, 01 Sep 2009 20:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dpdk.nl/opensource/?p=374#comment-59</guid>
		<description>Hi Thijs,

thanks! I hope you'll do some nice stuff with it.

There is no ITask interface, since you NEED to subclass/extend Task. Task itself has all the logic to be able to run it in a sequence. By subclassing Task and by overriding two methods, you only have to implement a little bit of logic and you cannot make any mistakes when you write your own subclasses, since the Task superclass takes care of all the necessary actions needed.

If you study the Task class you will see that it uses template methods, a technique where you specify a sequence of method calls inside a method (the template) and override only selected methods in the template method. This makes sure an order of calls is preserved (and thereby the logic), while allowing subclasses to introduce additional logic.</description>
		<content:encoded><![CDATA[<p>Hi Thijs,</p>
<p>thanks! I hope you&#8217;ll do some nice stuff with it.</p>
<p>There is no ITask interface, since you NEED to subclass/extend Task. Task itself has all the logic to be able to run it in a sequence. By subclassing Task and by overriding two methods, you only have to implement a little bit of logic and you cannot make any mistakes when you write your own subclasses, since the Task superclass takes care of all the necessary actions needed.</p>
<p>If you study the Task class you will see that it uses template methods, a technique where you specify a sequence of method calls inside a method (the template) and override only selected methods in the template method. This makes sure an order of calls is preserved (and thereby the logic), while allowing subclasses to introduce additional logic.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
