JavaScript Book

 

I'm pretty sure I'm going to write a JavaScript book. A major US publishing house might be interested.

Book status

My agent has given some interesting feedback on the second version of my proposal. I'll have to rewrite it again, but that's only for the better.

Results of the feedback form

At the moment (8/01) I get about 20,000 unique visitors a month and I assume the majority of them comes to learn about JavaScript. That's why I asked my readers:

What kind of JavaScript book would you like me to write?

In the last four months, 137 readers of this site have responded to my feedback form. Please note that I added the Expertise and the Problems questions later than the other questions, 72 respondents have reacted to these questions.

The preliminary survey has closed now, I have enough information for my proposal. However, as soon as I start the actual writing I'll ask you a lot of questions. After all, you'll have to decide what kind of book you need most.

No attention?

99 out of 137 respondents (72 %) agreed that existing JavaScript books pay too little attention to the needs of web developers working in the industry. 20 disagreed (14 %), 18 didn't vote.

"all too low-level"

Interesting remark. It's not quite what I meant, but I'll keep it in mind.

Level of expertise

What level of expertise do the respondents have?

  1. 35x Intermediate (Can copy/paste scripts and tweak them, can write simple scripts from scratch)
  2. 17x Advanced (Can write complex scripts from scratch)
  3. 14x Expert (Can teach JavaScript)
  4. 4x Beginner (Can copy/paste scripts but not much more)

Intermediate scripters are almost in the majority (50 % exactly).

Most popular JavaScript books

(Flanagan still leads)

  1. 39x Definitive JavaScript Guide (Flanagan)
  2. 36x JavaScript Bible (Goodman)
  3. 21x DHTML, the Definitive Reference (Goodman)
  4. 18x JavaScript for the WWW (Negrino and Smith)
  5. 8x Basiscursus JavaScript (Kassenaar; most popular Dutch JavaScript book)
  6. 56x one of 43 other books (one to four readers each).
Problems

What do people have problems with?

  1. DHTML: 35 respondents
  2. W3C DOM: 33 respondents
  3. Events: 26 respondents
  4. Frames/windows: 18 respondents
  5. Forms: 12 respondents
  6. Images: 10 respondents
  7. Getting Started: 1 respondent
  8. Regular Expressions: 1 respondent

"Whatever non-often used"

Very good point, I'll keep it in mind (though interest for non-often used things is by definition slight...hmmm...)

"Applying object oriented design to javascript"

Personally I think object oriented design is not necessary in JavaScript (though it won't hurt either).

Remarks

Most interesting are of course the reader remarks. Needless to say, I highlight those that appeal to me.

"ideal book for me: an initial discussion of the dom highlighting the most utilized real-world objects, methods, etc., comparing and contrasting the most common browser models. followed by real-world examples from existing web sites (with their permission, of course)."

"ideal book for me would be an advanced, practical book that will help mentor me in the more complex interactions that js can be used for, in conjunction with dhtml and the dom"

In short: please give us complex practical examples. I will.

"A lot of scripts are available on the net for free. I want a book that teaches you how to write reusable scripts that minimizes tweaking."

That's one of my plans. One of the chapters will be "How to write complex JavaScripts".

"I think there is a need for a JavaScript Cookbook a la The Perl Cookbook. A thematically series of chapters of increasing difficulty that gives the reader the building blocks he needs to make scripts."

Interesting thought. Such a book would be hard to set up, thought, because first I'd have to decide what modules there should be in JavaScript.

"Please write the book on browser compatibility or at least hit it hard!"

I will...

"whatever you do please dont write another bible book. many of these books try to cover too many subjects with not enough decription to actualy learn."

Good point.

"If you get the book published DON'T close the site down PLEASE..."

I won't, don't worry. It will be the companion site to the book. None of the scripts currently on it will be removed.

"how do I write a form validation JavaScript for an application where the administrator creates "on-the-fly" surveys, choosing either checkboxes, radio buttons, text or textarea?"

Good question! This is exactly the kind of feedback I'll be looking for in the future. If you tell me what you really need I'll put it in the book.

"I understand that many of the books listed here were written to simply state the facts for those who already understand JavaScript, however, for the rest of us it would be great to have a book that actually taught JavaScript from scratch."

This is very true, but the problem is that people who know a lot about JavaScript want to write not about the basics, but about the really neat advanced tricks they've discovered.
I myself am no exception, writing a book about for loops and how ifs work and the difference between strings and numbers doesn't really appeal to me.

Book feedback form

The initial feedback period is over. I now have a good impression of what the target audience (you!) wants.

Once I start writing the book I will have a lot more questions. If you wish to participate in the writing of this book, please fill in your email address. You will receive a notification when the new feedback form is online.


If you have already sent in the old feedback form and have filled in your email address you do not need to respond, you will get one (1) notification mail automatically.

Home