diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2013-11-26 10:36:10 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2013-11-26 10:36:10 -0800 |
| commit | 8ddf2e94df70707b458528a437759b96046d3e01 (patch) | |
| tree | d442818d92d3c9c6f7fcdc92857a1228963849a1 /_posts/2010-01-31-dancer-1.130.md | |
| parent | Don't need to use the IP in the makefile. (diff) | |
| download | lumberjaph-8ddf2e94df70707b458528a437759b96046d3e01.tar.gz | |
Huge update.
Moved all posts from textile to markdown. Updated all the CSS and
styles. Added a new page for the resume.
Diffstat (limited to '')
| -rw-r--r-- | _posts/2010-01-31-dancer-1.130.md (renamed from _posts/2010-01-31-dancer-1.130.textile) | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/_posts/2010-01-31-dancer-1.130.textile b/_posts/2010-01-31-dancer-1.130.md index 241deca..3990926 100644 --- a/_posts/2010-01-31-dancer-1.130.textile +++ b/_posts/2010-01-31-dancer-1.130.md @@ -1,12 +1,12 @@ --- layout: post -category: perl +summary: In which I announce Dancer 1.130 title: Dancer 1.130 --- -"Alexis":http://www.sukria.net/ ("sukria":http://search.cpan.org/~sukria/) released "Dancer":http://search.cpan.org/perldoc?Dancer 1.130 this weekend. Dancer is a small and nice web framework based on ruby's "sinatra":http://www.sinatrarb.com/. +[Alexis](http://www.sukria.net/) ([sukria](http://search.cpan.org/~sukria/)) released [Dancer](http://search.cpan.org/perldoc?Dancer) 1.130 this weekend. Dancer is a small and nice web framework based on ruby's [sinatra](http://www.sinatrarb.com/). -Dancer have few dependancies (and it doesn't depends anymore on CGI.pm). The path dispatching is done using rules declared with HTTP methods (get/post/put/delete), and they are mapped to a sub-routine which is returned as the response to the request. Sessions are supported, and two template engines (one of them is Template Toolkit) comes with the Core. Dancer::Template::MicroTemplate is also available on CPAN if you need a light template engine. +Dancer have few dependancies (and it doesn't depends anymore on CGI.pm). The path dispatching is done using rules declared with HTTP methods (get/post/put/delete), and they are mapped to a sub-routine which is returned as the response to the request. Sessions are supported, and two template engines (one of them is Template Toolkit) comes with the Core. Dancer::Template::MicroTemplate is also available on CPAN if you need a light template engine. You can easily test it with a simple script @@ -27,23 +27,17 @@ dance; and execute this script, point your browser to http://127.0.0.1:3000, and voila. -Dancer provides also a small helper to write a new application: +Dancer provides also a small helper to write a new application: `dancer -a MyApplication` -bc. dancer -a MyApplication +If you create an application with this script, an **app.psgi** file will be created. You can now execute `plackup --port 8080` -If you create an application with this script, an **app.psgi** file will be created. You can now execute +(which comes with [Plack](http://search.cpan.org/perldoc?Plack) the [Perl Web Server](http://plackperl.org/)) and test if everything works fine: `curl http://localhost:8080`. -bc. plackup --port 8080 - -(which comes with "Plack":http://search.cpan.org/perldoc?Plack the "Perl Web Server":http://plackperl.org/) and test if everything works fine: - -bc. curl http://localhost:8080 - -This release remove some components from the core and they are now available as differents CPAN distributions. Two new keyword have also been added, *header* and *prefix*. +This release remove some components from the core and they are now available as differents CPAN distributions. Two new keyword have also been added, **header** and **prefix**. If you want to read more about Dancer: - * "Dancer's documentation":http://search.cpan.org/perldoc?Dancer - * "review by xsawyerx":http://blogs.perl.org/users/sawyer_x/2010/01/i-gotz-me-a-dancer.html - * "gugod's review":http://gugod.org/2009/12/dancer.html - * "sukria's blog":http://www.sukria.net/fr/archives/tag/dancer/ + * [Dancer's documentation](http://search.cpan.org/perldoc?Dancer) + * [review by xsawyerx](http://blogs.perl.org/users/sawyer_x/2010/01/i-gotz-me-a-dancer.html) + * [gugod's review](http://gugod.org/2009/12/dancer.html) + * [sukria's blog](http://www.sukria.net/fr/archives/tag/dancer/) |
