Tutorial for core.async#100
Conversation
|
Hi James, sorry to be late. I'll take a look at it this evening and let you know what I think about it. |
|
Hi James, I still have to take a deeper look at your very nice contribution. I have one question: are we sure that the async stuff is the best solution for managing the updates of the shopping form? Generally speaking async stuff are very useful when you have more things going on at the same time (http://swannodette.github.io/2013/07/12/communicating-sequential-processes/). My best mimmo |
|
I don't think that, at this stage, async is necessarily the best way of handling the form, since it is fairly simple. For pedagogical purposes though, I thought it would make sense to start with a fairly simple example that can be made more complicated "as an exercise for the reader". The error highlighting part definitely doesn't require the use of async, but I think that it provides a simple introduction to the use of channels and such. The update-form-only-when-error-free part though, is much more cleanly done using async in my opinion. I'm not sure as to the position of the entry in the series; I was building off of the last tutorial, but as you say, it would probably fit in best after the tutorial on events. |
|
I'm going to work though this(new to CLJS) and would like to post my thoughts here if that is okay. |
|
Please! No problem. Sorry to be in late updating modern-cljs….I have a lot of stuff to add….I don't find the time it requires to put them down in words… cheers, On Jan 14, 2014, at 10:00 PM, Will Sommers notifications@github.com wrote:
|
You were mentioning before you were feeling a little overwhelmed with writing this series of tutorials and I wanted to try to lend a hand! I'm not sure if this is the sort of thing you'd be interested in integrating, but I whipped together a little tutorial on integrating core.async with the shopping form.