<?xml version='1.0' encoding='UTF-8'?>
<rss xmlns:atom='http://www.w3.org/2005/Atom'
xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'
xmlns:georss='http://www.georss.org/georss'
xmlns:thr='http://purl.org/syndication/thread/1.0'
version='2.0'>
<channel>
<atom:id>tag:blogger.com,1999:blog-5910101498857524639</atom:id>
<lastBuildDate>Sun, 24 Apr 2011 08:19:48 +0000</lastBuildDate>
<title>Perl for president</title>
<description>our $blog = new Nice::Perl;</description>
<link>http://niceperl.blogspot.com/</link>
<managingEditor>noreply@blogger.com (prz)</managingEditor>
<generator>Blogger</generator>
<openSearch:totalResults>25</openSearch:totalResults>
<openSearch:startIndex>1</openSearch:startIndex>
<openSearch:itemsPerPage>25</openSearch:itemsPerPage>
<item>
<guid isPermaLink='false'>tag:blogger.com,1999:blog-5910101498857524639.post-5795437297335601353</guid>
<pubDate>Sun, 24 Apr 2011 08:08:00 +0000</pubDate>
<atom:updated>2011-04-24T10:19:48.222+02:00</atom:updated>
<category domain='http://www.blogger.com/atom/ns#'>perl dancer cpan</category>
<title>CPAN Module review - Web apps</title>
<description type="text/html">When I'm developing web applications, I use those frameworks that make my work easier. The size of the webs is not big and I have been working with <a href="http://search.cpan.org/perldoc?CGI::Application">CGI::Application</a> for years. In a recent search, I have found <a href="http://search.cpan.org/perldoc?Dancer">Dancer</a>. This framework handles the routes concept (an idea from <a href="http://www.sinatrarb.com/">Ruby's Sinatra</a>); routes are paths which are binded to code. For example:<br /><br /><table bgcolor="#f0f0f0" border="1" cellpadding="7" cellspacing="0"><tbody><tr><td><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"><b>get</b> '/home' =&gt; <b>sub</b> { 'Hi, this is home!' };</span></td></tr></tbody></table><br />There are a lot of plugins available (database, logging, session handling, REST, AJAX, validation, templates, WebSocket, ...) at CPAN. You can write your own plugin by subclassing <a href="http://search.cpan.org/perldoc?Dancer::Plugin">Dancer::Plugin</a>.<br /><br />The framework comes with a script that builds the skeleton of your application, with a nice structure in folders: views, libs, ... it takes seconds to start a new application.<br /><br />I &nbsp;definitely recommend <a href="http://search.cpan.org/perldoc?Dancer">Dancer</a> to you. Just install and try!<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5910101498857524639-5795437297335601353?l=niceperl.blogspot.com' alt='' /></div></description>
<link>http://niceperl.blogspot.com/2011/04/cpan-module-review-web-apps.html</link>
<author>noreply@blogger.com (prz)</author>
<thr:total>0</thr:total>
</item>
</channel>
</rss>