Archive of Dev Tips
CSS Sprites and the Jigosaurus
As mentioned before, Jigosaurus is a multiplayer jigsaw puzzle that is played through a web browser. When Aleksei, Yasser and I joined as part of the Caplin Graduate Scheme, we were given the task of getting it running and improving it, and today we’ll be looking at the client facing…
Read MorePrebake: a recipe for great builds
In his recent post, Java Build Systems: A Sad State of Affairs, Jess Johnson describes the many problems with both Ant and Maven, and how Maven solves none of Ant’s issues, but instead invents a few new ones of its own. But for me, the real of the gem of…
Read MoreIf you can’t think of a good name, use a bad one
I’ve just read a great tweet from @KentBeck that provides an interesting solution for something that I have always struggled with. if you don’t have a good name for it, give it a bad name. a really, really bad name so you’ll fix it later. Good naming is hard Sometimes…
Read MoreOptimise for Portable Devices
Platformability is now optimised for Portable Devices. (Give it a go on your mobile!) How to achieve a better User Experience on Portable Devices…
Read MoreThe beauty of small tests
When tests are small, a test failure means just one thing – somewhere in these ten lines of code which are being tested, there is an error. Ok, sometimes this can mean that there is an error in the test script, or a there is a failure, or change of…
Read MoreAgile – Tests = Fragile
The nature of agile projects, with lots of small releases mean that there are a lot of test runs to execute if you want to have any confidence in the code and the product. Ignoring this testing just generates projects which will fail – not may fail – will fail,…
Read MoreAdding an Observer to an Observable
The Observer design pattern is used in many applications. If you are unfamiliar with it, or need to remind yourself about the specifics, you can read about it at Wikipedia or MSDN. Caplin Trader even provides a helper class to take care of a lot of the boiler plate code: caplin.core.Observable. The…
Read More