Accelerated DOM Scripting
Yippeee! My largest writing effort to date has finally come to fruition: Accelerated DOM Scripting with Ajax, APIs, and Libraries published by the fine folks over at Apress.
The book was something that I started last summer after having met the senior editor at the time, Chris Mills, at SXSW. (Chris has since moved on to Opera...the browser, not the musical style!) The writing was slow going and I was unable to get much done with the book. Surprisingly, Chris stuck behind me and I continued on. In June and July of this year, I buckled down, passing on a lot of client work to focus on the book. Writing a book turns out to be a lot of work. Seriously. Writing a book is not for the faint of heart. How Molly managed to write over 30 books, I'll never know.
To help out with writing duties, Mr. Mills managed to get Aaron Gustafson, Stuart Langridge and Dan Webb to pitch in a chapter each. I'm deeply honoured to have my name next to theirs. I'm also really happy to have had Cameron Adams handle the tech review.
So, what's it about?
Well, if it wasn't a little obvious, it's basically about JavaScript. The book is a lightweight 250 pages and full of DOM scripty goodness. The book is not meant to teach JavaScript. In fact, there's an assumption that you already understand the basics like variables, arrays and the basic syntax.
The first chapter, I ease into things with a quick overview and an introduction to some debugging tools. Nobody writes perfect code so it's good to have some tools at the ready.
Chapter 2 covers quite a bit, first going over some tips on how to approach your HTML and your CSS. Then, it jumps into the different constructs of JavaScript, how to work with the document object model, and eventually moving into event handling.
In the third chapter, I look at object-oriented JavaScript along with some other topics like closures, callbacks and chainability.
With the hardcore stuff out of the way, the rest of the book builds on top of that starting with Libraries in chapter 4. Overall, I'd say the book takes a positive and pragmatic view at the use of libraries in our day to day development. In the Ajax and Visual Effects chapters that follow, I build out custom examples to explain the concepts and then show how the same can be accomplished using libraries.
Stuart takes on form validation, Aaron gives the FAQ a facelift and Dan Webb creates a dynamic help system.
Win, win, buy!
Hopefully by now I've gotten you excited enough to get your hands on a copy. You can certainly head on over to Amazon and order now, it should be shipped out fairly quickly. To help launch the book, I've got five (that's right, 5) copies that I'm looking to give away (don't forget, I'm also giving away copies of the Art & Science of CSS).
How can you win a copy? Just leave a comment on this post and five random commenters will be picked. The deadline is this Sunday, September 30, at 11:59PM. I'll announce the winners on Monday. Be sure to use a valid email address as I'll need to be able to get ahold of you if you won.
Happy scripting!
Conversation
First!!!!
Hopefully by "random", you mean the first comment ;)
Congrats on the book, can't wait to read it...
I've been following your Snitter efforts, for one (nice work, btw), and that's brought me to your site where I've found a lot more great info. Would love a copy of your book.
Wow, Snook, I can't believe that you have another book with your name on it. For some reason I don't see you stopping anytime soon. I might just have to get this book though because I have covered myself with the basic Javascript and what it does, and I know enough about similar languages to keep going, although I just don't know where to go next. Maybe the book will throw out some ideas.
Woooo I'm up for any giveaway of something I would buy. *note to self. better learn to read asap
Cheers senor Snook. You are spoiling us readers lately :D
Our Yukon winter is already starting (snow is creeping down into the valley) so I need a great book to read by the fire on those cold winter nights. A perfect companion!
Ooh ooh ooh!
Looking forward to your new book regardless of whether I buy it or win it. Congratulations for all your hard work - both the book and the very excellent Snitter (the Dan Rubin skinning of which I am eager to see!!)
Very nice work on the book, I will either be winning it or buying it.. albeit I will be very happy to win it... *cheers*
I am guessing you are already working on the next one. haha ;)
Can't wait to read it, either way I get it :)
I really need a good DOM Scripting book, and yours sounds perfect.(hint hint)
Chur
Hmmm sounds like an interesting book... certainly something I've wanted to investigate more of. Sounds perfect!
good luck with the sales
Wow. Sounds like a great resource! I could definitely go for a copy. Adding to wishlist, in case I don't win one :)
I enjoyed the Art & Science of CSS, would love to enter into the giveaway for the new book
You are really not helping my tech book addiction (unless I win one, of course). I keep buying new ones before I'm even finished with the old ones!
Congrats on the book! I'll definitely take a look at it when it hits the shelves, or maybe I could just win a free one here :P
Congrats on the book Jonathan! Seems it will be an invaluable resource to have on hand and will indeed wind up in my book collection one way or the other. I hope it flies off the shelves as I'm sure it will.
Sounds like good stuff. Can't wait to see it... hopefully for free =)
Congrats on the new book! Art & Science of CSS sits prominently in my library!
Wow, great job bud. Just another title to add to the list of great books, written by great technology enthusiasts. I have to say, even if I don't win, I'm definitely going to go down and purchase a copy of this new book.
Hoping I win a copy (I'm poor!) but if not, I'll probably buy it anyway. Cheers for the book!
Congratulations on the book writing. I've had a desire to write a book at some point in my life but good for you having your name in the author list of two titles.
5 of 24... still pretty good chances for that book (css book would also be nice if you run out of javascript ones :)
Anyway, congratulations man
congrats on the book snook!
Now this is a book i would buy! Congratulations!
Congrats on your second book!
I would definitely like to read this book.
Been a little disappointed by some of the Apress books, but this one looks to satisfy.
Awesome! Sorry I missed your talk at the Jam Session, but you made a good impression at the roundtable Saturday morning. And your blog is one of the most beautiful I've seen recently.
Congrats on getting your book completed.
I'm really considering picking one up, this is probably the area where my skills are most lacking. Well done and good luck!
Hoping I could get a free copy or definitely I'd wait for and buy a translated one in China :)
And suddenly it's just like de-lurking day all over again. Free, free, did soomeone say free.
Am I lucky enough to pick up a copy?
Souns like a book I would love to win. Keep up the good work!
free book would be nice... on a student budget =D (yes tha's right I played the sympathy I'm a poor student card =P )
Me excite if win ;)
It's great to see more well written Javascript books coming out. I look forward to reading it!
A book is certainly no small feat. Congratulations on publishing, Jonathan, I'm sure it's a great book!
Would you even pick somebody from "far far away", meaning Belgium. The country best known for its chocolate, beer (Westvleteren), its waffels and not to forget Veerle Pieters ;-)
your work inspire's me, thanks
ooo... this book sounds interesting, looks like another one to add to my wishlist. Top work, it frightens me to think of the amount of time and effort that must go into producing a quality book.
Winning this Book would be great .. so i'll set up some coffee and wait now :)
Can I have a free copy? ;-)
I find it very interesting that you write books snook. Its very nice way to contribute to a coder community to spread your knowledge. Thumbs up and congrats.
Sounds like a very interesting book you wrote there! I'll be looking forward having a peak in it when I'm at the bookstore. ;-)
That book sounds indeed quite interesting. It certainly has a place on my christmas wishlist if I don’t win.
I'm feeling very random this morning.
I look forward to reading my 'won' copy :-D
Congrats on the book release!
I'm thinking of writing a book too. What software(s) do you use to get it all down (author the book)?
Just what I need. Another book to add to my 'to read' pile. So much to read, so little time... congrats on the new book ;)
math.random(47)
i really like books about dom scripting (like my bible "Dom Scripting" from Jermy Keith).
so i hope, i will be lucky....
Review copy? ;)
This looks really good, Jonathan. I'm looking forward to reading it!
I am currently working on a project which has ~1000 lines of JS code. This book could be usefull ;)
Congratulations!
I'm looking forward to reading it! :)
Great review, very useful, great idea with the give-aways to fill the comments ;-). The book sounds great for me degree work, useful resources for Ajax applications (without too much bullshitting) are rare :-)
Congratulations.... can't wait to hold this baby in my arms!
Congratulations on the book, snook!
That is really one nice book :-D
Being an everyday reader of your blog, it will be very satisfing to grab a condensed amount of your knoledge in one piece!
Congratulations!
Congratulations on what looks to be an excellent resource! This will fit nicely into the rapidly swelling Apress section of my bookshelf.
Congrats for your book, Snook! My bookshelf will be proud of it! :P
Wow, sounds great to me. Maybe I win one, otherwise I grad myself a copy from amazon.
How cool! Well done Snook! I'll take a peak at the book on Amazon later today. (Will it be available in the UK?). Wouldn't mind learning a bit more about JS.
Found out about your book via Twitter post. :)
Gratz on the book!
Looking forward to the book, either won or bought.
Hi from a long time fan from Portugal! Keep up the good work!
Congratulations, very nice indeed!
Congratulations, Snook! I'm sure I'd be as pleased reading the book as I am following your blog.
Being a more server-side oriented developer, I've always suffered from not taking the time to learn JavaScript the proper way. I've taken different bytes of it as I've tackled different tasks, but never tried to grasp it in its entirety. I'm sure your new book would be an invaluable read for me.
Great news, Jonathan. Congratulations! Do you think the book could be used as textbook for teaching a 32-hour DHTML course over an 8-week term to computer science students? They'd be already familiar with JavaScript.
Congrats Jonathan! Am looking forward to getting my hands on a copy. Do you have any other books in the making? :)
Count me in!
Wow, looks like a great book. Might just be the thing to hone my JavaScript skills a bit further.
Congrats on the book Jonathan.
Congratulations on the book. It has been in my Amazon wishlist for some time. Finally I can get it. Hopefully free. :D
Nice book :D
I've read the Art & Science of CSS and really want to read this new book, too.
I already have a couple of javascript books, but this sounds like it will fill a gap, and like others I'll probably buy it if I'm not lucky here. Thanks for the chance for a freebee :)
Congrats!
Congrats with the book!
still 6.5% chance on winning ;)
Excactly what i'm looking for, I follow the sentiments of others in that if I don't win it'll end up in the library anway! Nice work
The books looks great, it'd be nice to win one but if not I'll be heading over to Amazon to purchase one.
Good Job on the Book Jonathan! Looking forward to reading it.
dynamic help system? i am eager to see it!
Thank you for a great work. Looks really professional. Hope I will have a chance to look inside ;)
P.S. I wish in time people will be happy to say the same about my future book.
var winner = String.fromCharCode(56, 50);
Well done :) happy to hear you've publishing a book.
The book looks great! Can't wait to read it.
Looks like a good read. My only other JavaScript book is fairly outdated.
Congrats Snook. Looking forward to reading this.
This is exactly the type of book I need. Lately, I have been planning on stepping up my Javascript game to make use of some of the more recent additions. This book, free or purchased, will make a great addition to my library.
Here's ta swimmin with bow-legged women! I'd love a copy of that book.
If you can find them, maybe you can hire. . . The A-Team
Snook: Is indigo/chapters going to be stocking this aswell?
Oh and go Canada!
Cheers
-Cameron
Just finishing Christian Heilmann's book on DOM scripting & I have the feeling this is the perfect follower. Will have to wait until after this weekend though, you never know, my Monday might be sweetened ;-)
Like the Donkey in Shrek: "pick me, pick me".
Congratulations on your new baby!
Wow, note to self: The best way to get "Eleventy Billion" comments on a blog! Tell folks that all they have to do is place a comment for a chance to win! - sweet! (I'll be copying this technique for sure! ;-)
PS It is also a very clever way to make sure the posters are posting with the correct email address!
Wow, the book does sound good... I look forward to a JavaScript book that is the "Well, now that you think you've mastered JavaScript - Lets start digging real deep in to best practices, accelerating code, libraries etc." sounds right up my alley.
Can't wait to check it out.
Hopefully, I'll be one of the lucky five.
Looking forward to picking this one up (or having it given to me!)
This is really a book that I have been waiting for! Also nice reading in Digital Web Magazine about you guys in Sidebar Creative. A good interview.
Many congrats Jon. I can't even imagine the amount of time and dedication it took to see this through to the end.
Seems to be a must-have for me as I am going to dig into JS & AJAX pretty soon.
Looks like a good read. Will try this first, but if it fails, I will just have to go buy it.
Congratulations! I'd like to win, please :)
I can't wait to check this book out, I'm currently reading the "Beginning JavaScript with DOM Scripting and Ajax" book, so hopefully after that this book will help push me farther into being a Javascript Ninja!
Sounds like an interesting read, Jonathan, can't wait to get my paws on a copy.
Congrats!
I would love to win this! Congratulations on finishing it, sounds like an effort, which is why I'm surprised you're giving it away too!
I think I'll buy it if I don't win anyway but hey, you gotta play to win!
Book sounds great, I might buy it even if I don’t win it.
I want one!!!
Congrats, you're now well on your way to 30 books! I might just have to check this one out.
You know, they say the lottery is a tax for people who are bad at math. One scratch-off please. :)
Hah, looking like the competition for the 5 copies is fierce! Congrats on the book, Jon.
I would love have the book.
It's already in my "booksiwant" tag in del.icio.us, but i'd love a free copy congrats on the book!
I love Apress books, and I'm sure this one would be another great addition to my bookshelf. Congratulations on getting it done. I can't even imagine what it's like to write a book like this.
Congrats Jonathan! I look forward to reading your book.
Hooray! Congrats on the book. Now give it here.
Congratulations! I can't wait to read it.
Just lowering the % for everybody else.... ;) Sorry!
Nice work Jonathan! Looks like this will be a great resource.
@Matt Beck: Freaking hilarious!
Looks great Jonathan! Writing a book is no easy task. But It's definitely worth it.
I think this would be a great addition to any developers library.
Good luck to all!
Random Comment: "Do It Now - Today will be yesterday tomorrow" -- Talking Moose.
Looking forward to reading the book :D
Ooh! I want to play Me Wantee too!
(Keep up the great work.)
The book sounds awesome! Congrats on finishing it!
Congrats. I'm looking forward to reading it.
I love the idea of tackling issues libraries solve with simple DOM scripting! I have been looking for some insight on just that this week.
Thanks, and I look forward to checking it out.
Cant wait to read it!
gimme!
That's a lot of commentary. I'm interested in what random number algorithm you will use to determine the winners.
Congratulations on the book.
winner here!
yey.
congrats on the book dude.
Congratulations on your new book!
Everyone has a good book in them, is this it? I hope so.
I read your chapter in the art and science of css with much pleasure, you have a solid writing style. If i ever decide to really start with javascript, I'll certainly check out your book :)
Congrats on the book hope I win :)
Snook, loking forward to getting a copy!
I'm totally winning this one!
Congrats on the book John. I'll be adding it to my Amazon wishlist for sure :)
Gimme that! =)
I'd love a free copy, of course. If I'm not one of the lucky winners, though, I'd be happy to pay for it ... unless you'd like to trade one for my book. :-)
Congratulations Jonathan.
Wow! that's 5 minus 1 now.
oh aye.
Congrats on the book, hoping to win a copy. ;-)
Well done on completing the book!
I hope I win so I can better my skills with Ajax and so I can get my head around all these different API's and Frameworks as well.
M.
Wouhooo! I hope I win! :)
I'd love to read your new book. As I'm not very experienced with libraries and APIs (but with the DOM itself), I would like to read how such extras can help me develop.
Congratulations Jonathan! Enter me in the contest, can't wait to read it!
To win, or not to win, that is the question.
The book certainly looks interesting and I know I would learn a thing or two. I should just buy it anyway . . . I kinda owe you from just the stuff I've learned reading the blog!
That book sure would look nice on my bookshelf!! After I read it, of course. ;)
Yeah, I don't know how you people can manage to write whole books, either. I dread writing a simple email. I guess I should just be glad you do. :)
Congrats on the book.
Congrats! Looks interesting.
Oooh oooh, pick me pick me. Seriously though, that book looks like It would be very useful to me.
Well, if I'm not randomly chosen, I'll buy one anyway, so I'm probably not your best choice.
Congrats on a tough project - I'm sure it feels much better to be on this side of the project than it was on the other. Nicely done.
Congratulations, Jonathan!
Looking forward to reading this one. With yours and Dustin's books coming my way, it's going to be a fun, javascript-filled time! ;)
Feeling lucky! Good work with the book!
Sweet. On my wish list. I'll hope to win a copy here, but if not, will probably buy it anyway.
Shiney!
Nice book! I would love to win a copy. If not, I'll probably purchase one from Amazon. Good job!
I want to read this one! :)
Yeah I'm just as keen as every one else to win the book too.
Pick me! Pick me!
just entering in the drawing :p
That was a long scroll to the bottom, i'm not liking the odds :P
Looking forward to reading the book, win or lose. Congrats.
over here, over here!
Congratulation on the book!
If I don't win it here :P I'll need to buy it :)
PS: I would give the book away to those with creative comments (functions and code) :p
I enjoyed your input on the CSS book and would love to read your input on this new book and also improve my DOM scripting at the same time, so please?
I would like to read that book : )
Adding my name to 175 others here. :)
what does this book have that others dont, why would you recommend it?
Wow, another wonderful book. I really wish to have it from you, I can't afford to buy it from my country- Vietnam.
Looks like a fun read. Thanks for the chance to win also.
Congratulation on the book, sounds like a must read.
I just found a copy of the Art & Science of CSS in Cape Breton, Nova Scotia, and, after crapping my pants, promptly paid more than I would have anywhere else in Canada, went straight home, and read the whole thing in an hour. Now I want more, so hows about picking me?
Great to hear that you've finished a book yet again. I need to learn more about it I'll probably read it somehow :)
Why not?
Congratulations! I can't wait to check it out.
I'll throw in my comment for a chance to win!
Congrats on the publication of your new book.
I want that book.. pick me *g*
Gimme gimme gimme.
I'm not that into Javascript. I do my ajax and my visual effects with Prototype/ScriptAc/JQuery/Interface. I have a basic understanding of the DOM, why should I pick this book instead of a book in JQuery? Give me som arguments :)
sounds like a really good read! Gonna try to get a copy for work, and play! Although, one would be fine for both!
J
Who can say no? Not me :-)
Will you post to UK though?
Never look a gift ajax call in the mouth...good on your sir!
Could this be your most commented post on your blog? Nothing like a free give away to get the lurkers posting ;)
But congrats on the book, I can't imagine the time and effort that goes into doing something like that. I keep toying with the idea myself - but like most people thats all I have done.
Am glad to see you ain't one of those people!
Johnathan, congratulations on your new book, indeed it's a helluva lot of work!
Congrats on the new book.
A book would be nice.
With the amount of pages this industry generates, I think it's telling that we all want *your* book on our shelves. We know it's going to deliver.
No purchase necessary to enter contest. :)
Congratulations! It's great to see another book on DOM Scripting out on the shelves.
I'd love to read your book!
Wonderful. I really enjoy your blog, and now happy to know about a full book of your writings.
Looking forward to the book,
Cheers.
Wow Jon, congrats!!, You never stop amazing me!
Cheers, from Juani (the Argie of The List)
Congrats! Can't wait to check out the book.
Nothing brings out the comments like a giveaway! Another book already?! I haven't even had a chance to buy the first one!
Congrats on the book, looking forward to reading it.
Looks like a good read. In what ways does this book differ from Pro JavaScript Techniques by John Resig?
With so much to be done on the web - books like this are bound to be useful for those looking for more advanced logic and stuff. I know that I personally need to drop PS CS3 and PHP for a while so I can concentrate on some JS
So Good Work - writing enough for a book IS hard work ;)
Congrats from Greece :)
cheers
pick me pick me! seriously though, congratulations.
Sweet, looks like a great read!
Wow, so many comments... is this equal opportunity winning? Well I hope a nerdy latin webmaster can get a copy. I do have a P.O. Box though.... for when you send out the book *wink
Wow wow wow, sounds great! Just the kind of things I'm eager to dive into after two starter books on Javascript. Still struggling with OO Javascript and I really need a good look at it because that's just the way to go.
Can't wait to get my hands on one, for free or from Amazon!
Good luck with the sales!
Congrats on the new book, and on making the transition from conference attendee to presenter. Hope to see you at WDN08!
Now that looks like a book I'd like to read. In fact, I am someone who knows 'the basics like variables, arrays and the basic syntax' but has troubles taking the next step. Hope I win :)
Congrats, Snook! I can only imagine how much work it would take to put together a 250-page book.
No wonder you're so busy. Congrats on getting it done - doesn't sounds easy.
Hmm, "DOM scripty goodness" for free! Nice one.
Looks to be an interesting read. Congratulations on finishing it.
Nothing like a competition to bring out the lurkers!! (myself included)
I would love a copy of your book—but will happily buy it either way. Sounds like just the type of thing I need to take my scripting to the next level.
Congrats on the achievement.
Sounds really good! Can't wait to read it :)
Found my way to this website not long ago, but from what I have read so far, the book will surely be a good read.
Snook, I want that book.
congrats, can't wait for it to come out!
I'm going to get this book as soon as it comes out in Dutch book shops :)
Congratulations on your new book, which probably took a lot of time and work - DOM Scripting isn't easy to learn, let alone teach. I hope it makes the Best Seller's list or something and you make a lot of royalties ;) lol, we all know that you had other reasons other than your love for it.
Good for you! win it!
Mabrook for the book.
Mabrook means Congratulations in Arabic :D
Is there a TOC available anywhere, by chance? Also, as far as libraries, the Apress site says "such as Prototype." And...?
(Sorry if this has been asked, but you see how far down this is. I promise I did some searching.)
I'm the winner of "the art and science of CSS" from your previous post. Hopefully I'll also be able to get one free copy of your new book :)
hope i win =)
haha time to step away from the comp. put the wrong email address in the last post.
Hey.., If I can't be the winner I'll be ask this to you on 7th of October at the Future of Web Design Event :)
Cheers,
Umut
Hope I'm still in time. You didn't specify a timezone!
Thanks everybody for playing! The contest is now closed. The winners will be announced tomorrow.
1je3rxjeh412sewq
Hi webmaster!.
I am from Ukraine and also now am reading in English, tell me whether I wrote the following sentence: "Rather than using I statements, begin each sentence with an action word to describe your experience."
Thank you very much :(. Makin.