<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><description></description><title>Sebastian Riedel about Perl and the Web</title><generator>Tumblr (3.0; @kraih)</generator><link>https://blog.kraih.com/</link><item><title>Mojolicious 8.0 released: Perl real-time web framework</title><description>&lt;p&gt;&lt;img src="https://66.media.tumblr.com/43075598f8b8b223de5c9506e9ff07e3/tumblr_inline_pf5oi3Ctk11qcosu5_540.png" alt=""/&gt;&lt;/p&gt;

&lt;p&gt;I’m excited to announce the release of &lt;a href="https://mojolicious.org"&gt;Mojolicious&lt;/a&gt; 8.0 (Supervillain).&lt;/p&gt;

&lt;p&gt;This release marks the culmination of a 2 year development cycle, reaching its conclusion last week at &lt;a href="http://mojoconf.org"&gt;Mojoconf&lt;/a&gt; in Norway. Where we were fortunate enough to have the whole core team present, for many very productive discussions and some &lt;a href="https://github.com/mojolicious/Mojo-AsyncAwait"&gt;crazy fun experiments&lt;/a&gt; to get &lt;code&gt;async&lt;/code&gt;/&lt;code&gt;await&lt;/code&gt; working with Perl and Mojolicious.&lt;/p&gt;

&lt;p&gt;The project has been growing steadily in the past few years, with &lt;a href="https://github.com/mojolicious/mojo/wiki/Projects-and-Companies-using-Mojolicious#companies"&gt;many companies&lt;/a&gt; relying on Mojolicious to develop new code bases, and even 20 year old behemoths like &lt;a href="https://bugzilla.mozilla.org"&gt;Bugzilla&lt;/a&gt; getting &lt;a href="https://www.youtube.com/watch?v=0jIk3s7GsEo"&gt;ported to Mojolicious&lt;/a&gt;. To support the continued growth we’ve decided to make a few organizational changes. From now on all new development will be consolidated in a single &lt;a href="https://github.com/mojolicious"&gt;GitHub organization&lt;/a&gt;. And our official IRC channel (&lt;a href="https://kiwiirc.com/nextclient/#irc://irc.freenode.net/mojo?nick=guest-?"&gt;say hi!&lt;/a&gt;) with almost 200 regulars will be moving to Freenode (&lt;code&gt;#mojo&lt;/code&gt; on &lt;code&gt;irc.freenode.net&lt;/code&gt;), to make it easier for people not yet part of the Perl community to get involved.&lt;/p&gt;

&lt;p&gt;&lt;img src="https://66.media.tumblr.com/5390a982e912f7d73e96a357780f7016/tumblr_inline_pf5tpdRWA81qcosu5_540.jpg" alt=""/&gt;&lt;/p&gt;

&lt;p&gt;When it comes to new features, this is probably our biggest release yet with 26 major features. For a complete overview you can take a look at the &lt;a href="https://speakerdeck.com/kraih/eight-point-oh"&gt;slides from my Mojoconf talk&lt;/a&gt; or &lt;a href="https://www.youtube.com/watch?v=nYlFprRybzA"&gt;watch the video&lt;/a&gt;. Here’s a list of the highlights:&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;&lt;strong&gt;New logo&lt;/strong&gt;: See above. :)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Promises/A+&lt;/strong&gt;: A &lt;a href="https://mojolicious.org/perldoc/Mojo/Promise"&gt;new module&lt;/a&gt; and &lt;a href="https://speakerdeck.com/kraih/eight-point-oh?slide=51"&gt;pattern&lt;/a&gt; for working with event loops.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Roles&lt;/strong&gt;: A new way to &lt;a href="https://mojolicious.org/perldoc/Mojolicious/Guides/Testing#Extending-Test::Mojo"&gt;extend Mojo classes&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Subprocesses&lt;/strong&gt;: Mix event loops and &lt;a href="https://speakerdeck.com/kraih/eight-point-oh?slide=14"&gt;computationally expensive tasks&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Placeholder types&lt;/strong&gt;: &lt;a href="https://speakerdeck.com/kraih/eight-point-oh?slide=75"&gt;Avoid repretitive routes&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mojo::File&lt;/strong&gt;: A brand &lt;a href="https://mojolicious.org/perldoc/Mojo/File"&gt;new module&lt;/a&gt; for dealing with file systems.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cpanel::JSON::XS&lt;/strong&gt;: Process JSON much much faster now.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mojo::PG&lt;/strong&gt;: Many new &lt;a href="https://mojolicious.org/perldoc/SQL/Abstract/Pg"&gt;SQL::Abstract extensions&lt;/a&gt; for Postgres features.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Minion&lt;/strong&gt;: Our job queue now has an &lt;a href="https://speakerdeck.com/kraih/eight-point-oh?slide=130"&gt;admin ui&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;As usual there is a lot more to discover, see &lt;a href="https://github.com/mojolicious/mojo/blob/v8.0/Changes"&gt;Changes&lt;/a&gt; on GitHub for the full list of improvements.&lt;/p&gt;

