JavaScript 24-Hour Trainer

Author: Jeremy McPeak
Publisher: Wrox, 2010
Pages: 456
ISBN: 978-0470647837
Aimed at: Existing programmers
Rating: 4
Pros: Highly practical and includes video lessons
Cons: Doesn't take object-oriented aproach
Reviewed by: Ian Elliot

The 24-hour series from Wrox with book and DVD packages - does this format help?

Personally, I much prefer reading about things I'm trying to learn - it's easier because I can skip bits that are going too slowly and it's more convenient because I can read anywhere without annoying anyone. This book is a fairly standard introduction to JavaScript but with the added feature of having a DVD with video lessons bound into the back. I'm going to review it first and foremost as a book rather than a video course. 

 

Banner

 

Part I of the book starts from the very basic idea of embedding a script in a web page and moves up through nine lessons to prototypes and inheritance. The lessons start fairly slowly - what is a variable, data types, operators and so on. Lesson 3 deals with functions and it is here that the level starts to ramp up with not only the creation of functions but passing them around as if they were values. Lesson 4 introduces the If statement, 5 the for loop, 6 deals with the tricky matter of scope and 7,8 and 9 deal with objects. At the end of Part I you should have a basic idea of how JavaScript works but you will not have seen enough code to really know if you have mastered anything.

Part II is all about putting JavaScript to work and it is here that you will discover how it all works in practice. The focus of the 27 lessons in this part is essentially using the DOM to work with HTML dynamically in script. It also covers some of the problems of working with different browsers. Later lessons are about topics such as animation, timers, drag-and-drop, working with forms and of course, Ajax techniques.  In this part of the book there is a lot of JavaScript code to look at and sometimes the explanations look a little thin.

The final part of the book is on matters such as error handling, debugging, best practices and so on. It also deals with topics such as code optimisation and code style. 

Overall the book takes a good modern approach to JavaScript which emphasizes its good points and warns about its bad points. It is reasonably advanced in that it explains how objects work but it doesn't go the whole way and take an object-oriented approach to coding JavaScript. This is probably reasonable given the level it is working at and the sort of tasks it considers. For the same reasons it doesn't go into the more advanced aspects of JavaScript such as using closures or functional programming - this is also probably the right thing to do.

The lessons are all quite short, which is an advantage but it can mean that a lot of ground is covered and you need to keep up. The book probably isn't suitable for the complete beginner unless they are prepared to work fairly hard. The videos help in that they walk you through the examples and provide comments which aren't in the book. 

If you are looking for an introduction to JavaScript that focuses mainly on how you use it within a browser this is a good choice. 


Banner


Android Programming: The Big Nerd Ranch Guide (5e)

Authors: Bryan Sills, Brian Gardner, Brian Hardy and Kristin Marsicano
Publisher: Addison-Wesley
Pages: 688
ISBN: 978-0137645541
Print: 0137645546
Kindle: B09WLF84W7
Audience: Kotlin programmers
Rating: 4.5
Reviewer: Mike James  

The Big Nerd Ranch Guide to Android is bac [ ... ]



Administering Relational Databases on Microsoft Azure

Author: Prashanth Jayaram et al
Publisher: Independent
Pages: 622
ISBN: 979-8706128029
Print: B08Y4LBTP4
Kindle: B08XZQJHMK
Audience: Azure DBAs
Rating: 2 or 4 (see review for details)
Reviewer: Ian Stirk

This book aims to help you pass the Azure Relational Database exam DP-300, how does it fare?


More Reviews

Last Updated ( Wednesday, 23 March 2011 )