1 <?xml version='1.0' encoding='UTF-8'?>
2 <rss xmlns:atom='http://www.w3.org/2005/Atom'
3 xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'
4 xmlns:georss='http://www.georss.org/georss'
5 xmlns:thr='http://purl.org/syndication/thread/1.0'
8 <atom:id>tag:blogger.com,1999:blog-5910101498857524639</atom:id>
9 <lastBuildDate>Sun, 24 Apr 2011 08:19:48 +0000</lastBuildDate>
10 <title>Perl for president</title>
11 <description>our $blog = new Nice::Perl;</description>
12 <link>http://niceperl.blogspot.com/</link>
13 <managingEditor>noreply@blogger.com (prz)</managingEditor>
14 <generator>Blogger</generator>
15 <openSearch:totalResults>25</openSearch:totalResults>
16 <openSearch:startIndex>1</openSearch:startIndex>
17 <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
19 <guid isPermaLink='false'>tag:blogger.com,1999:blog-5910101498857524639.post-5795437297335601353</guid>
20 <pubDate>Sun, 24 Apr 2011 08:08:00 +0000</pubDate>
21 <atom:updated>2011-04-24T10:19:48.222+02:00</atom:updated>
22 <category domain='http://www.blogger.com/atom/ns#'>perl dancer cpan</category>
23 <title>CPAN Module review - Web apps</title>
24 <description>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>
25 <link>http://niceperl.blogspot.com/2011/04/cpan-module-review-web-apps.html</link>
26 <author>noreply@blogger.com (prz)</author>
27 <thr:total>0</thr:total>