Questions and Winners of Accelerated DOM Scripting

Wow. Over 230 people left a comment to win a copy of Accelerated DOM Scripting. Either people really want to get their hands on it or people just really like free stuff! A few people also had questions about the book and I figured now would be as good a time as any to reply to those.

Questions Answered

I'm thinking of writing a book, too. What software do you use?

Most publishers have a Microsoft Word template that they make you use. Not very exciting. :)

Will it be available in the UK (or Canada)?

The book is being distributed by Apress and should be available for purchase in countries around the world including the UK, Canada, Australia and, of course, the US. You can also purchase it as an eBook from the Apress site. Whether it'll hit the shelves of your local bookstore will, I suppose, depend. I certainly hope it does! (I was pretty excited to see my last book on store shelves!)

Do you have any other books in the making?

I'll probably still be up for doing a chapter here and there as part of a multi-author effort but a book of this scope isn't very likely. The amount of research and editing involved in putting together a book is time-consuming. I've now achieved a life goal (that of writing a book) and I'm not as driven to repeat that. With that said, never say never.

What random number algorithm you will use to determine the winners?

select * from comments where post_id = 846 
   order by RAND() LIMIT 5

What does this book have that others dont, why would you recommend it?

This book has my unique and pragmatic view on developing with JavaScript for the browser. I touched on some topics that don't get as much play in a lot of books that pertains to code structure like using object literals or function constructors and how it all works together. My pragmatic side brings up libraries quite a bit and I tried to bridge the gap, giving readers a better understanding of how they work.

I recommend people buy the book because it's a succinct and straightforward take on modern browser-based JavaScript development. Whether or not I hit the mark on that is for the public to decide.

I have a basic understanding of the DOM, why should I pick this book instead of a book in JQuery?

Accelerated DOM Scripting takes a more generic look at things and gives you a deeper understanding of how all JavaScript libraries work, making it easier to leverage existing code as well as making it easier to understand how to extend them. If all you want to do is learn how to solve Problem X with Function B of Tool Y, then this might not be the book for you. If you want to know why Tool Y is the right tool for Problem X, then give this book a read.

In what ways does this book differ from Pro JavaScript Techniques by John Resig?

Much of the material is the same but I think we approached things differently. I felt that John's book presented solutions (or "techniques" as it were) to common problems whereas I tried to look more at the "problem solving" aspect of it.

Is there a TOC available anywhere, by chance?

  1. The State of JavaScript
  2. HTML, CSS and JavaScript
  3. Object-Oriented Programming
  4. Libraries
  5. Ajax and Data Exchange
  6. Visual Effects
  7. Form Validation and JavaScript (Stuart Langridge)
  8. Case Study: FAQ Facelift (Aaron Gustafson)
  9. A Dynamic Help System (Dan Webb)

As far as libraries, the Apress site says "such as Prototype." And...?

I mention Prototype, jQuery, Mootools, Dojo, YUI along with Script.aculo.us, Interface, and ExtJS.

If you have any other questions about the book, feel free to ask them in the comments or email them to me and I'll be sure to give you the best answer I can.

And the winners are...

The following five randomly selected winners will have a free copy sent their way.

If you haven't already, get a copy of Accelerated DOM Scripting now!

Published October 01, 2007
Categorized as JavaScript
Short URL: https://snook.ca/s/847

Conversation

14 Comments · RSS feed
Arjan said on October 01, 2007

What random number algorithm you will use to determine the winners?

The code you used is not very bulletproof. Anyone who commented twice (or even more times) could have had more chances.

Jonathan Snook said on October 01, 2007

@Arjan: I filtered all the comments removing any duplicates as well as making sure all valid comments were approved. Is it the code itself that you feel wouldn't be random enough or simply that multiple comments by people could throw things off? As it stands, five unique and separate individuals won a copy of the book. I'm not sure that any other method would have really changed the outcome (except to generate a different five individuals).

David said on October 01, 2007

I'm not sure that any other method would have really changed the outcome (except to generate a different five individuals).

Snook, that's the point. Arjan doesn't really care about the formula - he just wants you to change the formula until he is drawn. Then it will be correct.

Arjan - I'm with you. I didn't win either - so lets keep looking for problems and snook conspiracies here until we get a copy of the book. ("Prejudice" is always a great topic to play off...)

Oh, I know - He is bond to have a copy somewhere around his house. So lets get on google maps and figure out the best place to hid nearby until he leaves - then we can sneak in and steal his copy. Wait! Lets call him up and tell him to sign it - then we can steal a autographed copy! Mwhahaha

Wait... how do we share it?

Miha Hribar said on October 01, 2007

Congrats to the winners. I had my fingers crossed, but forgot to click my heels together :) Btw Jonathan, how long did it take you to write this book?

Jonathan Snook said on October 01, 2007

@Miha: well, from the time I started, it was over a year but actual focused writing was probably only about 2-3 months.

Miles Johnson said on October 01, 2007

I totally forgot to enter -_- Maybe next time, haha.
Congrats to the winners.

Robert Nyman said on October 01, 2007

Wow, that's a bunch of comments! When I had a competition to win an iPod Nano I didn't even get half as many comments (although I so completely blame that on they having to write something about their favorite HTML tag ;-)).

Congrats on the book; given your JavaScript talent, I'm sure it's outstanding!

Kevin van Dijk said on October 02, 2007

Congratulations to the winners :)
And i will get it for sure when it comes out in dutch shops. I can't wait :)

rick said on October 02, 2007

I can't believe I'm a winner. It's like the day before you're a winner and the day after are totally different. It's like one moment you feel like a regular guy and the next you feel blessed. Wow.

OK, I'm just kidding, but I look forward to getting the book, and I appreciate the link to my new blog. I had started it only a day or two before you linked to it. And today I actually got a visitor other than myself, which is about as exciting as it gets in suburban Chicago.

I like you, Snook!

anonymous said on October 05, 2007

Imagine that your new book can be downloaded from emule.
What will be your feeling about?

Jonathan Snook said on October 05, 2007

@anonymous Indeed, I know that can and probably will happen. But my belief is that, like all piracy, only a minority of the people who get the book would have actually paid for it to begin with. With that said, I spent a lot of time and energy as did the publisher who spends money to get the book written, printed and distributed. I hope that anybody that likes the book recommends it to others and helps support someone who's just trying to put food on the table for his family (oh, and a Wii, and a big screen TV, and a...).

Arjan said on October 07, 2007

@Jonathan; The code itself is randomly enough, my thoughts were more about the people who posted more than one comment in that entry.

@David; damn, I've written an 'it's all ok'-message just a minute ago...

Calm_Pear said on October 12, 2007

Well, I bought the book and am very happy with my purchase! The book came in yesterday and although I think I already know 90% of all the stuff in there the other 10% will be very interesting! Haven’t had time to do some serious reading yet but I can already tell it’s pleasantly written and for me a good resource for tickling my creative thinking. Thanks Jonathan, Aaron, Stuart and Dan!

Patrick said on October 16, 2007

Congrats on the book, Jonathan. I am sure it feels great to see your name in the big lights (or at least on the local bookshelves). Does this mean I can officially stop trying to steal ideas from your JS source files? ;)

Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.

Want to learn about scaling CSS for large projects?

I'm available for full and half-day workshops on scalable CSS architecture. I can provide on-site training for your team. Interested?
Get in touch.