On Saturday, January 4, 2014 10:55:28 AM UTC-7, sri wrote:
>
> So, assuming there is no clean path, how should I have begun in the first 
>> place using Mojo::IOLoop::Delay? It seems there are two distinct and 
>> incompatible ways to build a web app: blocking and non-blocking, with the 
>> former extremely well-documented and the latter only documented in 
>> functions and toy uses.
>>
>
> Don't think it can be done, since there are no established best practices 
> for non-blocking web apps in Perl (and/or Mojolicious) yet, we are still in 
> the trial and error phase.
> Good example for this is the "continue" feature we added just a few weeks 
> ago, and which you mentioned yourself earlier in this thread.
>

Yeah, I was afraid of that :)

Ok, well, I'll be off with a few other brave souls trying to forge some 
better practices for non-blocking web apps! Wish us luck. If anyone out 
there gets into a situation where they need to write a large, non-blocking 
web app (but not using callbacks/continuation-passing style) and feels like 
they've made some good progress in setting up routes and writing the 
controllers for such a beast, please share!

Scott

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to