In the previous article we saw how we can move our HTML to embedded templates.
We even had an exercise to create a template for the / route.
In this article we'll see how to add a common layout to all the pages, how to serve static files and how to move the templates to their own file.
Perl Maven Pro - screencasts with articles
As a Perl Maven Pro subscriber you will enjoy a library of articles and screencasts.
Ad free browsing!
The articles contain topics such as Web Application Development, Object Oriented programming, testing, deployment, code walkthroughs, best practices, and many more subjects in Perl, and in related technologies.
The related technologies over HTML5, CSS3, JavaScript, Git, Subversion, vim, Unix/Linux shell, SQL and NoSQL just to name a few topic that I, as a Perl programmer find useful.
Subscriptions include all previous pro episodes.
In order to subscribe to the Perl Maven Pro, first register and login to the web site, and then pay via PayPal:
or
If you already have Perl Maven Pro subscription, you will need to login to access the articles.