Online Mind Mapping and Brainstorming

Create your own awesome maps

Online Mind Mapping and Brainstorming

Even on the go

with our free apps for iPhone, iPad and Android

Get Started

Already have an account? Log In

Dancer - Perl web-framework by Mind Map: Dancer - Perl web-framework
0.0 stars - reviews range from 0 to 5

Dancer - Perl web-framework

sounds similar to Python metaclasses meets Ruby mix-ins

About

Sawyer X

Sys Admin

Conributer to Dancer

Comparison to other frameworks

Ruby

the fanboys

Python

the sticklers, Email, REST

PHP

the @#@^%#$@^

Perl

the nutcases, not LISP insane, insanity is a lot of fun, omsamoty gives flexibility, see, Devil declare, Moose, metaprogramming, DBIx..Class, ORM

Dancer

inspired by Sinatra

Dancer treats

Read & Write easy

Route-based

PSGI compliant (Perl's WSGI)

Minimum dependencies

Any app is a web-server

CPAN-friendly

Perl's PyPi

Compliant to the standards of CPAN, testing &c

Recipe for Dancinh

Take HTTP method

add route

sub-routine

Untitled

Pathes

can contain variables

get '/hello/:entity/'

get gr{/ (\w+) / \d{2,3} (.+)? }x

Can be RegEx

Templating

conventions

file extension (.tt)

Untitled

nifty stuff

headers

send_file

set_cookie

status

by name

to_json, to_xml

my $file = upload('file_input')

Untitled

Perl philosophy

succint, efficient, & easy to work with

daring

route caching

WebSockets

lots of plug-ins

engines for, sessions, back-ends, logging, templates

serializers

Route filters

before, after, before_template

like middleware

Route caching

caching for the URL resolving

key is the URL used

SawyerX added Route Caching to Dancer in 4 hours

1st thing he contributed

Plugins

SiteMap

Authorize

Ajax

instead of the HTTP method

DBIC

ORM

Database

Bottom line

Beautiful & fun