=pod =head1 NAME Dancer::Tutorial - An example to get you dancing =head1 What is Dancer? Dancer is a "micro" web framework which is modeled after a Ruby framework called L that constructs web applications by building a list of HTTP verbs, URLs (called routes) and methods to handle that type of traffic to that specific URL. use Dancer; get '/' => sub { return 'Hello World!'; }; start; This example shows a single HTTP verb "GET" followed by the root URL "/" and an anonymous subroutine which returns the string C<"Hello World!"> If you were to run this example, it would display "Hello World!" when you point your browser at L. =head1 How about a little more involved example? That's the reason I wrote this tutorial. While I was investigating some Python web frameworks like L or L I enjoyed the way they explained step by step how to build an example application which was a little more involved that a trivial example. Using the L sample application as my inspiration (OK, shamelessly plagiarised) I translated that application to the Dancer framework so I could better understand how Dancer worked. (I'm learning it too!) So "Dancr" was born. Dancr is a simple "micro" blog which uses the L database engine for simplicity's sake. =head1 Required perl modules Obviously you need L. You also need the L