Profile cover photo
Profile photo
Peter Ledbrook
732 followers
732 followers
About
Peter's posts

Post has attachment
Deal of the Day December 26: Half off Grails in Action, Second Edition with code dotd1226au at www.manning.com/gsmith2/

So, to create a Google Hangout, I need to invite people. If you want to join in, add a comment to this post!

Post has attachment
I'll be trying out a Google Hangout on Saturday (5th Oct) at 3pm GMT (4pm current UK time) in which I'll be working on the Lazybones project. Anyone is welcome to join and help or just learn about the project! I'll also be on the #lazybones  channel on Freenode.

Post has attachment
Great post on deferring DB connections in #Grails  - particularly useful if you have multiple data sources some of which may not be available at startup.

Post has attachment

Post has attachment
I ventured into the world of Node.js just long enough to develop a basic "realtime" log viewer. This listens for log messages from RabbitMQ, stores them in MongoDB, and pushes them to the browser via SockJS.

Post has attachment
The current version of the grails-website application (that is behind grails.org) running on +Cloud Foundry uses an internal event bus based on Spring Integration and RabbitMQ (to distribute events across application nodes).

Source code for app: https://github.com/grails-samples/grails-website/tree/cloudfoundry
Source code for events-si plugin: https://github.com/smaldini/grails-events-si

Post has attachment
Latest (1.2.2) #cloudfoundry plugin for #grails requires you to add custom repository URL to BuildConfig.groovy. See plugin page for the repository definition to add.

Post has shared content

Post has attachment
I was thinking about how to override runtime configuration in a +Grails deployment on +Cloud Foundry. This is what I came up with: some code to load the config from a JSON string in an environment variable.
Wait while more posts are being loaded