Search for '{{search_term}}'
Dancer, the light-weight Perl web framework
The beginning of a series of articles about Perl Dancer, the light-weight web framework of Perl.
- Modern Web with Perl, a quick overview (screencast)
- Getting Started with Perl Dancer - Creating an Echo application (screencast)
- Building a blog engine using Perl Dancer (screencast)
- Getting started with Perl Dancer on Digital Ocean
Dancer 2
- Migrating (the Perl Maven site) from Dancer 1 to Dancer2
- Hello World with Dancer2 (both single file and skeleton based version)
- Password protecting web pages in Dancer 2
- Counter with Dancer session
- Uploading files using Dancer
Dancer 2 and Ajax
- Ajax and Dancer - Simple GET request to the same server returning JSON with "hello world" and displaying it.
- Stand-alone Ajax client and the Access-Control-Allow-Origin issue - Simple cross-site GET request. Set Access-Control-Allow-Origin in the server.
- Reverse Echo with Ajax and Dancer 2 - An HTML form with single input field, sending the value in a GET request to the server displaying the result: the input reversed.
- Refactoring Dancer 2 app, using before hook
- Silencing the noisy Dancer tests
- Add and retrieve items - MongoDB, Dancer and Testing! - The backend part setting up MongoDB, an implementing the back-end part of inserting an item and retrieving a list of items
- Add and retrieve elements - jQuery + Ajax - jQuery retrieve list and show list (building HTML using string concatenation). New HTML form, jQuery POST the text of the item
- Deleting item using Ajax request with DELETE and OPTIONS - Change the list displayed and include a delete button with each item. When clicked send a DELETE request. Add Access-Control-Allow-Methods header and let the server respond to OPTIONS request to fix the issues.
- Replace manual HTML generation by the use of Handlebars
- Add a date stamp to the items in the database and to the HTML - Add a date stamp to the items in the database. Show the list including the date.
- Convert list to table and add jQuery tablesorting with Date column - Let the user sort the data in the browser based on text or based on date.
- Keep data in client and fetch only changes - Stop fetching the full list on every action, so when the user adds a new element to the list, let the server only indicate that it stored the new value, but insert the value in the list kept in the client. Same for delete.
Single Page Application with Perl Dancer and AngularJS
See Also
- PSGI - Dancer is a PSGI based web framework. Learning about the lower layer might be useful.
Dancer Book
This book contains all the articles related to Dancer, including those that are only available to the Perl Maven Pro subscribers.

