August 2010
3 posts
4 tags
Builder pattern is so easy in Robotlegs
The Builder Pattern is a breeze in Robotlegs public class ConcreteWidgetBuilder implements IWidgetBuilder { [Inject] public var injector:IInjector; public function buildPart(parameterised:IThing):IWidget { var widget:IWidget = injector.getInstance(IWidget); widget.param = parameterised; return widget; } } Parameterized builder If you want to control what gets instanced...
Aug 24th
5 tags
Visfleet's Radiator (v 0.0.1)
I started a project not too long ago to implement an information radiator here at Visfleet. The first milestone has been reached: Show the status of important Hudson builds And here it is: The source is on github I started out with the intention of using Flex 4 skinning to make a super-modern, slick looking radiator like Panic’s. But somewhere along the way I ended up with a two...
Aug 10th
2 tags
Best practice for Ruby's require
Ruby’s require method gives you more than enough rope to hang yourself. Having now implemented too many projects with too many different approaches to using require, we thought it was worth writing down the conclusions we’ve come to. We’ve gleaned most of our knowledge from these two articles, here, and here. So a big thank you to their authors. How to require Do use...
Aug 5th
3 notes