Modern Perl Web Development with Dancer2

In this workshop we will build a simple web application using Dancer2 and several other modern web tools.

 

Prerequisites

This course is aimed at everyone. But you'll probably get more out of it if you have a basic understanding of web technologies like HTML, CSS and Javascript. You'll also need to know a bit of Perl.

Description

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.

Topics covered

The twelve steps we will be taking are as follows:

  1. Set up a basic Dancer2 app
  2. Make it look nicer with the addition of the Bootstrap CSS framework
  3. Use Plack Middleware to serve static content more efficiently
  4. Display some data in our app
  5. Get the data from a database
  6. Return the data as JSON and display it using Mustache
  7. Use jQuery to show/hide completed items
  8. Mark items as completed
  9. Add new tasks to the app
  10. Add user login
  11. Edit and delete tasks
  12. 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:

  1. Dancer2
  2. PSGI/Plack
  3. DBIx::Class
  4. Moose
  5. DateTime

And the following non-Perl tools:

  1. Bootstrap
  2. jQuery
  3. Mustache

This is an updated version of a course I ran at YAPC::Europe 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.

Date and time

This workshop is held on 6th August from 10:00 to 18:00.

Location

Radisson Blu Daugava hotel, our venue.

Price

The one-day workshop costs €150.00 per attendee.

 

Terms and conditions

During the day of the workshop, we will serve two coffee breaks. Lunch is not included in the ticket price. The exact time and duration of the breaks is defined by the trainer.

The mininum number of attendees for this workshop is 5. The class will be held only if the minumum number of tickets are sold before 1st June 2019. In the oppisite case, the class is cancelled and your purchase is fully refunded. PerlCon does not reimburse costs of travel or accomodation costs.

You can cancel your ticket before 1st June with no cancellation fee. If cancelled from 1st June to 25th July, 75% of the ticket price is refunded. Later cancellations are non-refundable.