&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/178173935636</link><guid>https://blog.kraih.com/post/178173935636</guid><pubDate>Mon, 17 Sep 2018 10:56:49 +0200</pubDate></item><item><title>Mojolicious 7.0 released: Perl real-time web framework</title><description>&lt;figure data-orig-width="438" data-orig-height="289" class="tmblr-full"&gt;&lt;img src="https://66.media.tumblr.com/fd7a8598b2e94ad17942e8d1bc676380/tumblr_inline_oaixylYAbp1qcosu5_540.png" alt="image" data-orig-width="438" data-orig-height="289"/&gt;&lt;/figure&gt;&lt;p&gt;I’m excited to announce the release of &lt;a href="http://mojolicious.org"&gt;Mojolicious&lt;/a&gt; 7.0 (Doughnut).&lt;/p&gt;&lt;p&gt;While the community around Mojolicious keeps growing, you might be surprised to hear that the distribution itself has actually been shrinking. This is a very good thing, even with all the features we added over the years, we’ve managed to reduce the code size from 11247 lines in 2010, to 8490 lines today.&lt;/p&gt;&lt;figure data-orig-width="1038" data-orig-height="268" class="tmblr-full"&gt;&lt;img src="https://66.media.tumblr.com/ffdd41342d502bf03fd5cf4b8e4de4da/tumblr_inline_oaj2zo7He21qcosu5_540.png" alt="image" data-orig-width="1038" data-orig-height="268"/&gt;&lt;/figure&gt;&lt;p&gt;As you can see, it’s not a new trend, we put a lot of emphasis on iterative improvements, and that includes finding more efficient solutions to already solved problems. At the same time the number of tests has grown with every release, and we have now reached a very comfortable test coverage score of 95% with 11245 tests.&lt;/p&gt;&lt;figure data-orig-width="1040" data-orig-height="284" class="tmblr-full"&gt;&lt;img src="https://66.media.tumblr.com/8cb9c26b75d30ced3996f7971597ebf7/tumblr_inline_oaj3ocko311qcosu5_540.png" alt="image" data-orig-width="1040" data-orig-height="284"/&gt;&lt;/figure&gt;&lt;p&gt;With every release so far, we’ve also seen significant performance improvements. This is once again the case in 7.0, even though it keeps getting harder to find opportunities for optimizations. And especially ones that would show up on the “requests per second” benchmarks we run regularly.&lt;/p&gt;&lt;figure data-orig-width="1040" data-orig-height="280" class="tmblr-full"&gt;&lt;img src="https://66.media.tumblr.com/67062a94174a9c39742c9c22be7d758f/tumblr_inline_oaj525etyB1qcosu5_540.png" alt="image" data-orig-width="1040" data-orig-height="280"/&gt;&lt;/figure&gt;&lt;p&gt;Additionally, we’ve refactored a few internals, to &lt;a href="https://github.com/kraih/mojo/issues/925"&gt;make sure&lt;/a&gt; that our built-in HTTP and WebSocket servers can scale efficiently with large numbers of CPU cores, which have become much more commonly available.&lt;br/&gt;&lt;/p&gt;&lt;p&gt;While the main focus this year has been on stability, there are also a few new features, here’s a list of the highlights:&lt;br/&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Named variables in all templates:&lt;/b&gt; Mojo::Template now supports named variables natively. (&lt;a href="http://mojolicious.org/perldoc/Mojo/Template#SYNOPSIS"&gt;example&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;b&gt;HTTP methods:&lt;/b&gt; An “_method&lt;i&gt;”&lt;/i&gt; query parameter can now be used to override the request method. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Guides/Routing#HTTP-methods"&gt;example&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;b&gt;SNI:&lt;/b&gt; Now also on the server-side. (&lt;a href="http://mojolicious.org/perldoc/Mojo/Server/Daemon#listen"&gt;example&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;b&gt;Windows:&lt;/b&gt; Full support for &lt;a href="https://github.com/kraih/mojo/issues/954"&gt;Ubuntu on Windows&lt;/a&gt;, including zero downtime software upgrades.&lt;br/&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Validation filters:&lt;/b&gt; Parameters can now be filtered before validation. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Validator#FILTERS"&gt;example&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;b&gt;WebSocket subprotocols:&lt;/b&gt; We now support WebSocket subprotocol negotiation. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#WebSocket-web-service"&gt;example&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;b&gt;Minion:&lt;/b&gt; Our little &lt;a href="http://mojolicious.org/perldoc/Minion"&gt;job queue&lt;/a&gt; got much faster and now has support for parallel processing, multiple named queues, retrying failed jobs automatically and job dependencies.&lt;br/&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Code of conduct:&lt;/b&gt; Diversity matters a lot to us, and therefore we have decided to adopt a &lt;a href="http://mojolicious.org/perldoc/Mojolicious/Guides/Contributing#CODE-OF-CONDUCT"&gt;code of conduct&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;And as usual there is a lot more to discover, see &lt;a href="https://github.com/kraih/mojo/blob/v7.0/Changes"&gt;Changes&lt;/a&gt; on GitHub for the full list of improvements.&lt;/p&gt;&lt;p&gt;P.S.: We now have &lt;a href="https://www.stickermule.com/user/1070707933/stickers"&gt;stickers&lt;/a&gt;.&lt;/p&gt;&lt;figure data-orig-width="600" data-orig-height="338" class="tmblr-full"&gt;&lt;img src="https://66.media.tumblr.com/a0922e1b0ddf33bdc07562afafb81db0/tumblr_inline_oajl9gcJQn1qcosu5_540.jpg" alt="image" data-orig-width="600" data-orig-height="338"/&gt;&lt;/figure&gt;&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/147632979106</link><guid>https://blog.kraih.com/post/147632979106</guid><pubDate>Tue, 19 Jul 2016 08:20:32 +0200</pubDate></item><item><title>Mojolicious 6.0 released: Perl real-time web framework</title><description>&lt;figure data-orig-height="289" data-orig-width="438" data-orig-src="https://66.media.tumblr.com/cd4a8aade59688b3e171f040df65b31c/tumblr_inline_nke9302a1u1qcosu5.png"&gt;&lt;img src="https://66.media.tumblr.com/cd4a8aade59688b3e171f040df65b31c/tumblr_inline_pa2h76NjVN1qcosu5_540.png" alt="image" data-orig-height="289" data-orig-width="438" data-orig-src="https://66.media.tumblr.com/cd4a8aade59688b3e171f040df65b31c/tumblr_inline_nke9302a1u1qcosu5.png"/&gt;&lt;/figure&gt;&lt;p&gt;It fills me with great joy to announce the release of &lt;a href="http://mojolicious.org"&gt;Mojolicious&lt;/a&gt; 6.0 (Clinking Beer Mugs).&lt;/p&gt;&lt;p&gt;This has been the first major release for the newest member of our core team, please welcome &lt;a href="https://twitter.com/jhthorsen"&gt;Jan Henning Thorsen&lt;/a&gt;. It would appear that 2015 will be remembered as the year of the &lt;a href="https://fosdem.org/2015/schedule/event/get_ready_to_party/"&gt;6.0 releases&lt;/a&gt;, but the year is still young and there&amp;rsquo;s a lot more for us to look forward to. The IETF has just &lt;a href="http://www.ietf.org/blog/2015/02/http2-approved/"&gt;approved HTTP/2&lt;/a&gt;, which may, for better or worse, change completely how we develop web applications, and we can&amp;rsquo;t wait to see where this will lead us. There will also be a Mojoconf this year, in New York, preparations have already begun and we should be able to share more details very soon.&lt;/p&gt;&lt;p&gt;As real-time web technologies are becoming more and more mainstream, the community has matured, but kept up a steady growth rate. We have been able to reinforce our position as the most &lt;a href="https://github.com/kraih/mojo"&gt;starred&lt;/a&gt; Perl project on GitHub, and every day there are now hundreds of users browsing through the &lt;a href="http://mojolicious.org/perldoc"&gt;official documentation&lt;/a&gt;. The &lt;a href="https://groups.google.com/forum/#!forum/mojolicious"&gt;mailing-list&lt;/a&gt; is actually just about to reach 1000 subscribers, thanks everyone!&lt;/p&gt;&lt;p&gt;The main focus this year has been performance, pretty much everything got faster and/or scales better. But there are also quite a few new features, here&amp;rsquo;s a list of the highlights:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Nested helpers:&lt;/b&gt; Organize your helpers into namespaces, like the new built-in helper &lt;a href="http://mojolicious.org/perldoc/Mojolicious/Plugin/DefaultHelpers#reply-asset"&gt;reply-&amp;gt;asset&lt;/a&gt;. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Guides/Rendering#Adding-helpers"&gt;example&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;b&gt;SOCKS5 support:&lt;/b&gt; Through &lt;a href="http://mojolicious.org/perldoc/Mojo/UserAgent#proxy"&gt;IO::Socket::Socks&lt;/a&gt;. (&lt;a href="http://"&gt;example&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;b&gt;Non-blocking name resolution support:&lt;/b&gt; Through &lt;a href="https://metacpan.org/pod/Net::DNS::Native"&gt;Net::DNS::Native&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;b&gt;New Mojo::DOM:&lt;/b&gt; Completely redesigned &lt;a href="http://mojolicious.org/perldoc/Mojo/DOM"&gt;API&lt;/a&gt; and experimental support for case-insensitive attribute selectors like [foo=&amp;ldquo;bar&amp;rdquo; i].&lt;br/&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;RFC 3339 support: &lt;/b&gt;Almost every new REST API uses it. (&lt;a href="http://mojolicious.org/perldoc/Mojo/Date#parse"&gt;example&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;b&gt;Content negotiation:&lt;/b&gt; Now with If-None-Match and If-Modified-Since. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Plugin/DefaultHelpers#is_fresh"&gt;example&lt;/a&gt;)&lt;/li&gt;&lt;li&gt;&lt;b&gt;IPv6 everywhere:&lt;/b&gt; &lt;a href="https://metacpan.org/pod/IO::Socket::IP"&gt;IO::Socket::IP&lt;/a&gt; has become so reliable that we now use it for everything, all the time.&lt;/li&gt;&lt;li&gt;&lt;b&gt;No more &amp;ldquo;wantarray()&amp;rdquo;:&lt;/b&gt; To prevent &lt;a href="https://groups.google.com/forum/#!msg/mojolicious/aJTYjRCPjOE/QJZB6ORfYJAJ"&gt;security vulnerabilities&lt;/a&gt;, it is gone from the entire code base.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Mojo::Pg and Minion:&lt;/b&gt; Had stable 1.0 releases and have since become official &lt;a href="http://mojolicious.org/perldoc#SPIN-OFFS"&gt;spin-off projects&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;And as usual there is a lot more to discover, see &lt;a href="https://github.com/kraih/mojo/blob/v6.0/Changes"&gt;Changes&lt;/a&gt; on GitHub for the full list of improvements.&lt;/p&gt;&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/112170845701</link><guid>https://blog.kraih.com/post/112170845701</guid><pubDate>Fri, 27 Feb 2015 00:00:25 +0100</pubDate></item><item><title>Mojolicious 5.0 released: Perl real-time web framework</title><description>&lt;figure class="tmblr-full" data-orig-height="375" data-orig-width="500" data-orig-src="https://66.media.tumblr.com/ed6ab4e2502ee26c2bda0e22d0a75a67/tumblr_inline_n6cnloBsee1qcosu5.png"&gt;&lt;img src="https://66.media.tumblr.com/88df4d1e8cb01857eecd1cd8f964aab2/tumblr_inline_pa2h765RZO1qcosu5_540.png" alt="image" data-orig-height="375" data-orig-width="500" data-orig-src="https://66.media.tumblr.com/ed6ab4e2502ee26c2bda0e22d0a75a67/tumblr_inline_n6cnloBsee1qcosu5.png"/&gt;&lt;/figure&gt;

