Understand Plack and PSGI

[Some notes on a talk given by Peter Sergeant]

Back in ancient history, when people started creating dynamic web pages, the CGI specification was born. It defined the interface between the web server and the program that was generating the page. The program read input from STDIN and the environment, and wrote output to STDOUT.

CGI turned out to be a rather slow way to generate dynamic pages. So, people developed faster methods such as mod_perl and fastcgi. Each of these had different interfaces. This made it hard, for example, to take a CGI application and run it under mod_perl,

Continue reading


The Ten-Minute Thinking Rule

What’s the problem?

This idea was shared with me during a retrospective session at $employer when I was expressing some frustration at people starting to:

Ask first, think never

I’m at least as busy as the next person, and I have my own mountain of work to complete. Despite being regularly cantankerous, grumpy, cranky and disagreeable, people still come to me with a variety of questions … I think I have a good combination of detective skills, google-fu and luck that makes me appear more magical than I really am.

Continue reading