(Re)Programming

I have recently started a new project at work on which I’m both the only architect & developer. This project is an extension of an existing one but rewritten from the ground up. I’m taking this opportunity to look back at my past work and select things that have worked for me, as well as drop those that didn’t. I also have the chance to check out the latest technologies on offer to the Java web programmer of today. Continue reading

Writing Effective Javascript Code (or How I Learned to Stop Worrying and Love the Unit Test)

Like most programmers I feel there are always ways of improve my coding skills. Whether it’s the perennial ‘write more documentation’, gain a better understanding of my current programming language or even just adopt a good programming style. Recently our company had a staff development week and I took this opportunity to pursue some of these interests. My main focus was on Unit Testing and after a week spent delving into this world I emerged with a new found enthusiasm for testing techniques, better confidence in my own skills (thanks to the tests I wrote) and a desire to spread the word.

The following entry is from a presentation I gave to my fellow ILRT programmers which covers some of the javascript tips and tricks I discovered on the web to help me (and others) become a better programmer. I conclude with some information on testing javascript applications using JSUnit and Selenium Core.

(I appologise for the layout but after several hours spent fighting with WordPress I’ve given up nicely trying to format everything)
Continue reading