Posts

Showing posts from 2014

HTLGI 2014

Another life altering weekend getting pretty close to being an intellectual. Without the help of my friends I wouldn't have the courage to get out of my lazy bed and sleep in a field. Thankfully, because of their support I did attend debates and watch performers in the most intimate atmosphere. Thank you to the IAI and everyone who got out of their comfort zone to entertain like-minded types.

Extending the life of my Cocoon

As anyone who has worked with me will know, I value my sanity. So, I like to keep things simple. When it comes to building web-apps I nearly always start with the Apache Java framework Cocoon 2.12 . I use the 2.12 model as I have a build of it that allows me to merge in my development blocks without rebuilding the beast over and over. I can do the heavy lifting of an application with XSLT 2.0, so life is pretty sweet. By using Cocoon as the framework to 'glue' everything together I am able to re-use working pipelines that have served me for the last 10 years. However, with the advent of JSON as the data transfer format of choice and the simplicity of things like Cube for handling time-series data I knew it was time to find a more productive way of writing generators. After some experimentation it dawned on me that Node.js supports the piping of JSON streams. This has allowed me to still write my pipelines in Cocoon but to proxy off to a Node.js service which is r