&lt;p&gt;I&amp;rsquo;m excited to announce the release of &lt;a href="http://mojolicious.org"&gt;Mojolicious&lt;/a&gt; 5.0 (Tiger Face).&lt;/p&gt;
&lt;p&gt;It is named after the &lt;a href="http://www.visitoslo.com/en/product/?TLp=495431"&gt;location&lt;/a&gt; of our very first &lt;a href="http://www.mojoconf.org/mojo2014/"&gt;Mojoconf&lt;/a&gt;, which has been a huge success and ended just a few days ago. The Oslo Perl Mongers have really done an amazing job putting it all together, and we would love to see this turn into a yearly event, so if you&amp;rsquo;d like to host the next Mojoconf in 2015, please &lt;a href="http://www.mojoconf.org/mojo2014/news/1201"&gt;get in touch&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;The community keeps growing fast, and just a few months ago we&amp;rsquo;ve actually been the very first Perl project on GitHub to be &lt;a href="https://github.com/kraih/mojo"&gt;starred&lt;/a&gt; more than 1000 times. On IRC we now see about 170 regulars and the &lt;a href="https://groups.google.com/forum/#!forum/mojolicious"&gt;mailing-list&lt;/a&gt; has grown to over 800 subscribers, thanks everyone!&lt;/p&gt;
&lt;p&gt;There are many new features this year, for a quick overview you can take a look at the &lt;a href="https://speakerdeck.com/kraih/five-point-oh"&gt;slides from my Mojoconf talk&lt;/a&gt;. Here&amp;rsquo;s a list of the highlights:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Redesigned:&lt;/b&gt; All new exception and not_found pages. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Lite#Built-in_exception_and_not_found_pages"&gt;usage example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Form validation:&lt;/b&gt; Simple and extensible. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Guides/Rendering#Form_validation"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;CSRF protection:&lt;/b&gt; You can&amp;rsquo;t have form validation without it. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Guides/Rendering#Cross-site_request_forgery"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Template variants:&lt;/b&gt; When responsive web design is not enough. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Guides/Rendering#Template_variants"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;All new Mojo::DOM:&lt;/b&gt; With support for many different node types and new ways to manipulate HTML. (&lt;a href="http://mojolicious.org/perldoc/Mojo/DOM#node"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;New hooks:&lt;/b&gt; The framework got a lot more extensible with hooks like &lt;a href="http://mojolicious.org/perldoc/Mojolicious#around_action"&gt;around_action&lt;/a&gt; and &lt;a href="http://mojolicious.org/perldoc/Mojolicious#before_render"&gt;before_render&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;SO_REUSEPORT:&lt;/b&gt; A new way to do zero downtime restarts and high performance web servers. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Zero_downtime_software_upgrades"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Rotating secrets:&lt;/b&gt; More security without having to invalidate existing sessions. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious#secrets"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Non-blocking bridges:&lt;/b&gt; A new way to reuse non-blocking code. (&lt;a href="http://mojolicious.org/perldoc/Mojolicious/Guides/Routing#Bridges"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Cheap helpers:&lt;/b&gt; You can now have as many as you like.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Optional placeholders everywhere:&lt;/b&gt; Even at the beginning of your route pattern.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;RFC 7159:&lt;/b&gt; Support for the new JSON spec.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;permessage-deflate:&lt;/b&gt; WebSocket compression.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Minion:&lt;/b&gt; A new spin-off project, because every full-stack framework needs a job queue. (&lt;a href="http://mojolicious.org/perldoc/Minion#SYNOPSIS"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;And as usual there is a lot more to discover, see &lt;a href="https://github.com/kraih/mojo/blob/v5.0/Changes"&gt;Changes&lt;/a&gt; on GitHub for the full list of improvements.&lt;/p&gt;
&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/87229338726</link><guid>https://blog.kraih.com/post/87229338726</guid><pubDate>Thu, 29 May 2014 22:30:00 +0200</pubDate></item><item><title>Mojoconf 2014</title><description>&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="289" data-orig-width="459" data-orig-src="https://66.media.tumblr.com/afed7e22e207a22fee360c118f8f3c67/tumblr_inline_n0xznfdMpj1qcosu5.png"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/afed7e22e207a22fee360c118f8f3c67/tumblr_inline_pa2h76GnoW1qcosu5_540.png" data-orig-height="289" data-orig-width="459" data-orig-src="https://66.media.tumblr.com/afed7e22e207a22fee360c118f8f3c67/tumblr_inline_n0xznfdMpj1qcosu5.png"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;m very happy to announce that this year &lt;a href="http://mojolicio.us"&gt;Mojolicious&lt;/a&gt; will be getting its very own conference, from the &lt;strong&gt;23rd&lt;/strong&gt; to &lt;strong&gt;25th&lt;/strong&gt; of &lt;strong&gt;May&lt;/strong&gt; 2014 the &lt;strong&gt;Oslo&lt;/strong&gt; Perl Mongers will be hosting the very first &lt;a href="http://www.mojoconf.org/mojo2014/"&gt;Mojoconf&lt;/a&gt;. And the whole core team will be there to talk about Perl and the Web!&lt;/p&gt;</description><link>https://blog.kraih.com/post/76535091594</link><guid>https://blog.kraih.com/post/76535091594</guid><pubDate>Thu, 13 Feb 2014 17:30:00 +0100</pubDate></item><item><title>Convos: Chatting in the cloud with Mojolicious</title><description>&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="55" data-orig-width="300" data-orig-src="https://66.media.tumblr.com/ecee058bd7fce0f763d5f6ae795b6a90/tumblr_inline_mxp222x7oW1qcosu5.png"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/ecee058bd7fce0f763d5f6ae795b6a90/tumblr_inline_pa2h771gYY1qcosu5_540.png" data-orig-height="55" data-orig-width="300" data-orig-src="https://66.media.tumblr.com/ecee058bd7fce0f763d5f6ae795b6a90/tumblr_inline_mxp222x7oW1qcosu5.png"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;If you like IRC and Perl, we&amp;rsquo;ve got a real treat for you! Our friends at &lt;a href="http://nordaaker.com/"&gt;Nordaaker&lt;/a&gt; have just open sourced &lt;a href="http://convos.by/"&gt;Convos&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Convos is the simplest way to use IRC. It is always online, and accessible to your web browser, both on desktop and mobile. Run it on your home server, or cloud service easily.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="313" data-orig-width="500" data-orig-src="https://66.media.tumblr.com/f74aa73f9f49720cfb42388cb5aac9e6/tumblr_inline_mxp33w32FP1qcosu5.jpg"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/bf3360b5fb6ecd022b128c875bd8f159/tumblr_inline_pa2h77v7UU1qcosu5_540.jpg" data-orig-height="313" data-orig-width="500" data-orig-src="https://66.media.tumblr.com/f74aa73f9f49720cfb42388cb5aac9e6/tumblr_inline_mxp33w32FP1qcosu5.jpg"/&gt;&lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/69783934209</link><guid>https://blog.kraih.com/post/69783934209</guid><pubDate>Thu, 12 Dec 2013 14:26:00 +0100</pubDate></item><item><title>Mojolicious 4.0 released: Perl real-time web framework</title><description>&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="289" data-orig-width="438"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/454275e79c6fbcb2f45a063702e4436a/4375eb68d18c5c21-fe/s540x810/47c9092838c151d9f9fba35e2f59bd2c11bba983.png" data-orig-height="289" data-orig-width="438"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;It fills me with great joy to announce our classiest release yet, &lt;a href="http://mojolicio.us"&gt;Mojolicious&lt;/a&gt; 4.0 (Top Hat).&lt;/p&gt;
&lt;p&gt;This is the first major release for the newest member of our core team, please welcome &lt;a href="https://twitter.com/joelaberger"&gt;Dr. Joel Berger&lt;/a&gt;, he was responsible for many of the new features. It has only been 11 months since our &lt;a href="http://blog.kraih.com/post/43199244554/mojolicious-3-0-released-perl-real-time-web-framework"&gt;3.0 release&lt;/a&gt; and the new development process is working out very well for us so far. The community keeps growing fast, we&amp;rsquo;ve now been &lt;a href="https://github.com/kraih/mojo"&gt;starred&lt;/a&gt; almost 900 times on GitHub and the IRC channel regularly reaches more than 150 visitors, thanks everyone!&lt;/p&gt;
&lt;p&gt;While the main focus of this release has been on the removal of legacy APIs, there are also quite a few new features, here are the highlights:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Content generators:&lt;/strong&gt; &amp;ldquo;json&amp;rdquo; and &amp;ldquo;form&amp;rdquo; generators are built right in. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#Content_generators"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;JSON WebSocket messages:&lt;/strong&gt; Native serialization and deserialization support. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Lite#WebSockets"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;JSON WebSocket tests:&lt;/strong&gt; Just as easy to use as their HTTP equivalents. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#Testing_WebSocket_web_services"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Event synchronization:&lt;/strong&gt; Avoid callback spaghetti with &lt;a href="http://mojolicio.us/perldoc/Mojo/IOLoop/Delay"&gt;delays&lt;/a&gt;. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#Backend_web_services"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Scalability:&lt;/strong&gt; The event loop got a lot better at managing more than 10k concurrent connections. (&lt;a href="https://gist.github.com/kraih/5551292"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Smooth restarting:&lt;/strong&gt; The &lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#Morbo"&gt;Morbo&lt;/a&gt; development web server does not have any noticeable downtime while restarting anymore.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hooks:&lt;/strong&gt; The framework got more extensible with new &lt;a href="http://mojolicio.us/perldoc/Mojolicious#hook"&gt;hooks&lt;/a&gt;. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Post-processing_dynamic_content"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GZip:&lt;/strong&gt; Compression is now transparently supported by the user agent.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;HTML5 forms:&lt;/strong&gt; Tag helpers have been added for many of the new form elements. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Plugin/TagHelpers#email_field"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Session expiration:&lt;/strong&gt; Can now be controlled with a relative value that persists within the session. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Growing#State_keeping"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;GET/POST parameters:&lt;/strong&gt; Retrieve multiple values at once with the much more secure multi name form. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Controller#param"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;JSON Pointers:&lt;/strong&gt; Now fully &lt;a href="http://tools.ietf.org/html/rfc6901"&gt;RFC 6901&lt;/a&gt; compliant. (&lt;a href="http://mojolicio.us/perldoc/Test/Mojo#json_message_is"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Monotonic clock support:&lt;/strong&gt; All built-in web servers are now very resilient to time jumps.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;And as usual there is a lot more to discover, see &lt;a href="https://github.com/kraih/mojo/blob/v4.0/Changes"&gt;Changes&lt;/a&gt; on GitHub for the full list of improvements.&lt;/p&gt;
&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/50517069291</link><guid>https://blog.kraih.com/post/50517069291</guid><pubDate>Wed, 15 May 2013 22:29:00 +0200</pubDate></item><item><title>Mangolicious</title><description>&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="289" data-orig-width="438"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/ad0d1f78d576dc9b699098e135019964/c20c5952546d7930-c3/s540x810/ca7ac2fe98ce535b7158f57709cc30d20d2c61fc.png" data-orig-height="289" data-orig-width="438"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;m very happy to announce the first alpha release of &lt;a href="https://github.com/kraih/mango"&gt;Mango&lt;/a&gt;, a new pure-Perl non-blocking I/O &lt;a href="http://www.mongodb.org/"&gt;MongoDB&lt;/a&gt; driver, and the latest &lt;a href="http://mojolicio.us/"&gt;Mojolicious&lt;/a&gt; spin-off project.&lt;/p&gt;
&lt;p&gt;If you&amp;rsquo;ve ever worked with the official MongoDB driver for Perl, you&amp;rsquo;re probably well aware of its many shortcomings, so i&amp;rsquo;m not gonna ramble on about it&amp;hellip; it&amp;rsquo;s basically the only driver i could find that still defaults to unsafe writes.&lt;/p&gt;
&lt;p&gt;While MongoDB itself can be a bit quirky as well, it is also a hell of a lot of fun to work with, especially for rapid prototyping HTML5 web applications. Now that real-time web technologies such as &lt;a href="http://en.wikipedia.org/wiki/WebSocket"&gt;WebSockets&lt;/a&gt; are becoming more and more popular, there is a growing demand for versatile non-blocking datastores that work well with event loops. So Mango has been designed from the ground up with the same hybrid architecture as the popular &lt;a href="http://mojolicio.us/perldoc/Mojo/UserAgent"&gt;Mojo::UserAgent&lt;/a&gt;, and both share the same general characteristics.&lt;/p&gt;
&lt;p&gt;Some of the most important features are:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Clean blocking and &lt;strong&gt;non-blocking&lt;/strong&gt; hybrid API.&lt;/li&gt;
&lt;li&gt;All operations are &lt;strong&gt;safe&lt;/strong&gt; by default, you have to work to lose data.&lt;/li&gt;
&lt;li&gt;Fast and &lt;strong&gt;simple&lt;/strong&gt; installation, no C compiler needed.&lt;/li&gt;
&lt;li&gt;Optimized for use with &lt;strong&gt;Mojolicious&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;And of course here&amp;rsquo;s the obligatory example application. ;)&lt;/p&gt;
&lt;div class="gist"&gt;&lt;a href="https://gist.github.com/kraih/4756855"&gt;https://gist.github.com/kraih/4756855&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;So, what are you waiting for? Get yourself a free account over at &lt;a href="https://www.mongohq.com/"&gt;MongoHQ&lt;/a&gt; or &lt;a href="https://mongolab.com/"&gt;MongoLab&lt;/a&gt; and start writing awesome web applications.&lt;/p&gt;
&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/43199352166</link><guid>https://blog.kraih.com/post/43199352166</guid><pubDate>Mon, 11 Feb 2013 13:03:00 +0100</pubDate></item><item><title>Mojolicious 3.0 released: Perl real-time web framework</title><description>&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="289" data-orig-width="438"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/cab925d907e33d60ff20bd1ba937eb45/6ff0723891e026e7-54/s540x810/095b41b6a6f2af5b1d4389d8e5162209f9a2f792.png" data-orig-height="289" data-orig-width="438"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;It fills me with great joy to announce the release of &lt;a href="http://mojolicio.us/"&gt;Mojolicious&lt;/a&gt; 3.0 (Rainbow).&lt;/p&gt;

