Books & Tools Techniques

Comprehensive coverage of Ruby 1.8 and 1.9

"The New Most Important Ruby Book"
Peter Cooper,
rubyinside.com

Completely updated for Ajax and Web 2.0

"A must-have reference"
Brendan Eich,
creator of JavaScript

Jude

Jude is my Java documentation browser. It combines Sun's definitive javadocs with the easy-to-use format of Java in a Nutshell, and tops it off with easy keyboard-based navigation and full-text searching.

Jude is available for free evaluation.

See the user's guide for more info

Java in a Nutshell

The 5th edition is now out, with complete coverage of Java 5.0!

It includes a fast-paced tutorial on the language, and a compact quick-reference for the core Java API.

Java Examples in a Nutshell

The 3rd edition, updated for Java 1.4

This edition has all-new coverage of the NIO and JavaSound APIs, completely rewritten Servlets and XML chapters, and coverage of new Java 1.4 features (assertions, logging, preferences, SSL, etc.) added througout. A great book for those who like to learn by example. 193 working examples: 21,900 lines of carefully commented code to learn from.

Java 1.5 Tiger: A Developer's Notebook

Amazon incorrectly credits me as the main author on this book. I'm actually the second author: really more of a consultant. This is a good book about all the language changes in the latest version of Java.

Effective Java

I didn't write this excellent book, but I wish I had.

Author Josh Bloch is probably best known for the collections classes in the java.util package. His experience and wisdom are apparent in this book. I learned from it and recommend it highly.

March 24, 2005

Ajax (the name) Considered Harmful

Having updated Java in a Nutshell (see below), and nearing a feature-complete release of Jude (also see below) , I'm turning my attention back to JavaScript, in order to begin an update of JavaScript: The Definitive Guide

Of course what I discover is that everyone is talking about Ajax.

And I want it to stop! The concept is great. The name is lousy.

The term "Ajax" was coined in a blog entry by Jesse James Garrett of Adaptive Path. It stands for Asynchronous JavaScript and XML..

Here's why I don't like it:

It emphasizes the wrong points

  1. Client-side JavaScript is event-driven. Any program with an event handler is asynchronous.
  2. The XMLHttpRequest object, which is the core technology under discussion, can operate in synchronous or asynchronous modes -- there is nothing fundamentally asynchronous about it.
  3. XMLHttpRequest is itself misnamed: it can be used to retrieve any type of content from a web server, and should simply be called HttpRequest. If you retrieve XML data, the XMLHttpRequest object will parse it into a DOM tree for you, but you can also, very fruitfully, use it to retrieve data encoded in a simple form, such as plain text.

So, if we take the Asynchronous and XML out of Ajax, we're just left with ja. No longer such a catchy term, is it?

To my mind, the most important parts of the "AJAX" model are the ability to dynamically retrieve content, and the ability to transform XML content using XSLT. But retrieval and transformation are not part of the acronym

Ajax is a marketing term

In a FAQ at the end of his blog entry, Jesse says: "I needed something shorter...when discussing this approach with clients."

In other words, the person who coined the term Ajax believes it should be used when speaking to clients. We in the developer community should not adopt the term because it doesn't really capture what we're talking about. Because it does not say what it means, it has already turned into hype.

Ajax is probably trademarked

You can buy it for your kitchen sink for 89 cents .

What should we call it?

I know this is a battle I cannot win, but allow me to offer two humble alternatives:

DIRT: Dynamic Information Retrieval and Transformation.

STAR: Scripted Transforms And Retrieval

Heck, even calling it DHTTP would be more accurate than calling it Ajax, and that term would go nicely with DHTML!

New Edition of Java in a Nutshell

The 5th edition of the increasingly inacurately named* book Java in a Nutshell is out!

My copies arrived yesterday. Amazon is not yet showing same-day shipping, but I'm sure their copies are almost there, and should be ready to ship very soon.

This edition of the book covers Java 5.0 and weighs in at 1200 pages. The major new language features (generics, enums, annotations) are covered in a new chapter of their own. Less major new features (for/in loop, autoboxing, varargs, static imports, covariant returns) are discussed in chapter 2. I'm partiicularly pleased with Chapter 5, which is 95 dense pages of examples that demonstrate how to use the most important classes and packages of the J2SE platform. The API quickref has of course been updated to reflect the new syntax of generics, annotations and enumerated types.

See the amazon box to the left if you want to buy this book!

*With apologies to the late Douglas Adams

Advertising
About
Store
Search
Google
Web this site
Archives
Syndicate

Powered by
Movable Type