CertForums.com IT Certification Forum Homepage
Results 1 to 3 of 3

JavaScript: The Missing Manual

You are viewing a topic in the Reviews forum part of the Articles, Reviews and Interviews category.

  • Share:
  1. #1
    Yottabyte Poster tripwire45's Avatar
    Posts
    14,265
    Join Date
    29 Jun 2003
    Location
    Boise, ID, USA
    Country
    United States Country Flag
    Liked
    6 times
    Rep Power
    99

    JavaScript: The Missing Manual

    Author: David Sawyer McFarland
    Format: Paperback, 543 pages
    Publisher: Pogue Press ( July 15, 2008 )
    ISBN-10: 0596515898
    ISBN-13: 978-0596515898

    Review by James Pyles
    September 21, 2008

    This review has been a long time coming...mainly because I've been having such a good time with this book. That said, the title is a bit misleading. It's not really "The book that should have been in the box" (even if JavaScript came in a box) since a "box of generic JavaScript" wouldn't have come with half of what this book contains. In fact, I'm not really sure the reader will come away with a solid foundation in JavaScript after reading McFarland's book. Let me explain.

    I suppose that last statement was somewhat unfair, because a good number of the chapters in "Part One: Getting Started with JavaScript" really do cover the somewhat standard and required fare for learning JavaScript, assuming you've never programmed before. However, the thrust of this book is less about teaching the reader "vanilla" JavaScript and more about teaching the reader how to do some very cool and practical stuff with webpages. As far as a book teaching a neophyte web developer how to use JavaScript to alternately color table rows, validating web forms, creating tooltips, slideshows, and incorporating Google maps into a site, McFarland's efforts are a near-perfect success. However, the way the reader learns to accomplish these tasks isn't usually presented in a beginning JavaScript guide.

    Ever hear of jQuery? Programming newbies don't usually learn about libraries straight off the bat. It's typically more important to become well versed in the basics of a language before delving into any advanced materials. In this case, the "basics" are covered in the first 6 or so chapters and then jQuery is introduced as the "secret" ingredient in how to add lots of dynamic style and functionality to a website. Oh, for those of you who haven't heard of jQuery, Wikipedia and jquery.com are excellent resources to help you fill in the gaps.

    Right now, I work with a group of software gurus as the company's technical writer, documenting their work on a web application designed to add security for businesses involved in eCommerce (which is just about everyone). As I was reading through McFarland's book, I started to notice that the tutorials he presented looked familiar. I checked a number of the dynamic effects on my employer's test web app and sure enough, they were almost the same. A quick peek under the hood and I saw that the gurus were using jQuery libraries to accomplish some of the same tasks that McFarland includes in his book. Talk about practical.

    I maintain a few websites for various non-profit organizations and I decided to apply some of the tutorials to these sites as a test run. It took a little tweaking to turn the book's tutorials into something I could use in production, but by and large, the lessons go far and above what most other JavaScript books provide in terms of real world material.

    The book isn't perfect. While the tutorials in print seemed to be presented correctly for the most part, some of the files I downloaded from the author's site didn't quite work as advertised. The downloadable code samples are divided into those webpage examples you work on with the book and their counterparts which are complete. That way, if you have introduced a problem in your work, you can compare it against an identical page that works as advertised, to see where you might have gone wrong. I did encounter one of these "completed" pages that had an error and didn't work right (though it was a good lesson for me since I debugged and fixed it).

    While most of the chapters contained more than enough tutorials, a few chapters such as Chapter 4 could have used more. One thing I liked is that the AJAX chapters required the reader to set up a small, testing web server. Nothing fancy, but it really gives the audience a chance to see how a JavaScript enabled webpage interacts with a web server rather than having to "fake it" as many other books do. My only complaint is that only a single tutorial really required this. If McFarland is going to have the reader go through the effort of setting up a web server, why not really exploit the opportunity.

    Another thing I liked about the tutorials is that it required the reader to actually keyboard in the relevant bits of code into the example pages. This is the only way to learn to code (by doing it) and copying and pasting doesn't teach a thing by comparison. There is no substitute when learning a programming language (or most other things) to a tutorial-driven textbook.

    Of course, since jQuery does most of the heavy lifting through most of the book, there's a limit as to how much actual JavaScript the reader really learns. If only results count, then that won't matter to you, I suppose. There's plenty of material that will lend itself to helping you really jazz up your website, just by plugging in some jQuery and adding a few lines of JavaScript and a relevant CSS style sheet. On the other hand, if you had your heart set on becoming a JavaScript guru after reading this book, look for another text. If you plan on becoming a jQuery guru, you'll need to read even more books.

    Do I recommend this book? Absolutely. However, I don't think it has the right title and maybe it shouldn't even have been published in the "Missing Manual" series since pure JavaScript, it's not. The book will teach you some very practical, usable lessons on using JavaScript, jQuery, and CSS to improve interactivity in most websites (and I can see why McFarland's CSS: The Missing Manual was such a success...wouldn't mind reviewing it, either). The author leverages his significant expertise in web development to offer a package between the covers of this book that just about can't be beat. If you want to learn JavaScript through and through, this book probably won't do it for you. If you want to learn to do things for real world websites, this book is a must.

  2. Posts
    666
    Join Date
    6 June 2003
    Location
    Somewhere in Germany
     

  3. #2
    New Member
    Posts
    1
    Join Date
    07 Mar 2009
    Liked
    0 times
    Rep Power
    4
    How do I turn Javascript on using Mozilla Firefox? When I go on YouTube, it gives me a message that says you either have Javascript turned off or you have a older version of Flash Player. I've tried going to Tools>Options, but it says Javascript is enabled and still it won't work. Someone help!

  4. #3
    Moderator Sparky's Avatar
    Posts
    9,893
    Join Date
    15 Dec 2005
    Location
    Scotland
    Liked
    57 times
    Rep Power
    98
    If you go to this link does the flash component work ok?

    http://www.adobe.com/products/flashplayer/

Similar Threads

  1. Photoshop CS3 Missing Manual teaser
    By Mitzs in forum Web Development & Web Hosting
    Replies: 6
    Last Post: 25-Jun-2008, 08:16 AM
  2. Photoshop CS3 Missing Manual will be out!
    By Mitzs in forum Web Development & Web Hosting
    Replies: 0
    Last Post: 27-May-2008, 07:59 PM
  3. Problem with calling JavaScript from a remote site
    By tripwire45 in forum Scripting & Programming
    Replies: 2
    Last Post: 27-Mar-2008, 03:51 PM
  4. iPhone: The Missing Manual
    By tripwire45 in forum Reviews
    Replies: 1
    Last Post: 19-Nov-2007, 09:19 PM
  5. Review: Beginning JavaScript 3rd Edition
    By tripwire45 in forum Reviews
    Replies: 0
    Last Post: 24-May-2007, 10:10 PM