More video goodness…

An informal talk at Skills Matter last year, on JavaScript and AIR (based on the application I blogged about here and here), given as part of the London JavaScript Meet-up. Mostly ends up being about how it’s perfectly possible to do TDD and nice application structure in JavaScript.

News from SDC 2009

Just returned from a trip to Göteborg, Sweden, for SDC 2009, the first of what the organisers plan to be a regular series of developer events. 450 delegates, mostly Swedish but some from further afield, gathered to hear a keynote from Kent Beck and participate in a densely packed programme, streamed around Java, .Net, IBM System i, development process and methodology, and emerging technologies.
Read the rest of this entry »

Narrative of an application

Last week I spoke at the London JavaScript meetup about JavaScript and AIR, and used the little Black Box application I’ve already blogged about as an example of (both) a reasonably well-structured JavaScript application and to demonstrate how easy it was to move such an app to the desktop using AIR. Preparing the talk reminded me of one thing that had been bugging me about the application design, which I mentioned at the meetup. I’d more or less decided not to do anything about it and leave the application as it stood, but in the end my conscience got the better of me, so I dug in once again.
Read the rest of this entry »

With friends like these…

Is your figure less than greek
Is your mouth a little weak
When you open it to speak
Are you smart?

Douglas Crockford has a book on JavaScript out. JavaScript: The Good Parts is a short (170 pages), information-rich, opinionated book on why JavaScript is a great programming language in spite of its major shortcomings. Crockford has been writing about JS for many years and is a primary advocate for the language. The book is a good all-in-one summary of JavaScript and its less salubrious corners, but it’s a book I can’t quite like.
Read the rest of this entry »

JavaScript, HTML, AIR - new application architectures #1

As promised, here’s a small example of an application built using JavaScript and HTML, repackaged for the desktop using AIR. The application is a version of the puzzle game Black Box. There’s an online version of the game, an AIR package for download, and a zip with the source and the other game resources.
Read the rest of this entry »

Concision and expressivity in code

For one reason or another, I’ve looked a fair bit of other teams’ web server code recently - in Java/JSP and PHP. Now, as always, people write too much code. Almost always the result of a naive approach to solving a problem, combined with an insufficient comprehension of programming patterns and language idioms. My favourite was a page that appeared when looking at a server-side component in Java - it was a long method, but at one point when scrolling down this appeared:
Read the rest of this entry »

Adobe on AIR tour in London

This Wednesday Adobe’s on AIR tour rolled into the UK - around 250 developers turned up for a day of talks and demonstrations at the Brewery (once the Whitbread brewery, now a very classy conference and event venue). I’m enthusiastic about AIR - it’s inevitable that internet applications will escape from the browser, and AIR does a great job of providing firstly the right set of application services to set RIAs free in the desktop/platform world, secondly the tools to make building and distributing these applications straightforward.
Read the rest of this entry »