&lt;p&gt;This marks the first major release for our newly formed core team, consisting of Glen Hinkle, Marcus Ramberg, Abhijit Menon-Sen and yours truly. A lot has happened during the last 8 months since our &lt;a href="http://blog.kraih.com/post/43198085334/mojolicious-2-0-released-perl-real-time-web-framework"&gt;2.0 release&lt;/a&gt;, most design decisions are now made by majority vote. The core feature set is not changing much anymore, and we are in the process of refocusing our efforts on making Mojolicious more approachable for beginners and easier to extend. The community is still growing fast, and we&amp;rsquo;ve just passed &lt;a href="https://github.com/kraih/mojo"&gt;666 watchers&lt;/a&gt; on GitHub, thanks everyone! :)&lt;/p&gt;
&lt;p&gt;There are many new features, here are the highlights:&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;TLS and IPv6:&lt;/strong&gt; Support for both has been greatly improved.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Commands:&lt;/strong&gt; The command system has been completely revamped. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#Adding_commands_to_Mojolicious"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Plugins:&lt;/strong&gt; Generator and CPAN upload commands make extending Mojolicious easier than ever. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Helper_plugins"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Event loops:&lt;/strong&gt; Mojolicious no longer needs to control the event loop. (&lt;a href="http://blog.kraih.com/post/43198561287/mojolicious-hack-of-the-day-more-anyevent-oh-my"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Content negotiation:&lt;/strong&gt; Write more RESTful web services. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Content_negotiation"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;JSON Pointers:&lt;/strong&gt; Many features dealing with JSON got a lot smarter. (&lt;a href="http://mojolicio.us/perldoc/Test/Mojo#json_is"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Flexible router:&lt;/strong&gt; Routes can now be rearranged. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Routing#Rearranging_routes"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Flexible renderer:&lt;/strong&gt; Serve templates and static files from as many DATA sections and paths as you like. (&lt;a href="http://blog.kraih.com/post/43198653667/mojolicious-hack-of-the-day-mojolyst"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Asset plugins:&lt;/strong&gt; Easily bundle assets such templates and static files with plugins. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Rendering#Bundling_assets_with_plugins"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Not found page:&lt;/strong&gt; Is now actually a &lt;a href="http://blog.kraih.com/post/43199195822/a-new-look-for-mojolicious"&gt;development tool&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hypnotoad:&lt;/strong&gt; Doesn&amp;rsquo;t require a separate configuration file anymore. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#Hypnotoad"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;WebSockets:&lt;/strong&gt; Fully &lt;a href="http://tools.ietf.org/html/rfc6455"&gt;RFC 6455&lt;/a&gt; compliant. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#WebSocket_web_service"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Relaxed placeholders: &lt;/strong&gt;Now look like &amp;ldquo;/#foo&amp;rdquo; instead of &amp;ldquo;/(.foo)&amp;rdquo;. (&lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Routing#Relaxed_placeholders"&gt;example&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;I18N plugin:&lt;/strong&gt; Maintained as a &lt;a href="https://github.com/sharifulin/mojolicious-plugin-i18n"&gt;separate distribution&lt;/a&gt; from now on.&lt;/li&gt;
&lt;/ul&gt;&lt;p&gt;And as usual there is a lot more to discover, see &lt;a href="https://github.com/kraih/mojo/blob/v3.0/Changes"&gt;Changes&lt;/a&gt; on GitHub for the full list of improvements.&lt;/p&gt;
&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/43199244554</link><guid>https://blog.kraih.com/post/43199244554</guid><pubDate>Mon, 25 Jun 2012 23:44:00 +0200</pubDate></item><item><title>A new look for Mojolicious</title><description>&lt;p&gt;You may remember &lt;a href="http://blog.kraih.com/post/43196937506/a-missing-raptor-and-the-mojolicious-user-experience"&gt;last year&lt;/a&gt; when we introduced all-new not found and server error pages for &lt;a href="http://mojolicio.us/"&gt;Mojolicious&lt;/a&gt;. Well, it&amp;rsquo;s that time of the year again, and we&amp;rsquo;ve recently been modernizing some of them. While both raptor pages still pass with flying colors, the more artsy development mode not found page only got mixed reviews. So it has been redesigned from scratch, and turned into more of a development tool, listing all the routes of your application.&lt;/p&gt;
&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="263" data-orig-width="500"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/e22fe50003c2961a11d4031c52cab692/b8374533fcc3ef96-d7/s540x810/fd739ca8b3d5cd9e72a0913647ec118fa21fa02d.png" data-orig-height="263" data-orig-width="500"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;The server error page only needed a few small refinements for both to have a similar look and feel, hope you like it.&lt;/p&gt;
&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="265" data-orig-width="500"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/5dec0d626f84c156afd967bbfb9a520c/b8374533fcc3ef96-58/s540x810/e8aa4b8f94bc9a317bbb66a6c0e81b6efa22934a.png" data-orig-height="265" data-orig-width="500"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/43199195822</link><guid>https://blog.kraih.com/post/43199195822</guid><pubDate>Thu, 21 Jun 2012 12:34:00 +0200</pubDate></item><item><title>Mojolicious in the cloud: Hello Heroku!</title><description>&lt;p&gt;A lot has changed in the world of cloud hosting since the last time i took a closer look at one of the providers. Almost all of them support Perl these days, directly or indirectly. One of the most prominent ones is &lt;a href="http://www.heroku.com/"&gt;Heroku&lt;/a&gt;, and today we are going to use their official tools and a &lt;a href="https://github.com/judofyr/perloku"&gt;custom buildpack&lt;/a&gt; to deploy a &lt;a href="http://mojolicio.us/perldoc/Mojolicious/Lite"&gt;Mojolicious::Lite&lt;/a&gt; application into the cloud.&lt;/p&gt;
&lt;p&gt;First of all you need to &lt;a href="https://api.heroku.com/signup"&gt;sign up&lt;/a&gt; for a free account and install the &lt;a href="https://toolbelt.herokuapp.com/"&gt;Heroku Toolbelt&lt;/a&gt;, the &lt;em&gt;heroku&lt;/em&gt; command line client will be available afterwards and take care of the rest.&lt;/p&gt;
&lt;div class="gist"&gt;&lt;a href="https://gist.github.com/kraih/2899489"&gt;https://gist.github.com/kraih/2899489&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;Only three files are required to make an application deployable to Heroku, the application script itself, a &amp;ldquo;Makefile.PL&amp;rdquo; containing a list of CPAN dependencies, and an executable &amp;ldquo;Perloku&amp;rdquo; script telling Heroku how to start the &lt;a href="http://mojolicio.us/"&gt;Mojolicious&lt;/a&gt; web server.&lt;/p&gt;
&lt;div class="gist"&gt;&lt;a href="https://gist.github.com/kraih/2899522"&gt;https://gist.github.com/kraih/2899522&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;For our little experiment we will only be using a very minimalistic application.&lt;/p&gt;
&lt;div class="gist"&gt;&lt;a href="https://gist.github.com/kraih/2899530"&gt;https://gist.github.com/kraih/2899530&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;And the only dependency is Mojolicious, but any CPAN module you specify can be installed automatically.&lt;/p&gt;
&lt;div class="gist"&gt;&lt;a href="https://gist.github.com/kraih/2899541"&gt;https://gist.github.com/kraih/2899541&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;My favorite Heroku feature is that we are allowed to run our own web server, which enables many of those nifty &lt;a href="http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#REAL2DTIME_WEB"&gt;real-time web features&lt;/a&gt; to just work. The port to be used for listening will simply be passed along via environment variable.&lt;/p&gt;
&lt;div class="gist"&gt;&lt;a href="https://gist.github.com/kraih/2899544"&gt;https://gist.github.com/kraih/2899544&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;And those were all the preparations required, now we can just deploy our application with&lt;em&gt;git&lt;/em&gt;.&lt;/p&gt;
&lt;div class="gist"&gt;&lt;a href="https://gist.github.com/kraih/2899556"&gt;https://gist.github.com/kraih/2899556&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;I&amp;rsquo;ve also heard rumors that Glen &amp;ldquo;tempire&amp;rdquo; Hinkle might be working on new Mojolicious commands to make the whole process even easier, but you&amp;rsquo;ll have to visit (or watch the live stream of) his &lt;a href="http://mojocasts.com/yapc"&gt;talk at YAPC::NA 2012&lt;/a&gt; to learn more about that. ;)&lt;/p&gt;
&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="282" data-orig-width="500"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/7245b61af7c97a1a50492c97be02aced/77b51ec8a0526acb-02/s540x810/c3d0dc658b505ce28f46f9c280f0cb1b8480c012.png" data-orig-height="282" data-orig-width="500"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/43199102900</link><guid>https://blog.kraih.com/post/43199102900</guid><pubDate>Fri, 08 Jun 2012 20:46:00 +0200</pubDate></item><item><title>Video</title><description>&lt;iframe src="https://player.vimeo.com/video/40579180?title=0&amp;byline=0&amp;portrait=0&amp;app_id=122963" width="400" height="225" frameborder="0" allow="autoplay; fullscreen" allowfullscreen title="Fantastic"&gt;&lt;/iframe&gt;&lt;br/&gt;&lt;br/&gt;</description><link>https://blog.kraih.com/post/43198716008</link><guid>https://blog.kraih.com/post/43198716008</guid><pubDate>Wed, 18 Apr 2012 05:51:00 +0200</pubDate></item><item><title>Mojolicious hack of the day: Mojolyst</title><description>&lt;p&gt;Today i&amp;rsquo;ve got a real hack for you. We are going to hijack the &lt;a href="http://mojolicio.us/"&gt;Mojolicious&lt;/a&gt; router and turn it into a more &lt;a href="http://catalystframework.org/"&gt;Catalyst&lt;/a&gt;-ish decentralized one, just by using a plugin. Controllers are discovered on application startup and their routes composed automatically, even templates in the DATA sections of each controller are supported. :)&lt;/p&gt;
&lt;div class="gist"&gt;&lt;a href="https://gist.github.com/kraih/2149176"&gt;https://gist.github.com/kraih/2149176&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;Have fun! &lt;/p&gt;</description><link>https://blog.kraih.com/post/43198653667</link><guid>https://blog.kraih.com/post/43198653667</guid><pubDate>Wed, 21 Mar 2012 10:57:00 +0100</pubDate></item><item><title>Mojolicious hack of the day: More AnyEvent, oh my</title><description>&lt;p&gt;Ever since we &lt;a href="http://blog.kraih.com/post/43197898000/mojolicious-hack-of-the-day-anyevent"&gt;added AnyEvent support&lt;/a&gt; to &lt;a href="http://mojolicio.us/"&gt;Mojolicious&lt;/a&gt; through &lt;a href="https://metacpan.org/module/EV"&gt;EV&lt;/a&gt;, it has been a very popular feature. But so far it required Mojolicious to be in control of the event loop, which limited its usefulness quite a bit. That has changed now, both our web server and user agent have become pretty much indistiguishable from normal &lt;a href="https://metacpan.org/module/AnyEvent"&gt;AnyEvent&lt;/a&gt; components. Today i&amp;rsquo;m going to demonstrate how you can non-blockingly search Twitter for Perl with the &lt;a href="http://mojolicio.us/perldoc/Mojo/UserAgent"&gt;user agent&lt;/a&gt;, from a &lt;a href="https://metacpan.org/module/PSGI"&gt;PSGI&lt;/a&gt; application running inside the AnyEvent based &lt;a href="https://metacpan.org/module/Twiggy"&gt;Twiggy&lt;/a&gt; web server. In fact, it should work with any non-blocking capable web framework, such as &lt;a href="http://catalystframework.org/"&gt;Catalyst&lt;/a&gt;.&lt;/p&gt;
&lt;div class="gist"&gt;&lt;a href="https://gist.github.com/kraih/1868865"&gt;https://gist.github.com/kraih/1868865&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/43198561287</link><guid>https://blog.kraih.com/post/43198561287</guid><pubDate>Mon, 20 Feb 2012 03:30:00 +0100</pubDate></item><item><title>Mojolicious and DBIx::Class</title><description>&lt;p&gt;If you&amp;rsquo;ve ever been wondering how a well designed DBIx::Class model for Mojolicious and Mojolicious::Lite applications would look like, Glen Hinkle got you covered with &lt;a href="http://blogs.perl.org/users/tempire/2012/02/mojolicious-full-and-lite-apps---understanding-the-difference.html"&gt;his latest release&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote class="posterous_medium_quote"&gt;
&lt;p&gt;The example application demonstrates DBIx::Class integration, how to test your web app with Test::Mojo, as well as how to use EP templates with and without tag helpers. For those unfamiliar with testing in general, there are even examples of DBIC schema tests.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/43198446819</link><guid>https://blog.kraih.com/post/43198446819</guid><pubDate>Wed, 08 Feb 2012 00:22:00 +0100</pubDate></item><item><title>A logo for MetaCPAN</title><description>&lt;p&gt;In case you&amp;rsquo;ve missed it, there is currently a &lt;a href="http://contest.metacpan.org/"&gt;logo contest for MetaCPAN&lt;/a&gt; in progress. I&amp;rsquo;m generally not a big fan of contests, but since it&amp;rsquo;s for the Perl community, i&amp;rsquo;m participating as well. Here&amp;rsquo;s what i came up with. (the official entry should later show up &lt;a href="http://entries.contest.metacpan.org/2012/01/sebastian-riedel-retro.html"&gt;here&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="260" data-orig-width="500"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/2b352b0222413ff8fa29aa2c5a1865b3/6a978622b30c2a54-20/s540x810/d81624f6ee873869e07f31a022341a6a3b6cab7e.png" data-orig-height="260" data-orig-width="500"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;No fonts were harmed in the making of this logo, every character is custom made. I tried to combine a retro and futuristic feel, to highlight the long history of Perl and the fact that the CPAN is still science fiction for many programming languages. The three flying pixels are a metaphor for modules, small building blocks that can be combined to form something new. Hope you like it.&lt;/p&gt;
&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="260" data-orig-width="500"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/c1339a5e57b8c19a7ffccfbc6884ea2f/6a978622b30c2a54-59/s540x810/8d8fea4a56845d17d326b08a42f8a3c98437674f.png" data-orig-height="260" data-orig-width="500"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/43198406760</link><guid>https://blog.kraih.com/post/43198406760</guid><pubDate>Tue, 03 Jan 2012 09:01:00 +0100</pubDate></item><item><title>A Mojolicious 2011</title><description>&lt;p&gt;Happy new year everyone, it&amp;rsquo;s amazing how much &lt;a href="http://mojolicio.us/"&gt;Mojolicious&lt;/a&gt; has progressed and grown in 2011, Marcus Ramberg has prepared &lt;a href="http://marcus.nordaaker.com/2011/12/a-mojolicious-2011/"&gt;a little retrospection for us&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote class="posterous_medium_quote"&gt;
&lt;p&gt;A new year is upon us, and I figured this would be good time to take a look at the improvements in the Mojolicious framework in the last year. There has been a dazzling number of releases, 122 in fact, including the current release, 2.42.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/43198339120</link><guid>https://blog.kraih.com/post/43198339120</guid><pubDate>Sat, 31 Dec 2011 15:30:00 +0100</pubDate></item><item><title>Mojocast #5 Mojo::UserAgent</title><description>&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="375" data-orig-width="500"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/ca9b1a50e34337f30dbe7c2ce3bd3394/df6e177edb376c16-70/s540x810/aae012934e1d20b2e0513eb7a41ab3b9d7c32900.png" data-orig-height="375" data-orig-width="500"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;Merry christmas everyone, today Glen &amp;ldquo;tempire&amp;rdquo; Hinkle has a special treat for us. In this Mojocast he demonstrates why interacting with the web from Perl has never been this much fun before, &lt;a href="http://mojocasts.com/e5"&gt;you should take a look&lt;/a&gt;!&lt;/p&gt;
&lt;blockquote class="posterous_medium_quote"&gt;
&lt;p&gt;Mojocast Monday brings you a high-level overview of Mojo::UserAgent, the client side of Mojolicious. DOM Walking, CSS selectors, and watching live requests are just a couple of the things you&amp;rsquo;ll see.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/43198299201</link><guid>https://blog.kraih.com/post/43198299201</guid><pubDate>Mon, 26 Dec 2011 02:42:00 +0100</pubDate></item><item><title>Mojocast #4 Stash, Flash, and Sessions</title><description>&lt;p&gt;Happy &lt;a href="http://mojocasts.com/"&gt;Mojocast&lt;/a&gt; monday everyone. This time Glen &amp;ldquo;tempire&amp;rdquo; Hinkle will explain to you the very important task of sharing data between the various parts of a &lt;a href="http://mojolicio.us/"&gt;Mojolicious&lt;/a&gt; application. So, what are you waiting for? Get &lt;a href="http://mojocasts.com/e4"&gt;over there&lt;/a&gt; and learn web development with Perl in no time!&lt;/p&gt;
&lt;p&gt;&lt;figure class="tmblr-full" data-orig-height="300" data-orig-width="500"&gt;&lt;img alt="image" src="https://66.media.tumblr.com/ea502b4b988fb8c61b200665a1ff96b7/4c4623e9b32ac6dd-1d/s540x810/b95062982418f7c4bfcdfe78945d68052e9f9f2b.png" data-orig-height="300" data-orig-width="500"/&gt;&lt;/figure&gt;&lt;/p&gt;

