SHARE THIS:
Link: http://www.perldancer.org/

Dancer (software)

Dancer is an open source lightweight web application framework written in Perl and inspired by Ruby's Sinatra.In April 2011, Dancer was rewritten from scratch and released as Dancer2. The reason for the rewrite was to fix architectural issues and eliminate the use of singletons. Development of Dancer1 was at first frozen, but was later continued to maintain backward compatibility for existing apps.Dancer is developed through GitHub, with stable releases available via CPAN. Dancer2 is released as a separate module.Example<source lang="perl"> !/usr/bin/perluse Dancer;get '/hello/:name' => sub { return "Why, hello there ". params->{name}; };get '/redirectMeTo/:trgval' => sub { redirect request->path_info('/'. params->{trgval}); };dance; FeaturesOut-of-boxUnlike other frameworks such as Catalyst, Dancer only requires a handful of CPAN modules and is very self-contained.Standalone Development ServerDancer includes a standalone development server that can be used for developing and testing applications.PSGI / Plack supportDancer supports the PSGI specification, and can thus be run on any compliant PSGI server, including Plack, uWSGI or Mongrel 2.
read more..

Dancer (software)

Website Info

Category: Interest
Found: 16.10.2015

Rate!!

Please write a comment:

User ratings