Well the weather is more like November at the moment, 41mm of rain in Skipton on Friday and all the becks and rivers are well up. Consequently there hasn't been much climbing action though I've done a few of my short run/jogs through the mire.
With the long nights and plenty of time on my hands with not getting out climbing I've been making updates to my website, in particular the Bob Graham pages. So I'll explain some of the reasons behind the changes.
After my ISP managed to lose the site for a couple of months (yes that really happened!) I decided to move the site to another host. I ended up on the same host as the FRA forums as Brett lives in the neighbouring village to us and his offices are close to my workplace so everything is quite handy. Another advantage was that I could have server side code - databases and the like.
The first set of changes were simply converting the site to use php as the extension in the links rather than "htm" plus some use of the organising ability that PHP (and ASP and the like) give you. Once this was done I modified the calculator code to be separated from the form that sat in front of it. However everything still happened within the browser, it just wasn't so tightly knitted together as before. This was the version 2 series of code.
Some time last year I bought a book on Web Gadgets which led me to the current set of changes. The idea behind the new code was that one piece of code on the server along with a central core in the browser would mean a great deal of code reuse not only for the BGR calculator but also for the calculator on the Paddy Buckley pages. Linking the two pieces of code (browser and server) would be AJAX which is a means of updating just parts of a page. This way I could wrap customising pieces of code around the core depending on how I wished to use it. At the moment I haven't got the balance quite right as there is only about 30% of the code in the core!! However it should be possible to change this so that perhaps 80% will be in the core files. I am looking at a single generic core file with supplementary application files which will be wrapped with specific code for each calculator. If I've got it right then implementing the PBR calculator will be simple.
With the first cut of the code released I'm now working towards getting the calculator in to widget form so that users of the Windows Sidebar, the Mac Dashboard and hopefully Google Gadgets will be able to access the same information on their desktop. I've already made the schedule estimator available as a widget that users can embed within their own web pages.
With all that out of the way I just hope that the nice winter weather returns rather than the grey muck we currently have.