JavaScript Step by Step (2e) |
JavaScript Step by Step
Author: Steve Suehring Almost every developer has to use JavaScript from time to time. Is this the book to help you do it? JavaScript Step by StepAuthor: Steve Suehring This book doesn’t really present a step-by-step guide to JavaScript. Instead it gives a fairly conventional introduction to the subject and its associated technologies. Examples are given using Visual Studio, Eclipse and a basic NotePad style of creating and testing scripts.The use of Visual Studio makes it more suitable for the programmer looking to add JavaScript to ASP.NET pages. Oddly for a Microsoft-oriented book the debugging tool used is Firebug rather than the Developer tools in IE. It starts out fairly slowly and gives plenty of time for the beginner to follow what is going on. However the author doesn’t seem to have a very clear idea of the intended audience and there are often terms and ideas introduced that aren’t part of the natural flow of development. As long as you ignore these and press on then eventually everything makes sense. The early part of the book deals with the basic ideas of programming using JavaScript and while there is some attempt at presenting them in an organised fashion eventually this collapses into a reference style list of everything that belongs in a category with no attempt at grading the material into beginner and advanced. For example, why bother the beginner with the “void” operator in a section on operators and statements. Similarly when we reach the chapter dealing with control structures every possibility is presented in an exhaustive manner. There is some new material on the latest version of JavaScript - ECMAScript 5 but not much guidance on where and how to use this. Eventually we do reach object-oriented programming, but mainly because the second half of the book deals with using JavaScript within a web page and this means you can’t avoid considering the DOM and this means you can’t avoid objects. From here on in topics are presented in a task-oriented order – using forms, implementing cookies, using images and inevitably Ajax techniques. A new section on using JQuery, with an intro to the idea of JavaScript libraries, is just about enough to get you interested without telling you enough to make use of it. If JQuery is the way you want to go you will need another book. Nothing is treated in great depth and you won't discover any amazing tricks to revolutionise your web page but you should be able to understand how it all works. It certainly doesn't characterise Javascript as a powerful object oriented language - more a sort of boring and very basic scripting language with a few extras bolted on. Overall this is a book suitable for the almost complete beginner who knows something about HTML and CSS and wants to find out how JavaScript works and how it can be used. It certainly isn't for the programmer who wants to explore JavaScript and use it in advanced ways.
|
|||
Last Updated ( Monday, 17 January 2011 ) |