On Thursday, January 2, 2014 8:07:06 AM UTC-7, sri wrote: > > >> You two got anything specific in mind you could elaborate on? >
The Mojolicious::Lite tutorial is one of the finest introductions of any framework I've used. It spells out the Mojolicious-style of doing things. It has the most common situations you'll come across when writing a web app, and then Mojolicious::Controller has everything else, also well documented. There are also ample examples (ex-amples?) of what I would call "toy" guides for non-blocking, including Joel's recent (and excellent) tutorials. But *all* of them demonstrate only the technical aspect of making a non-blocking call. What I'd like to see--and would be happy to help with, but which I'm likely unsuited for because I'm asking for it--is a guide that explains how to write a largeish scale application in the non-blocking style with Mojo::IOLoop::Delay. For example, an app that acts as a proxy/aggregator for several other web services (that would give reasonable justification for the approach): this application has multiple helpers or plugins that handle making connections (via Mojo::UserAgent) to other services and how those would be used in our controllers, etc. I'm not sure I'm being very clear, but the thrust of my suggestion is: I know how to build a web application in Mojolicious thanks to M::L's tutorial. I have no idea how to convert that same app into a non-blocking version--I doubt there is a nice path. 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. 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.
