2015-09-03 @ YAPC::Europe 2015
Yusuke Wada a.k.a. yusukebe
search.cpan.org/~yusukebetwitter.com/yusukebegithub.com/yusukebeI’ll talk about the fun of “Local server based Web Application” and how to make it!


This application is…
App::revealupas a CPAN distribution!
App::revealupApp::revealup$ cpanm App::revealup
revealup command is available to use
## First title
This is text... **bold** *Italic*
* List object
* List object
The slide sparator charactors are `---`
To separate pages, write 3 hyphens
$ revealup serve example.md
$ open http://localhost:3000
Then your favorite web browser will open

revelup serve - Options-p or -port--theme--transition--width--height$ revealup serve example.md --theme moon.css --transition zoom
:-)
App::revealup uses reveal.js
reveal.js is a JavaScript library for a presentation.
App::revealupreveal.jsimplementing these:
reveal.js as Local server based Web Application is…App::revealup is one of the best CPAN modules on 2014
App::revealup enables markdown driven presentations with Reveal.js, by implementing a mini HTTP server. I wrote about it (twice) and use it all the time, highly recommended.
like App::revealup
Pod::ServerGitalistRemediePAD$ pod_server

$ pad Static --port 3000

Local server based web applications are
use CPAN modules;Introduce cool modules to make local server based Web Applications quickly or easily
PlackToolkit for making Web application frameworks
plackup and Plack Application$ plackup -MPlack::App::Directory \
-e'Plack::App::Directory->new->to_app'
use Plack::Requestmy $app = {
my $env = shift; # PSGI env
my $req = Plack::Request->new($env);
...; # Make your response
return $res;
};
Using Plack is good for small web applications
Text::MicroTemplateMicro template engine
Mojo::TemplateMojolicious <h2><?= $second_title ?></h2>
Getopt::LongProcessor of commad line options
@ARGV to (key-value)sPath::TinyFile path utilitis
File::ShareDirResolve location of distribution shared files
Path::TinyApp::revealup is using…File::ShareDirGetopt::LongMIME::TypesPath::TinyPlackText::MicroTemplateTry::TinyLocal server based Web Application…
App::mookviewWe wrote the book about “making web applications” !

There is not a good viewer for previewing this book
Local server based Web Application is