Dave Cross — 480 minutes 🐪
In this workshop we will build a simple web application using Dancer2 and several other modern web tools.
Over the course of twelve steps, we’ll build a simple Todo list program. We’ll be using a number of modern web development techniques (not just Perl) in order to make the app look really shiny and modern.
The twelve steps we will be taking are as follows:
* Set up a basic Dancer2 app
* Make it look nicer with the addition of the Bootstrap CSS framework
* Use Plack Middleware to serve static content more efficiently
* Display some data in our app
* Get the data from a database
* Return the data as JSON and display it using Mustache
* Use jQuery to show/hide completed items
* Mark items as completed
* Add new tasks to the app
* Add user login
* Edit and delete tasks
* Add tags to tasks and filter the display on those tags
If there’s time left at the end, we’ll discuss other useful enhancements that we might want to make to the app – and perhaps even try adding them.
We’ll be using the following Perl tools:
And the following non-Perl tools:
This is an updated version of a course I ran at YAPC in Cluj in 2016.
This is a hands-on workshop. Participants will need to bring a laptop. I'll email participants before the course to tell them what software they need to have installed.
About the teacher.
Dave Cross has been programming in Perl since 1996 and running training courses on the language since 2001. He often runs workshops alongside Perl conferences Dave is the author of "Data Munging with Perl" and "Perl Taster" and a co-author of "Perl Template Toolkit". In 1998, he started the London Perl Mongers, the first Perl user group outside of North America. In 2004, Dave won a White Camel Award for his non-technical work for the Perl community.