Plack has the ability to map applications onto URLs. This is facilitated with Plack::App::URLMap. Here I will demonstrate how one can use Plack and URLMap to mount multiple applications. In addition, we examine how to handle static file requests and requests to "/" using Cascade.
It's that time of the year again when college basketball fans go crazy. If you're in the minority of computer programmers that care about basketball or you just want to try out some Catalyst, DBIC and FormHandler software then consider Bracket. It is available both on github and CPAN.
The INSTALL document outlines the process of getting it up and running.
Plack Middleware is easy to use. Let's see how with a couple of examples;
- One example shows how to enable a Debug panel
- Another shows how to enable conditionally (based on PATH_INFO) Digest Authentication.
If you are a web application or framework developer then PSGI and Plack are worth knowing about. Sensei Miyagawa put together a series of high quality articles describing quite a bit about PSGI and Plack. They are worth your time if you have any interest in the topic at all.
In this paper, I present a distillation of week one's five articles for those who want a quick synopsis.
MongoDB has an appeal to me given its apparent flexibility. I certainly haven't gotten to the center yet to tell you if the candy deep down under the wrapper is sweet, but my initial impression is that MongoDB is dang near as fun as shopping.
With that non-sense out of the way let's take a casual tour of MongoDB using the Perl driver MongoDB to express basic CRUD.
This papers discusses the topic of benchmarks in the context of PSGI application frameworks. It is not meant to incite violence over the results as they are to be taken with a heavy dose of medication. The reason being that even the slowest performing framework can serve up requests in approximately two milliseconds. Generally this amount of time contributes very little to the overall equation of web page response time, because other factors like IO and the network latency play a more dominant role.
Recently I have been using jQuery to select and manipulate HTML parts. I wanted to do something similar in Perl so I started playing with HTML::Zoom. In addition, I recently came across an article by tempire that introduced me to Mojo::DOM. This article provides a simple comparison of how the two tools do part of their job.
Recently I wrote about using Chart::Clicker to create plots of the high and low temperature forecast. The code I demonstrated was in the form a script. The code did its job, but was not structured so well nor was it as easy to (re)use as it could be. Let's examine the situation and see if we can't make it better.
Chart::Clicker is a Perl distribution that is capable of producing some decent charts. This article explores the charting of both high and low temperature forecasts using Chart::Clicker. We'll scrape forecast data from the web and then use it to plot a high and low temperature forecast over the next five days.
You may have some scripts related to your Catalyst application and you would like to re-use pieces of the application's configuration information. For example, database connection information is something that could be used in a Catalyst application, but also one could use the connection info within command line scripts so they too can get at the underlying data model. This petit paper examines the use of Config::JFDI and Config::General to get at the Catalyst .conf file.



