Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Przykład GateActor
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Przemyslaw Pokrywka  
View profile   Translate to Translated (View Original)
 More options Nov 15 2010, 6:23 pm
From: Przemyslaw Pokrywka <przemyslaw.pokry...@gmail.com>
Date: Tue, 16 Nov 2010 00:23:40 +0100
Local: Mon, Nov 15 2010 6:23 pm
Subject: Przykład GateActor
Hej

Na https://gist.github.com/701140 umieściłem dokończony w domu
przykład ze spotkania.
Widać, jak można obyć się bez wzorca stanu GoF, a tok przetwarzania
widać bardzo czytelnie.
Zapraszam do komentowania :)

Pozdrawiam
Przemek


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirek Pluta  
View profile   Translate to Translated (View Original)
 More options Nov 16 2010, 2:38 am
From: Mirek Pluta <luno...@gmail.com>
Date: Mon, 15 Nov 2010 23:38:11 -0800 (PST)
Local: Tues, Nov 16 2010 2:38 am
Subject: Re: Przykład GateActor
Tylko, ze wzorca stanu uzywa sie po to, aby nie zasmiecac kodu
komendami switch/if-else, ty po prostu napisales caly kod w jednej
metodzie. Wedlug mnie program, choc krotki to nie jest zbyt elegancki.

On Nov 16, 12:23 am, Przemyslaw Pokrywka


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Przemyslaw Pokrywka  
View profile   Translate to Translated (View Original)
 More options Nov 16 2010, 5:28 am
From: Przemyslaw Pokrywka <przemyslaw.pokry...@gmail.com>
Date: Tue, 16 Nov 2010 11:28:14 +0100
Local: Tues, Nov 16 2010 5:28 am
Subject: Re: [WrASSE] Re: Przykład GateActor
Zgadza się, umieściłem wszystko w jednej długiej metodzie, a łamie ona
zasadę utrzymywania całego kodu na jednym poziomie abstrakcji - w
wolnej chwili rozbiję ją na mniejsze. Opublikuję też resztę kodu
przykładu, razem z testem.
Cieszę się, że udało mi się sprowokować dyskusję. W tej chwili
proponuję umieszczać komentarze (po angielsku) na stronie gista:
http://gist.github.com/701140

Jeśli ktoś uważa, że wzorcem stanu (lub innym podejściem) dałoby się
zamodelować komponent bramy lepiej, to zachęcam do przysłania własnego
gista.

W dniu 16 listopada 2010 08:38 użytkownik Mirek Pluta
<luno...@gmail.com> napisał:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mirek Pluta  
View profile   Translate to Translated (View Original)
 More options Nov 16 2010, 10:05 am
From: Mirek Pluta <luno...@gmail.com>
Date: Tue, 16 Nov 2010 07:05:12 -0800 (PST)
Local: Tues, Nov 16 2010 10:05 am
Subject: Re: Przykład GateActor
Jak dokladnie dziala to:

loopWhile(warunek){
  ....

} andThen {
 ...
}

?

On Nov 16, 11:28 am, Przemyslaw Pokrywka


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Przemyslaw Pokrywka  
View profile   Translate to Translated (View Original)
 More options Nov 16 2010, 5:49 pm
From: Przemyslaw Pokrywka <przemyslaw.pokry...@gmail.com>
Date: Tue, 16 Nov 2010 23:49:38 +0100
Local: Tues, Nov 16 2010 5:49 pm
Subject: Re: [WrASSE] Re: Przykład GateActor
Heh, to cała historia... z braku czasu dziś zachęcę tylko do zajrzenia
w źródła, bo patent jest przebiegły :)

Zaktualizowany przykład (z rozbiciem długiej metody na mniejsze)
wystawiłem na githubie.
Klasa aktora jest na

http://goo.gl/9dUG6

Zapraszam do komentowania.
Jest tam cały projekt, włącznie z testem jednostkowym i setupem SBT.
Można sobie pooglądać i/lub ściągnąć i poeksperymentować

Pozdrawiam,
Przemek

W dniu 16 listopada 2010 16:05 użytkownik Mirek Pluta
<luno...@gmail.com> napisał:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Przemyslaw Pokrywka  
View profile   Translate to Translated (View Original)
 More options Nov 30 2010, 3:03 pm
From: Przemyslaw Pokrywka <przemyslaw.pokry...@gmail.com>
Date: Tue, 30 Nov 2010 21:03:17 +0100
Local: Tues, Nov 30 2010 3:03 pm
Subject: Re: [WrASSE] Re: Przykład GateActor
Hej

Ciężko mi było się zebrać na jakiś opis, na szczęście przed chwilą
stwierdziłem, że ktoś napisał go za mnie ;)

http://www.scala-lang.org/docu/files/actors-api/actors_api_guide_2.html

jest to fragment:
http://www.scala-lang.org/docu/files/actors-api/actors_api_guide.html#

Polecam!

Pozdrawiam,
Przemek

W dniu 16 listopada 2010 16:05 użytkownik Mirek Pluta
<luno...@gmail.com> napisał:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »