Skip to content

sherwind/dancer2-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dancer2 Simple Example

This is an example of a simple Dancer2 application, inspired by railstutorial, that makes use of the following technology:

  • SQLite - file-based relational database engine
  • Carton - Perl module dependency manager
  • DBIx::Class - database object relational mapper (ORM)
  • DBIx::Class::PassphraseColumn - automatically hash password column
  • Template::Toolkit - template processing system
  • HTML::FormHandler - HTML form handling
  • Dancer2::Plugin::Deferred - flash message for Dancer2
  • Dancer2::Session::Simple - in-memory session backend for Dancer2 (for testing only)
  • Bootstrap - front-end framework

Running the application locally

To run it locally, just cd into the dancer2-example directory and run the following commands:

carton install
carton exec plackup bin/app.psgi

TODO

  • Add Ajax-aware Cross Site Request Forgery (CSRF) protection
  • Try Template::Alloy or Text::Xslate
  • Dockerize the application

About

A Dancer2 simple example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published