<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I feel like this is said a lot on this mailing list, but I&#39;m a huge proponent of it. Announcements ftw.<br><br>WATask isn&#39;t really a state machine. It&#39;s more like a wizard or a subroutine (at least in my brain hehe).<br><br>RS<br><br>> Subject&#58; Re&#58; &#91;Seaside&#93; WATask, anyone&#63;<br>> From&#58; mac.hive&#64;me.com<br>> Date&#58; Sun, 16 Sep 2012 10&#58;23&#58;33 -0400<br>> To&#58; seaside&#64;lists.squeakfoundation.org<br>> <br>> <br>> On Sep 16, 2012, at 9&#58;53 AM, Philippe Marschall wrote&#58;<br>> <br>> &#62; On Fri, Sep 14, 2012 at 4&#58;31 PM, SebastianHC<br>> &#62; &#60;sebastian_heidbrink&#64;yahoo.de&#62; wrote&#58;<br>> &#62;&#62; Hi&#33;<br>> &#62;&#62; <br>> &#62;&#62; I&#39;m currently starting a new project and it seems like Pharo and Seaside are<br>> &#62;&#62; part of it.<br>> &#62;&#62; <br>> &#62;&#62; I follow the community and did some prototyping since the early beginnings<br>> &#62;&#62; of Seaside.<br>> &#62;&#62; <br>> &#62;&#62; But there&#39;s one thing I&#39;m really wondering about&#33;<br>> &#62;&#62; Why is WATask so rearly used and mentioned&#63;<br>> &#62; <br>> &#62; Maybe because you can get the same functionality with a method or<br>> &#62; block and &#35;call&#58; without having to create a class.<br>> &#62; <br>> <br>>   I used a WATask to handle the login logic for www.practicemusic.com, but after login all of the other views are shown with a call&#58;, like this&#59; <br>> <br>> go<br>> &#9;&#124; user component &#124;<br>> &#9;self call&#58; self userLoginView.<br>> &#9;&#40;self userLoginView user&#41; notNil  <br>> &#9;&#9;ifTrue&#58; &#91; <br>> &#9;&#9;&#9;component &#58;&#61; self firstComponentToDisplayForUser&#58; self userLoginView user.<br>> &#9;&#9;&#9;&#91; component notNil &#93;<br>> &#9;&#9;&#9;&#9;whileTrue&#58; &#91; <br>> &#9;&#9;&#9;&#9;&#9;self call&#58; component.<br>> &#9;&#9;&#9;&#9;&#9;component &#58;&#61; component nextComponentToBeDisplayed &#93; &#93;<br>> <br>> I&#39;ll have to think about whether I could use WATask for some sophisticated workflow/notification processing in my system.<br>> <br>> Regards, <br>> <br>>   Larry Kellogg<br>> <br>> <br>> <br>> &#62; Cheers<br>> &#62; Philippe<br>> &#62; _______________________________________________<br>> &#62; seaside mailing list<br>> &#62; seaside&#64;lists.squeakfoundation.org<br>> &#62; http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>> <br>> _______________________________________________<br>> seaside mailing list<br>> seaside&#64;lists.squeakfoundation.org<br>> http&#58;//lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside<br>                                               </div></body>
</html>