&lt;p&gt;Have fun!&lt;/p&gt;</description><link>https://blog.kraih.com/post/43198246612</link><guid>https://blog.kraih.com/post/43198246612</guid><pubDate>Mon, 14 Nov 2011 06:56:00 +0100</pubDate></item><item><title>Mojolicious hack of the day: WebSockets</title><description>&lt;p&gt;By now you&amp;rsquo;ve probably heard about &lt;a href="http://en.wikipedia.org/wiki/WebSocket"&gt;WebSockets&lt;/a&gt;, and that they are the future of web development, but so far there are very little examples that really show how easy to use they actually are. So today we are going to explore the wonderful world of events in &lt;a href="http://mojolicio.us/"&gt;Mojolicious&lt;/a&gt; a bit and build a little application that forwards all framework log messages to a browser window. (works best in &lt;a href="http://www.google.com/chrome"&gt;Chrome&lt;/a&gt;)&lt;/p&gt;
&lt;div class="gist"&gt;&lt;a href="https://gist.github.com/kraih/1330053"&gt;https://gist.github.com/kraih/1330053&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;Have fun! &lt;/p&gt;</description><link>https://blog.kraih.com/post/43198206873</link><guid>https://blog.kraih.com/post/43198206873</guid><pubDate>Mon, 31 Oct 2011 23:36:00 +0100</pubDate></item></channel></rss>
