Well, it’s been a while since I last posted, but that’s because I’ve been extremely busy with work and the family. The holiday season was a blur, much like my one-week visit to Australia for the WE05 conference, but was filled with quality time spent with family, friends, and the occasional good computer book. The latest book to grab and keep my attention is Jeremy Keith’s DOM Scripting: Web Design with JavaScript and the Document Object Model.
Normally, books on coding aren’t the kind that I actually sit down and read, but rather are used as a reference for when I run into a problem. (My most recently opened books for this purpose being the PHP Cookbook and PHP and MySQL Web Development, but I digress.) This one was different. While I still haven’t gone through every line of every example, it had the same effect on me as Jeffrey Zeldman’s Designing with Web Standards: that is, it made so much sense as to seem rediculously obvious. While Zeldman’s book made an excellent case for separating content and presentation, and supported it with beautiful code (at least it was back in early ‘03), Keith’s book does the same for separating content, presentation, and behaviour. (For some reason, it’s spelled “behavior” in the book, although Keith is a Brit. Was that because of the publisher being American?)
While I still don’t feel I have enough knowledge to tackle a significant JavaScript project just yet, (at least not as cleanly as I’d like,) I didn’t feel that I knew as much about CSS as I’d like after reading Zeldman’s book either. Hopefully I’ll either learn as much about JavaScript as I have about CSS over the next three years, or I’ll be able to find an affordable JavaScript coder-for-hire that can write code as beautifully as Keith does. (Any takers?)
I really hope Keith’s book is a big success: not just in sales, but in influence as well. I think it has the potential to lead a big wave of JavaScript books that focus on separating behaviour from structure, progressive enhancement, and graceful degredation (AKA Unobtrusive JavaScript). While the number of quality CSS books in my personal library is in double-digits, I have only one (but possibly two) quality JavaScript books: Keith’s, and Stuart Langridge’s DHTML Utopia: Modern Web Design Using JavaScript & DOM, which I haven’t read yet. (A potential third, The JavaScript Anthology by Cameron Adams and James Edwards, better known as “The Man In Blue” and “Brothercake” respectively, is already on order. And I heard a rumour about a potential fourth, as Derek Featherstone is apparently “exploring opportunities.”)
Is Keith going to be JavaScript’s equivalent to Eric Meyer? I’m not sure, but I really think the “Unobtrusive JavaScript Movement” (if I can call it that) needs someone or some group to play that role of teacher, sage and mentor. Maybe if he can match Meyer’s prolific one-great-book-per-year output he’ll attain that status, but for now that position remains open.
Well, that’s all for now. Hopefully I’ll find the time to write more often. Even if nobody reads this stuff the act of writing seems oddly therapeutic!