Skip to content

andrewsolomon/training.dancer.lpw.2011

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learning website development using Dancer

A hands-on training session at LPW 2011 to develop a website with dynamic content.

From doing the exercises you will:

  • learn to use the Dancer framework
  • learn to use Template Toolkit
  • understand the concept of Model-View-Controller
  • experience structuring code for maintainability
  • experience using object oriented Perl modules

What's Dancer?

Dancer is a micro 'web framework' - a toolkit for developing a dynamic web application. It is inspired by the Ruby framework, Sinatra.

Prerequisites

Basic knowledge of:

  • Perl (no need for OO Perl)
  • Bash/Linux command line interface
  • HTML/HTTP
  • A text editor like vi/emacs/pico

Preparation

  • Bring a laptop with an ssh client (e.g. PuTTY or MINGW/MSYS if it's Windows)

Getting Started

  • Login to lpw.illywhacker.net as per the printout received on arrival
  • Checkout the learning materials
git clone git://github.com/andrewsolomon/training.dancer.lpw.2011.git

Instructions

Do your exercises in the directories

training.dancer.lpw.2011/exercises/part1/ex1 
training.dancer.lpw.2011/exercises/part1/ex2
...

and if you get stuck, you'll find solutions in

training.dancer.lpw.2011/solutions/part1/ex1 
training.dancer.lpw.2011/solutions/part1/ex2
...

Paths to take

The lesson is divided into two sections:

This provides you with the basic toolkit of skills for implementing a web site.

This is where the interface to the search engine is implemented. If you just want to cut to the chase, you can skip some of the exercises as follows:

Quick (and Dirty) Dancing

  • Part 1: Ex 1 - 4, 6, 8
  • Part 2: Ex 1 - 4

Further Reading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published