<div dir="ltr">Greetings,<div><br></div><div>My only qualm with Mojolicious is the short deprecation cycle and how often you have to update your code to work with the latest and greatest (or lock on an older version).  However, I do *love* their testing framework so that's a major plus.</div><div><br></div><div>Nowadays I use Dancer for just about everything and I've been quite happy with it.  For pure API applications I tend to daemonize with lighttpd, for website type things I generally use Apache.  I admit there is a certain performance hit for not using a reverse proxy to starman (or related) but the ease of management has outweighed any of those concerns for me.</div><div><br></div><div>My WebSocket library uses AnyEvent and all of the related modules (AnyEvent::Handle etc) and I demonize that directly without something like Apache/Plack/Starman/etc.</div><div><br></div><div>I think the real answer is that "It depends on what you are doing."  If you are building a full website and you need a templating engine something like Dancer/Mojo tend to be the best choices.<br></div><div><br></div><div>I'm always happy to discuss these sorts of things though and I could share the testing library I created for Dancer that makes it easy to test apps similar to how Test::Mojo works.  It lets you use the Test::WWW::Mechanize library against Dancer apps and has always worked nicely for me.</div><div><br></div><div>Best Regards,</div><div>Robert Stone</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 2, 2017 at 8:02 AM, Julian Brown <span dir="ltr"><<a href="mailto:jlbprof@gmail.com" target="_blank">jlbprof@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanx for the reply Mark.<div><br></div><div>Just because it is old, does not make it correct.</div><div><br></div><div>In mod_perl2, I write a series of verbs that take values and do things all compiled into Apache, what is faster?</div><div><br></div><div>I will stipulate the easy aspects of Mojo.</div><div><br></div><div>Julian</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 1, 2017 at 10:55 PM, Mark Allen <span dir="ltr"><<a href="mailto:mrallen1@yahoo.com" target="_blank">mrallen1@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:verdana,helvetica,sans-serif;font-size:13px"><div><span>Because it's not 2004 anymore?</span></div><div><span><br></span></div><div id="m_6166928593116406147m_7607286131891618940yui_3_16_0_ym19_1_1496374807729_24853"><span id="m_6166928593116406147m_7607286131891618940yui_3_16_0_ym19_1_1496374807729_24854">Seriously, it couldn't be easier to write a nice web layer using Mojolicious::Lite (yeah I was a Dancer guy back in the day but I'm all Mojo these days not that I'm writing a bunch of Perl for $dayjob.)</span></div><div id="m_6166928593116406147m_7607286131891618940yui_3_16_0_ym19_1_1496374807729_24853"><span><br></span></div><div id="m_6166928593116406147m_7607286131891618940yui_3_16_0_ym19_1_1496374807729_24853" dir="ltr">All you need to do is `cpanm Mojolicious` and start implementing route handlers. It even will handle turning your hashes into JSON automagically.</div><div id="m_6166928593116406147m_7607286131891618940yui_3_16_0_ym19_1_1496374807729_24853" dir="ltr"><br></div><div id="m_6166928593116406147m_7607286131891618940yui_3_16_0_ym19_1_1496374807729_24853" dir="ltr">I will be out of the country for the June meeting, but it would be fun to do a presentation about Mojo for July if people are interested in that.</div><div id="m_6166928593116406147m_7607286131891618940yui_3_16_0_ym19_1_1496374807729_24853" dir="ltr"><br></div><div id="m_6166928593116406147m_7607286131891618940yui_3_16_0_ym19_1_1496374807729_24853" dir="ltr">Cheers,</div><div id="m_6166928593116406147m_7607286131891618940yui_3_16_0_ym19_1_1496374807729_24853" dir="ltr"><br></div><div id="m_6166928593116406147m_7607286131891618940yui_3_16_0_ym19_1_1496374807729_24853" dir="ltr">Mark</div> <div class="m_6166928593116406147m_7607286131891618940qtdSeparateBR"><br><br></div><div class="m_6166928593116406147m_7607286131891618940yahoo_quoted" style="display:block"> <div style="font-family:verdana,helvetica,sans-serif;font-size:13px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><div class="h5"><div><div class="m_6166928593116406147h5"> <div dir="ltr"><font size="2" face="Arial"> On Thursday, June 1, 2017 11:02 AM, Julian Brown <<a href="mailto:jlbprof@gmail.com" target="_blank">jlbprof@gmail.com</a>> wrote:<br></font></div>  <br><br> </div></div></div></div><div class="m_6166928593116406147m_7607286131891618940y_msg_container"><div><div class="h5"><div><div class="m_6166928593116406147h5"><div id="m_6166928593116406147m_7607286131891618940yiv1985581224"><div dir="ltr">Per my previous mail, I will prepare for J.D.'s challenge.<div><br></div><div>But I would like to have a discussion on the reasons one would pick dancer or some plack layer over mod_perl2.<div><br></div><div>We could later even do some benchmarking, but we have to get a suite of tasks to benchmark.</div><div><br></div><div>Julian</div></div></div></div></div></div></div></div>______________________________<wbr>_________________<br>Houston mailing list<br><a href="mailto:Houston@pm.org" target="_blank">Houston@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/houston" target="_blank">http://mail.pm.org/mailman/lis<wbr>tinfo/houston</a><br>Website: <a href="http://houston.pm.org/" target="_blank">http://houston.pm.org/</a><br><br></div>  </div> </div>  </div></div></div><br>______________________________<wbr>_________________<br>
Houston mailing list<br>
<a href="mailto:Houston@pm.org" target="_blank">Houston@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/houston" rel="noreferrer" target="_blank">http://mail.pm.org/mailman/lis<wbr>tinfo/houston</a><br>
Website: <a href="http://houston.pm.org/" rel="noreferrer" target="_blank">http://houston.pm.org/</a><br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Houston mailing list<br>
<a href="mailto:Houston@pm.org">Houston@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/houston" rel="noreferrer" target="_blank">http://mail.pm.org/mailman/<wbr>listinfo/houston</a><br>
Website: <a href="http://houston.pm.org/" rel="noreferrer" target="_blank">http://houston.pm.org/</a><br></blockquote></div><br></div>