web development war stories from the frontlines to the backend

A common problem when developing a web application is having producing a high-quality PDF out of an existing layout/view/template. Perhaps for a reporting engine, an invoice, a receipt, or any number of other situations. Often this involves using somewhat cryptic output primitives and creating the PDF by hand. Wouldn’t it be nice if there were [...]

First of all, big shout out to antialize for creating wkhtmltopdf (github repo). Also, this project is being hosted on GitHub @ http://github.com/mreiferson/py-wkhtmltox. wkhtmltox What is wkhtmltox you ask? It’s a utility built on Nokia’s Qt framework for converting HTML (including images, CSS, and Javascript) to a PDF or image. When Qt introduced it’s webkit [...]

We ran into a problem today where capistrano wasn’t correctly cleaning up old releases on a 15-minute multi-host deploy. It seems like the default deploy:cleanup task wasn’t written with multiple hosts in mind. Essentially what it does is list the contents of your releases_path for the first host in the list of hosts and assumes [...]

  

Recent Posts

Categories

Archives

 

Recent Comments