Hi, Bear.
1)
How does your JS Ninja compare with the Good Parts? Some on the review say that's too dry. You've referred me to the 2nd half of the Ninja book. One review said this about the 2nd part: "Much of the second half of the book is various nitty-gritty details about coding around all the cross-browser and language-version and interpreter-implementation issues one runs into. Specific examples of the various quirks and workarounds were sometimes so bizarre it was clear there'd be little chance of an individual ever solving them. My overall takeaway from the second half of the book was that in almost all cases one should code to some sort of covering library (like jQuery) that handles all the quirks in a transparent way, rather than to Javascript directly. (I also picked up the suggestion Javascript would be easier in some future where IE6/IE7/IE8/IE9 have only insignificant market share.)" I don't get it.. I thought we should use / learn JQuery instead of doing things manually.
2)
The book that I have is Beginning Javascript 4th edition by Paul Wilton and Jeremy McPeak. 2010. The book is exceptionally clear on subjects in my opinion, and verbose. The topics are:
1- intro to javascript
2- data types and variables 17
3- decisons, loops, and functions. 51
4- common mistakes, debugging, and error handling. 87
5- javascript , an object based language 133
6- programming the browser 189
7 - html forms: interacting with the user. 219
8 - windows and frames 263
9 -
string manipulation 301
10 - date and time and timers.347
11 - storing information: cookies (do people actually still use this?? i thought people are using sessions)367
12 - dynamic html with w3c document object model page 391
13 - using activex and plug-ins with javascript 469
14 - ajax page 491.
15 - javascript frameworks page 527
appendix a - answers to excerises. 591
appendix b - javascript core reference 665
appendix c - w3c dom reference page 697
appendix d - latin 1 character set. page 725
index page 733.
Currently, I'm looking at javascript code at my internship and trying to read through this book. currently on page 269.
What topics are required going from my book to your JQuery book or even your Ninja book? I read that your ninja book isn't exactly for beginners? From your reply, I would need to know about closures. Personally, I found the syntax of the js functions difficult to remember .. I'm coming from a
java background. Am I way behind or ..? My original goal was to finish the book I have and then move onto the Good Parts and JQuery.
3)
How does learning JQuery on the JQuery web site compare with your Ninja book? I hear from my coworker that the JQuery site has pretty clear tutorial.
I hope you didn't mind that I posted the above book and page numbers - I did so for you to have an idea of where I'm at.
4)
Lastly, according to the reviews, it said that the book is mostly written by John? In looking at the reviews for John's 2006 JS book Pro JavaScript Techniques:
"I agree with only one other reviewer who commented on the typos, etc. The demo code does not work until you debug it. The first couple of chapters on Javascript code are very good. The chapters on Forms (8) and Lightbox(9) are so poor I stopped reading. I am a jQuery user and admire Resig's contribution, but this book should be skipped."
I then looked under John again and see that he has the 2nd edition Pro JavaScript Techniques, 2015. No reviews. It's 400 pages. I have no idea if that book is full of typos and again need to debug it. I'm curious between the difference of "2nd edition Pro JavaScript Techniques, 2015" vs. your ninja book that you also co-authored with John.
I looked here for John's 2nd edition of the book:
http://www.apress.com/9781430263913
Professional JavaScript Techniques
Features, Functions, and Object
Creating Reusable Code
Managing JavaScript Code
The Document Object Model
Events
JavaScript and Forms
Introduction to Ajax
Other JavaScript Libraries
The Future of JavaScript
VS. your Ninja book:
http://www.manning.com/resig/excerpt_contents.html
Well, it appears you cover far more topics? I'm not sure if John's 2nd edition book covers closure etc.
As for Javascript: THE GOOD PARTS, that's 2008! But it does have Closure. Is the Syntax out of date in that 2008 book? My major worry with any book is ambiguity, or worse, difficult if not impossible to read / understand because I tend to require things to be verbose and use of words clear and defined, otherwise, I would be re-reading it again and again, and just go into frustration mode.
I also do have a copy of "JavaScript and JQuery: Interactive Front-End Web Development" - bought it because I thought it had tons of reviews, but I found the explanation not verbose enough where I'm lost / have more questions due to ambiguity. That went back to the shelves, and the binding was horrible! I did find Beginning Javascript 4th edition to be very good because he literally explain through the code, but unfortunately, it's dated, 2010. Closures is on page 501, and maybe just one sentence or so if not a page?
Thanks for your time, and hope you don't mind be writing so much.