Dancer-Plugin-Device-Layout
view release on metacpan or search on metacpan
Example.pod view on Meta::CPAN
Dancer::Plugin::Device::Layout::Example - Sample real life web application.
=head1 DESCRIPTION
This example should help you understand how L<Dancer::Plugin::Device::Layout>
works and how you can integrate the plugin in your existing L<Dancer> web
application.
=head1 THE BIG PICTURE
You have created a realy cool web application which looks great on desktop
computers (big screens) but is nearly unreadable on mobile devices such as
smartphones or tablets because of its small display size? This is where
L<Dancer::Plugin::Device::Layout> can help you with.
L<Dancer::Plugin::Device::Layout> provides a subroutine that detects the
remote device on the base of the user agent of every web request. This
subroutine returns in a array/hash context the L<Dancer/template|template>
option key value pair for the layout.
With L<Dancer::Plugin::Device::Layout> default settings
( run in 0.276 second using v1.01-cache-2.11-cpan-299005ec8e3 )