e99 Online Shopping Mall

Geometry.Net - the online learning center Help  
Home  - Computer - Javascript (Books)

  1-20 of 100 | Next 20

click price to see details     click image to enlarge     click link to go to the store

 
$12.71
1. JavaScript Definitive Guide
$19.49
2. Head First JavaScript (Head First)
$23.73
3. Pro JavaScript Techniques (Pro)
$14.69
4. JavaScript and Ajax for the Web,
$23.99
5. JavaScript & DHTML Cookbook
$26.99
6. Pro JavaScript Design Patterns
$25.76
7. Beginning JavaScript
$22.86
8. Simply JavaScript
$23.48
9. The Art & Science of JavaScript
$24.82
10. JavaScript Bible
$13.29
11. JavaScript: A Beginner's Guide,
$23.99
12. ppk on JavaScript, 1/e (VOICES)
$14.92
13. Learning JavaScript (Learning)
$19.97
14. Professional JavaScript for Web
$12.40
15. JavaScript for Dummies
$5.30
16. JavaScript Pocket Reference (2nd
$11.77
17. JavaScript Demystified
$24.00
18. JavaScript for the World Wide
$27.90
19. Practical JavaScript, DOM Scripting
 
$39.78
20. JavaScript, Third Edition

1. JavaScript Definitive Guide
by David Flanagan
 Paperback: 776 Pages (1998-07-15)
list price: US$39.95 -- used & new: US$12.71
(price subject to change: see help)
Asin: B00005UL4F
Canada | United Kingdom | Germany | France | Japan
Editorial Review

Amazon.com
Provides a rapid and thorough exposition of the JavaScript programming language, as well as an in-depth reference section covering each JavaScript function, object, method, and even handler. Experienced programmers will quickly find the information they need to start writing JavaScript programs.Book Description
JavaScript is a simple programming language from Netscape that can be embedded in your HTML web pages.It allows you to control the behavior of the web browser, add dynamically created text to your web pages, interact with the user through HTML forms (without CGI scripts), and, in version 3.0 of Netscape Navigator, even control and interact with Java applets and Navigator plugins.JavaScript is not an alternative to Java, but an ideal partner.The two languages have separate but very complementary features.Since JavaScript is a simple language that can be embedded directly into a web page, without need for compilation, it is accessible to more web page authors, and may actually have a larger short-term impact on the Web and on Internet computing than Java itself. This book is a definitive guide for JavaScript.The first eight chapters document the core JavaScript language, and the next six describe how JavaScript works on the client side to interact with the web browser and with the web page.These chapters are followed by acomplete reference section that documents every object, property, method, event handler, function, and constructor used by client-side JavaScript.This book also covers the use of JavaScript on web servers, as well as the object, properties, and methods of server-side JavaScript.A separate reference section documents the interaction between JavaScript and HTML -- mainly aspects of HTML that relate to JavaScript.

The book describes the version of JavaScript shipped with Navigator 2.0, 2.0.1, and 2.0.2, and also the much-changed version of JavaScript shipped with Navigator 3.0, 3.0.1, and 3.0.2.It also covers LiveConnect,used for communication between JavaScript and Java applets, and commonly encountered bugs on JavaScript objects. ... Read more


2. Head First JavaScript (Head First)
by Michael Morrison
Paperback: 650 Pages (2008-01-11)
list price: US$39.99 -- used & new: US$19.49
(price subject to change: see help)
Asin: 0596527748
Average Customer Review: 4.5 out of 5 stars
Canada | United Kingdom | Germany | France | Japan
Editorial Review

Book Description
So you're ready to make the leap from writing HTML and CSS web pages to creating dynamic web applications. You want to take your web skills to the next level. And you're finally ready to add "programmer" to the resume. It sounds like you're ready to learn the Web's hottest programming language: JavaScript. Head First JavaScript is your ticket to going beyond copying and pasting the code from someone else's web site, and writing your own interactive web pages.

With Head First JavaScript, you learn:

  • The basics of programming, from variables to types to looping
  • How the web browser runs your code, and how you can talk to the browser with your code
  • Why you'll never have to worry about casting, overloading, or polymorphism when you're writing JavaScript code
  • How to use the Document Object Model to change your web pages without making your users click buttons
If you've ever read a Head First book, you know what to expect -- a visually rich format designed for the way your brain works. Head First JavaScript is no exception. It starts where HTML and CSS leave off, and takes you through your first program into more complex programming concepts -- like working directly with the web browser's object model and writing code that works on all modern browsers.

Don't be intimidated if you've never written a line of code before! In typical Head First style, Head First JavaScript doesn't skip steps, and we're not interested in having you cut and paste code. You'll learn JavaScript, understand it, and have a blast along the way. So get ready... dynamic and exciting web pages are just pages away. ... Read more

Customer Reviews (8)

3-0 out of 5 stars After Head First HTML/CSS could be better
I finished the HTML book from Head First and was immediately able to jump right into designing web pages. I assumed that Head First JavaScript would do the same for interactive web pages. Although this book may be the best book on Javascript? dont know? it has so far been a little disappointing after the very high standard that was set and the concepts are not getting into my head the same way. Not enough time is spent on some concepts and it is not laid out nearly as clear. Also the website code is all on one line so it can't be easily viewed and the different versions of each project are not indexed in the book. I understand that this subject is much more difficult but perhaps this could have been done better

5-0 out of 5 stars It's HOW you learn, first.
The authors are all very well versed in the topics and content at hand.However, they are concerned with HOW you learn, first, and then WHAT you learn.The material is presented in an array of learning styles.There are positive, simple, hands on examples and all the support you could ask for via the publishers site from code to forums for questions.This book is NOT for someone looking for a quick refrence guide.But, if you really want to learn the topic in realistic terms then it's wonderful.As someone with a degree in Education I would say that this book is written with learning in mind... you will learn it if you committ to it.

3-0 out of 5 stars A good book, but not all it could be.
Let me begin by saying that Head First Javascript is a good book, at least compared to any other JS books I've seen. It isn't, however, a particularly good "Head First" book.

What I mean by this is that the other Head First books I've used (XHTML & CSS, SQL, and C#) have been highly interactive, easy to use, and really got the concepts into my head. I was amazed that, after just a few days with these books, I could actually build professional-looking web pages that were rigorously standards compliant; or create complex applications in C# quickly and easily; or navigate the intricacies of building and using SQL databases. The Head First method certainly seemed to work.

So when I heard the HF people were producing a JS book, I was overjoyed. Sadly, it's been a bit of a letdown. The book smacks strongly of rushed production, lacking many of the features that makes the HF series special. For example, in the C# book, the authors take the reader through application construction in a step-by-step manner, carefully explaining everything as they go. The effect is of a very knowledgeable teacher standing over your shoulder and guiding you while you code. The reader is actively involved in every exercise, building their code from scratch. There are copies of every piece of code available for download at Head First's website, but these are merely tools for checking the reader's work.

In the Javascript book, however, much of the interactivity is missing. The book reads like a walkthrough of the code samples, with most of the user participation taking the form of pencil and paper exercises. The reader could actually complete the book without switching on her PC. Even the code solutions on the HF website seem to be just tossed up there, with the page numbers each example refers to contained in a Read Me file (the book itself just contains a general instruction to grab the code from the website, without any indication of which code).

This all sounds pretty negative, and I must confess to being somewhat disappointed with the book. That said, it's still far superior to any other JS book I've tried. By the end of Head First Javascript, I did feel that the general scope of Javascript had sunk into my brain. I had a feeling for its overall structure and the ways in which it could be applied. I know that I can now tackle a more advanced JS book and absorb the concepts much more easily.

What I don't feel is ready to sit down and write Javascript. The whole experience with this book was just too fragmentary and too lopsidedly didactic. The experience was insufficiently hands-on to enable me to become comfortable with the nitty gritty of JS scripting. When I finished HF's C#, XHTML, and SQL books, I could sit down and churn out code, with only a few O'Reilly Pocket Guides beside me to refresh my memory on syntax and structure. That's not been the case with Javascript.

Head First Javascript just seems to lack the "stickiness" of the other titles in the series.

4-0 out of 5 stars I love Head First books, but...
I just received my copy if Head First JavaScript 20 minutes ago and I'm already a little disappointed because it's all on black and white and the paper quality is not as good as other Head First Books.

Don't get me wrong, I believe that Head First Series are the best way to learn anything because of the great examples and clever use of images, it's just that those images in Black and white aren't what I was expecting.

5-0 out of 5 stars An Excellent Book to Learn JS
I am a self-taught web developer, and owned several books on HTML and JavaScript.I taught myself HTML easily as it is an easy coding material, and I used Head First series and Missing Manual, and both are fine.

However, I got no way for JS, even though I browsed several books, and always spent time in the library.With those books, I always got stuck after reading several chapters, or I was bored by the contents and won't find interest to go on.

But for HF JS, the approach is different, and I find the content more enjoyable with diagrams and teaching materials.Also, the teaching methods and style are totally different from other books, that a beginner should have interest to wade on.As well, the contents are related with web, unlike other books that chiefly aim to teach you programming language.I wish other computer books should be good for reading, rather than providing you with loath and heaps uninteresting materials, and try to stick into your mind.

A good place to start with, and a good buying.And I look forward to expect Head First PHP, that I found other books not come to my needs as a beginner. ... Read more


3. Pro JavaScript Techniques (Pro)
by John Resig
Paperback: 384 Pages (2006-12-11)
list price: US$44.99 -- used & new: US$23.73
(price subject to change: see help)
Asin: 1590597273
Average Customer Review: 4.5 out of 5 stars
Canada | United Kingdom | Germany | France | Japan
Editorial Review

Book Description

Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, like basic syntax and structures.

Expert web developer and author John Resig concentrates on fundamental, vital topics&emdash;what modern JavaScripting is (and isn't), the current state of browser support, and pitfalls to be wary of. The book is organized into four sections:

  • Modern JavaScript development&emdash;using JavaScript the object-oriented way, creating reusable code, plus testing and debugging
  • DOM scripting&emdash;updating content and styles, plus events, and effect and event libraries
  • Ajax&emdash;how Ajax works, overcoming problems, and using libraries to speed up development of Ajax applications
  • The future of JavaScript&emdash;looking at cutting edge topics like JSON, HTML 5, and more

All concepts are backed up by real-world examples and case studies, and John provides numerous reusable functions and classes to save you time in your development. There are also up-to-date reference appendixes for the DOM, events, browser support (including IE7), and frameworks&emdash;so you can look up specific details quickly and easily.

... Read more

Customer Reviews (15)

3-0 out of 5 stars breadth but no Depth
Book has lots of examples.Many involve using libraries such as Prototype and JQuery.But, if you are not already familiar with using those libraries, the examples will not make much sense.And considering the typos in the straight JavaScript examples, it left me wondering about the validity of the library demos.Written in the style of a blogger where the author expects you to follow a link to a library's web page and then come back before you can understand the example.If I'm paying for a book to cuddle up with to read on a winter's night, I want it to be self contained - and not expect me to reach for the laptop to read up on the syntax of another library.It also didn't even touch upon one of the more difficult to grasp "Pro" techniques - scoping of "this" when using object methods during AJAX callbacks in the author's own code examples or the various libraries he touts.

4-0 out of 5 stars If you want to know the next step
If you are an intermediate javascript developer, and you want to know what to learn next in the javascript language this book is for you. Inside you will find concise information about several obscure javascript elements which will make your coding more effective once you master them.

5-0 out of 5 stars Ready for Level 2?
After writing disorganized (yet effective) JavaScript functions for seven years, I really wanted to get more out of the language.I wanted to code more efficiently.As each new project started, I found myself scurrying to find old functions strewn across different computers or servers.Even when I found this code, I would often need to make some significant changes to it.

So, I did what any self-taught front-end developer would do: I hit the online tutorials.Online tutorials didn't really do it for me, though.The good tutorials seemed too short, and I kept reverting back to sloppy coding after a few days.

Then I came across this book.

The examples are excellent in demonstrating how the language can really work for you if you're willing to put the time into it.That being said, this book is not for beginners.This book is probably best for three groups of people:

1) Intermediate JavaScript developers who are ready to finally adopt code reuse and reap the nice things a loosely typed, object-based language can give you.

2) Java/C++ programmers who need to pick up JavaScript for a project.These people are already familiar with OO concepts and will probably have an easier time learning the language from a book like this.

3) Ambitious beginners with a lot of patience.

After only 3 chapters, I started to think about JavaScript in a different way.For the first time ever, I found myself reusing code with little to no change required.My code was easier to read, too.

I'm a big proponent of activities that give back the time you invest.Bad books don't do this.Good ones, like this book, do.

5-0 out of 5 stars Pro Javascript - the title says it all
How refreshing to finally get a book written by a pro for pros, one that does not spend the first half trying to teach one how to program. Instead, it is assumed you know your stuff, know languages in general, but need a deep reference for what makes Javascript different, and where its power lies. Even the introduction taught me stuff I needed to know, about Javascript, and not about how to write a program.

If you are an experienced pro, but in classical languages (C/C++/C# etc), but are moving into AJAX, this is the book to get. And use Firebug in Firefox to follow along. The debug environment that provides is an eye-opener in itself.

5-0 out of 5 stars John Resig is brilliant and so is Pro JavaScript Techniques
Let me begin this review by mentioning, I've never had the desire to write a review for any of my 100+ owned technical literature pieces. John Resig's
Pro JavaScript Techniques (Pro) has inspired me to login and give three thumbs up for this phenomenal book.

Getting into John Resig's brain, author of the innovative library jQuery (www.jquery.com), has been nothing short of an exciting ride. The author makes Object Orientated JavaScript surprisingly simple to understand, as well as thorough understanding of the DOM, Events models, Ajax and many other contemporary styles of JavaScript as its written by professionals today.

I no longer reference any of my other JavaScript books. Instead opening up John's piece proves valuable over and over when in need of a refresher or a utility function for my web applications.

For any web developer who's serious about writing clean, powerful, unobtrusive JavaScript code -- look no further than John Resig's Pro JavaScript Techniques. ... Read more


4. JavaScript and Ajax for the Web, Sixth Edition (Visual QuickStart Guide)
by Tom Negrino, Dori Smith
Paperback: 512 Pages (2006-09-07)
list price: US$24.99 -- used & new: US$14.69
(price subject to change: see help)
Asin: 0321430328
Average Customer Review: 3.5 out of 5 stars
Canada | United Kingdom | Germany | France | Japan
Editorial Review

Book Description
Need to learn JavaScript fast? This best-selling reference’s visualformat and step-by-step, task-based instructions will have you up andrunning with JavaScript in no time. In this completely updated editionof our best-selling guide to JavaScript, leading Web and computingexperts Tom Negrino and Dori Smith use crystal-clear instructions andfriendly prose to introduce you to all of today's JavaScriptessentials. Along the way, you'll find extensive coverage of Ajax andXML techniques, current browsers (Opera, Safari, Firefox), and more.

Visual QuickStart Guide--the quick and easy way to learn!

  • Easy visual approach uses pictures to guide you through JavaScript and show you what to do.
  • Concise steps and explanations get you up and running in no time.
  • Page for page, the best content and value around.
  • Companion Web site at www.javascriptworld.com offers sample scripts, updates, and more!

... Read more

Customer Reviews (14)

3-0 out of 5 stars All Examples - Not too Much Explanation
I'm an experienced procedural php, xhtml and css developer with litter foundational knowledge about javascript. I purchased this book to fill that gap and was a little disappointed. It's not a bad book but it assumes a lot and has little instructional flow. The book scrolls though one example after another without much explanation for the actual language constructs behind javascript.

The author states that this book is not for beginners and I don't consider myself to be one, however, I'd advise anyone looking to buy this book to have a solid understanding of object oriented programming principals before they do so.

Overall it's not a bad book for a certain audience but it lacks foundational, and in my opinion vital, information about javascript.

2-0 out of 5 stars Not the best learning tool
This book gives some nice examples of usable code for a few common uses but doesnt give a very good explanation of what is being done and why. if you have great programming experience and a excellent knowledge of the DOM this book would be good way to get some javascript going, but for the average person looking to learn how javascript works and apply it in other ways than those shown in the book you are better off elsewhere.

2-0 out of 5 stars Not for Dummies (ie me)
Ok, let me put it this way. If you don't understand what "concatenated" means or "string" (in the computing sense) or are iffy on whether or not you know what a "boolean" is, this book is not for you. I simply could not follow this book, as it briskly takes you through one example after another without really taking the time to stop and explain concepts. I can see how this format can be helpful for people who have at least some programming experience and don't need a whole paragraph devoted to the word "concatenate," but for dodos like me, this book is too hard. There are books out there that really take the whole process apart and explain underlying concepts in depth, and I'd recommend one of those over this for most people.

5-0 out of 5 stars Easy to Understand
This book is really clear and easy to understand. Other programming books have left me with questions. Not this one!I am very satisfied with the purchase.

5-0 out of 5 stars Great help for beginner javascript programmers
This book is great for beginner programmers who have little experience in javascript or any other scripting language. Out of the several books and resources I have read, this was by far the easiest to follow and work my way through. It takes a practical approach and shows you how to get things done. ... Read more


5. JavaScript & DHTML Cookbook (2nd edition)
by Danny Goodman
Paperback: 604 Pages (2007-08-08)
list price: US$44.99 -- used & new: US$23.99
(price subject to change: see help)
Asin: 0596514085
Average Customer Review: 4.5 out of 5 stars
Canada | United Kingdom | Germany | France | Japan
Editorial Review

Book Description
In today's Web 2.0 world, JavaScript and Dynamic HTML are at the center of the hot new approach to designing highly interactive pages on the client side. With this environment in mind, the new edition of this book offers bite-sized solutions to very specific scripting problems that web developers commonly face. Each recipe includes a focused piece of code that you can insert right into your application.

Why is JavaScript & DHTML Cookbook so popular? After reading thousands of forum threads over the years, author and scripting pioneer Danny Goodman has compiled a list of problems that frequently vex scripters of various experience levels. For every problem he addresses, Goodman not only offers code, but a discussion of how and why the solution works. Recipes range from simple tasks, such as manipulating strings and validating dates in JavaScript, to entire libraries that demonstrate complex tasks, such as cross-browser positioning of HTML elements, sorting tables, and implementing Ajax features on the client.

Ideal for novices as well as experienced scripters, this book contains more than 150 recipes for:

  • Working with interactive forms and style sheets
  • Presenting user-friendly page navigation
  • Creating dynamic content via Document Object Model scripting
  • Producing visual effects for stationary content
  • Positioning HTML elements
  • Working with XML data in the browser
Recipes in this Cookbook are compatible with the latest W3C standards and browsers, including Internet Explorer 7, Firefox 2, Safari, and Opera 9. Several new recipes provide client-side Ajax solutions, and many recipes from the previous edition have been revised to help you build extensible user interfaces for Web 2.0 applications. If you want to write your own scripts and understand how they work, rather than rely on a commercial web development framework, the JavaScript & DHTML Cookbook is a must. ... Read more

Customer Reviews (23)

5-0 out of 5 stars excellent reference
I still have the first edition of this book but other than perhaps missing the chapters on ajax it's not outdated at all. This book has saved my life several times already.Almost every time I am looking to solve a tricky problem in javascript, I find that this book contains a well explained chapter with the exact solution that I was looking for. The authors often make a point of going through multiple iterations of a solution, to demonstrate what needs to be modified to support certain browsers, and at the same time ensure that the reader actually understands the code too.

This is a great book for experienced javascript developers who want to save time by using tried and tested code to solve common problems, but at the same time understand that code too.

5-0 out of 5 stars Great!
This is a great book for beginners and experts. For beginners, he offers clear examples on how to get started in solving real world problems with Javascript. For experts, this offers a great refresher on how to do things right.

4-0 out of 5 stars A lot of good information, time-saver
Problem solution format is ideal for the topic.DHTML is best served by this format.I was able to solve some problems I was working on and improve some of my existing code with the recipes presented.

A little more emphasis on cross-browser compatibility than I needed.

I would recommend this to developers who need examples of common page creation issues in JavaScript.

5-0 out of 5 stars Another jewel from veteran tech writer Danny Goodman
This book is for people who already know the basics of Javascript/DHTML and are looking for examples of solving specific problems using the technology. If you've seen O'Reilly's programming cookbooks before, then you are familiar with the format. This book is separated into fifteen chapters of recipes. The recipes start out simple covering concepts such as strings, numbers, dates, arrays, and objects. They progress in complexity to browser issues and managing multiple frames. The book ends with recipes on creating dynamic content. Each recipe is divided into a problem statement, a brief paragraph describing the solution, and a detailed discussion of the solution including code and a breakdown of that code. Screenshots are shown if appropriate. At the end of the discussion, related recipes are mentioned if they exist. The book does not spend much time trying to differentiate between Dynamic HTML and Javascript since DHTML is basically Javascript. If you already have "The Definitive Guide" for these technologies, this is the perfect companion for finding the answers to specific problems. Highly recommended.

5-0 out of 5 stars Forget the rest..............GET THIS BOOK!
In the world of .NET, there is asp.net Profressional from Wrox Press..........NOW, in the world of JavaScript, there is this book...........IT'S TREMENDOUS............it's NOT ONLY a Cookbook, it has the theory behind JavaScript ESSENTIALS (variables, strings, objects, windows, document, the list goes on and on) THAT YOU WON'T FIND ELSEWHERE.I can't say enough about this book.I have "dabbled" in JavaScript for years, NEVER feeling comfortable with it.........now, thanks to this book, I do! ... Read more


6. Pro JavaScript Design Patterns
by Ross Harmes, Dustin Diaz
Paperback: 269 Pages (2007-12-10)
list price: US$44.99 -- used & new: US$26.99
(price subject to change: see help)
Asin: 159059908X
Average Customer Review: 4.5 out of 5 stars
Canada | United Kingdom | Germany | France | Japan
Editorial Review

Book Description

As a web developer, you’ll already know that JavaScript™ is a powerful language, allowing you to add an impressive array of dynamic functionality to otherwise static web sites. But there is more power waiting to be unlocked&emdash;JavaScript is capable of full object-oriented capabilities, and by applying OOP principles, best practices, and design patterns to your code, you can make it more powerful, more efficient, and easier to work with alone or as part of a team.

With Pro JavaScript Design Patterns, you’ll start with the basics of object-oriented programming in JavaScript applicable to design patterns, including making JavaScript more expressive, inheritance, encapsulation, information hiding, and more. With that covered, you can kick-start your JavaScript development in the second part of the book, where you’ll find detail on how to implement and take advantage of several design patterns in JavaScript, including composites, decorators, façades, adapters, and many more.

Each chapter is packed with real-world examples of how the design patterns are best used and expert advice on writing better code, as well as what to watch out for. Along the way you’ll discover how to create your own libraries and APIs for even more efficient coding.

  • Master the basics of object-oriented programming in JavaScript, as they apply to design patterns.
  • Apply design patterns to your kick-start your JavaScript development.
  • Work through several real-world examples.

What you’ll learn

  • How to apply object-oriented programming techniques in JavaScript
  • How to take advantage of inheritance, interfaces, and encapsulation and information hiding to kick-start your JavaScript development
  • How to implement several design patterns in your JavaScript projects, including factory, façade, bridge, composite, adapter, decorator, flyweight, proxy, command, observer, and chain of responsibility
  • How to make your code easier to manage in a team environment, as well as on your own
  • How to create your own libraries and APIs

Who is this book for?

This book will be an invaluable learning tool for any experienced JavaScript developer.

About the Apress Pro Series

The Apress Pro series books are practical, professional tutorials to keep you on and moving up the professional ladder.

You have gotten the job, now you need to hone your skills in these tough competitive times. The Apress Pro series expands your skills and expertise in exactly the areas you need. Master the content of a Pro book, and you will always be able to get the job done in a professional development project. Written by experts in their field, Pro series books from Apress give you the hard-won solutions to problems you will face in your professional programming career.

Related Titles

  • Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional
  • Pro JavaScript Techniques
  • Pro DOM Scripting with Ajax, APIs, and Libraries
  • Practical JavaScript ™, DOM Scripting, and Ajax Projects
... Read more

Customer Reviews (3)

5-0 out of 5 stars A more thorough treatment of advanced JS concepts would be hard to find
This book provides one of the more thorough treatments of some of the more advanced javascript idioms/concepts - it's not aimed at the beginner - and it does have some typos (for e.g defining functions as obj.fun() { } vs obj.fun = function() {...} - and while i haven't completed reading it (it is a design patterns book after all) - I have been quite impressed with it's initial chapters (encapsulation, inheritance, singletons etc.)
And as you would expect, this book does make it easier to follow library code written using the class-based OO pattern (such as extjs).


5-0 out of 5 stars Want to be a JavaScript guru? Don't miss this one!
A bit hard to read unless you have the detailed knowledge of JavaScript and design patterns. Lack of figures to represent how things work and the idea behind all these.

Other than that, this is one of the GREATEST books about JavaScript you can find in the market, especially for those who want to know more about the JavaScript and design pattern.

4-0 out of 5 stars An excellent title for experienced JavaScript developers
Design patterns, and particularly their application in dynamic languages can be a controversial topic, and every now and again another round of blog posts bubbles up appalled at the way a new group of programmers have become infatuated with design patterns. Applied without care design patterns can quickly lead to over-engineered code that seems designed as much to draw on as many of the established patterns as possible as to solve the intended problem. But if applied with care, and with consideration of how a pattern applies in the context of your chosen language they can be a helpful way to draw on the wisdom of the coders that came before you, and make your code easier to understand to those who may inherit it.

Written by Dustin Diaz (of Google) and Ross Harmes (of Yahoo), Pro Javascript Design Patterns builds on experience of building complex, high profile javascript applications. That experience shows as each pattern is introduced with solid examples and sample code and then refined to provide looser-coupling, more flexibility and/or better performance.

Early on in the book I was concerned that some of the solutions could become too heavy and the early introduction of interfaces hinted at something akin to the early approaches to pattern usage in PHP, which often looked more like an attempt to turn PHP into Java than a way to use PHP's own features better. As the book goes on the usefulness of those interfaces, particularly for large development teams, becomes clear and most of those concerns are allayed, especially as the authors offer pros and cons for the use of each pattern and are clearly focussed on how these patterns can help produce more robust solutions.

Most of the patterns will have a fairly immediate impact for developers new to them, and even for those who have used them in other contexts it is helpful to see how they have been applied in JavaScript. Most modern JavaScript libraries rely on several of these patterns to abstract out handling of different browser quirks or adding new event types, and even if you rely heavily on one or more of the major libraries this guide may well help you understand their internals better.

I've sometimes been skeptical of books claiming to be targeted at an advanced target. Labels like "pro" are often handed out far too easily. But in this case it seems deserved. While the book does a good job of quickly introducing approaches to object-oriented programming in JavaScript, that's based on an assumption of a solid knowledge of the language and of OO development in at least one language. If you're a newcomer to JavaScript or just looking for a way to add a few fancy features to your web pages this isn't be book for you. But if you have some serious JavaScript development experience and are needing a way to tighten up your code to make it more modular and more maintainable, this book is well worth your time.

Disclaimer: I was sent a copy of this book for review by the publisher. ... Read more


7. Beginning JavaScript
by Paul Wilton
Paperback: 1006 Pages (2007)
list price: US$39.99 -- used & new: US$25.76
(price subject to change: see help)
Asin: B0000B0SXS
Average Customer Review: 4.5 out of 5 stars
Canada | United Kingdom | Germany | France | Japan
Editorial Review

Amazon.com
Suitable for learning basic programming for Web browsers, Beginning JavaScript is a patient, introductory tutorial on writing scripts successfully. It teaches you how to create client-side scripts (including full coverage of fundamentals like variables and flow control, plus plenty of screen shots.)

JavaScript is a good way to learn programming. It's powerful, of course, but the book takes small steps, using scripts that work with string and time data first, and then moving to manipulating browser objects like forms and windows. A running case study for a trivia game helps anchor the steps with a practical (and fun) example. There are plenty of tips on debugging your scripts (including how to use the Microsoft Script Debugger tool), and each section includes sample questions. (The book also offers extensive answers in over 80 pages at the end of the book.)

There's plenty of material on the differences between Internet Explorer and Netscape, especially when it comes to Dynamic HTML (DHTML). Coverage of the Document Object Model (DOM) for browsers helps bring the text up to date on some of the latest standards in Web browsers (including the new Netscape 6).

While the focus of Beginning JavaScript clearly is on the client, later sections turn to server-side ASP development (in which the sample trivia game is enhanced with ASPs written in JavaScript using ADO and Microsoft Access.) Reference sections on JavaScript and the browser object model for Internet Explorer and Netscape (through version 4.x) round out the material.

In all, with its approachable style and clearly rendered code examples, Beginning JavaScript makes for a worthwhile first book of programming for today's browsers. Even if you haven't programmed before, this text can give you the tools you need to bring your static Web pages to life. --Richard Dragan

Topics covered:

  • Introduction to JavaScript
  • Cross-browser compatibility issues
  • JavaScript data types and variables
  • Displaying errors
  • Calculations
  • Operators
  • String handling
  • Flow control statements
  • Loops
  • Introduction to using objects
  • The browser object model
  • HTML forms (including types of input controls)
  • Frames and windows
  • Tutorial for regular expressions
  • Advanced string methods
  • Date, time, and timer objects
  • Common errors
  • The Microsoft Script Debugger
  • Cookies
  • Dynamic HTML (DHTML) on Internet Explorer 4.0 and Netscape Navigator 4.x
  • The Document Object Model (DOM)
  • ActiveX controls and plug-ins used with JavaScript
  • Server-scripting
  • Introduction to ASP and databases (including SQL basics and database design with Microsoft Access)
  • Sample case study for a trivia game
  • Sample exercises and answers
  • References to JavaScript
  • Internet Explorer 4 and 5 and Netscape Navigator 4 objects
  • ASP object model reference
Book Description
What is this book about?

JavaScript is the preferred programming language for Web page applications, letting you enhance your sites with interactive, dynamic, and personalized pages. This fully updated guide shows you how to take advantage of JavaScript’s client-side scripting techniques for the newest versions of Netscape and Internet Explorer, even if you’ve never programmed before.

You begin with basic syntax and learn about data types and how to structure code for decision-making. Then you learn to use dates, strings, and other basic objects of JavaScript. Next, you see how to use JavaScript to manipulate objects provided by the browser, such as forms and windows. From there, you move into advanced topics like using cookies and dynamic HTML.

After you have a solid foundation, you explore dynamic generation of Web content using server-side scripting and back-end databases. And you practice what you learn by building a sample application as you go.

What does this book cover?

Here are some of the things you'll find in this book:

  • What types of data are used in JavaScript
  • How to identify and correct flaws in your code
  • Techniques for programming the browser
  • How to use Microsoft Script Debugger and Netscape Script Debugger
  • Ways to manage cross-browser issues
  • How JavaScript interacts with XML and HTML

Who is this book for?

This book is for anyone who wants to learn JavaScript programming. You should have some understanding of HTML and how to create static Web pages, but no prior programming experience is necessary.Download Description
What is this book about? JavaScript is the preferred programming language for Web page applications, letting you enhance your sites with interactive, dynamic, and personalized pages. This fully updated guide shows you how to take advantage of JavaScript's client-side scripting techniques for the newest versions of Netscape and Internet Explorer, even if you've never programmed before.You begin with basic syntax and learn about data types and how to structure code for decision-making. Then you learn to use dates, strings, and other basic objects of JavaScript. Next, you see how to use JavaScript to manipulate objects provided by the browser, such as forms and windows. From there, you move into advanced topics like using cookies and dynamic HTML. After you have a solid foundation, you explore dynamic generation of Web content using server-side scripting and back-end databases. And you practice what you learn by building a sample application as you go. What does this book cover? Here are some of the things you'll find in this book: What types of data are used in JavaScriptHow to identify and correct flaws in your codeTechniques for programming the browserHow to use Microsoft Script Debugger and Netscape Script DebuggerWays to manage cross-browser issuesHow JavaScript interacts with XML and HTML ... Read more

Customer Reviews (78)

5-0 out of 5 stars Beginning Javascript excellent book
Can't say enough about this book. Really outstanding in explaining the how-to of Javascript, especially for the beginner. Truly an outstanding book! Thnak you.

5-0 out of 5 stars Domain Names, Domain Name Registration and Web Hosting | SeoSmith.Net
With this up-to-date guide, you'll find everything you need to know in order to develop interactive, robust, and personalized pages using JavaScript. It takes you step by step through this powerful scripting language so you can begin enhancing your site right away and increase visits. You'll learn how to take advantage of native JavaScript objects, manipulate objects that are available to you in the latest browsers, use cookies, and jazz up your web pages with Dynamic HTML. Great Update!!!
Table of Contents

Chapter 1. Introduction to JavaScript and the Web.
Chapter 2. Data Types and Variables.
Chapter 3. Decisions, Loops, and Functions.
Chapter 4. JavaScript--An Object-Based Language.
Chapter 5. Programming the Browser.
Chapter 6. HTML Forms--Interacting with the User.
Chapter 7. Windows and Frames.
Chapter 8. String Manipulation.
Chapter 9. Date, Time, and Timers.
Chapter 10. Common Mistakes, Debugging, and Error Handling.
Chapter 11. Storing Information. Cookies.
Chapter 12. Introduction to Dynamic HTML.
Chapter 13. Dynamic HTML in Modern Browsers.
Chapter 14. JavaScript and XML.
Chapter 15. Using ActiveX and Plug-Ins with JavaScript.
Chapter 16. Ajax and Remote Scripting

1-0 out of 5 stars information in this book is very very VERY old!
this book is a total waste of money. The things you learn are made for very old browsers. So if you want a book to learn js don't get this one, you would learn things as they where done 10 years ago.

4-0 out of 5 stars Pretty good book on Beginning Javascript
I was required to purchase this book for a class that I was taking.It works well for the class, and I feel that the content has been thorough.The explanations have been very good.

4-0 out of 5 stars For the JavaScript beginner this is for you
I bought this book for a class I was taking and it help me to better grasp the the subject of JavaScript with it's practical examples and quizzes.I am a better programmer now.I can't wait for their Advanced JavaScript book if there is one. ... Read more


8. Simply JavaScript
by Kevin Yank, Cameron Adams
Paperback: 424 Pages (2007-06-21)
list price: US$39.95 -- used & new: US$22.86
(price subject to change: see help)
Asin: 0980285801
Average Customer Review: 4.0 out of 5 stars
Canada | United Kingdom | Germany | France | Japan
Editorial Review

Book Description
Everything you need to learn JavaScript from Scratch!

Packed with full-color examples, Simply JavaScript is a step-by-step introduction to programming in JavaScript the right way. Learn how easy it is to use JavaScript to solve real-world problems, build smarter forms, track user events (such as mouse clicks and key strokes), and design eye-catching animations. Then move into more powerful techniques using the DOM and Ajax.

  • Learn JavaScript's built-in functions, methods, and properties.
  • Easily integrate JavaScript in your web site.
  • Use JavaScript to validate form entries and interact with your users.
  • Understand how to respond to user events.
  • Create animations that bring your web site to life.
  • Start programming using the DOM and Ajax.

    Unlike other JavaScript books, modern best practices such as progressive enhancement, accessibility and unobtrusive scripting are used from the very beginning. All the code in the book is also cross-browser compatible and downloadable for free, so you can get started instantly! ... Read more

    Customer Reviews (8)

    5-0 out of 5 stars Awesome for a beginner
    I love the fact that the book is easy to read and understand, particularly for a newbie to Javascript.

    4-0 out of 5 stars Excellent resource for learning JavaScript
    I've been exposed to very little JavaScript, so I was very happy to get a review copy of this sent to me.First off, I'm a big fan of SitePoint's other books, and secondly I was looking forward to a book which would hopefully give me some good ground-up fundamentals.I'm not completely through the book yet, but I'm very impressed with it so far.

    The book starts out with some good software design tenets by emphasizing the need to keep content, style, and behavior separated out, then moves into some very basic steps for programming in JavaScript.The programming intro chapter starts out completely for beginners by laying out what variables are, what conditions and loops are, etc.Later chapters hit the DOM, JavaScript libraries, events, debugging, Ajax, and a few other topics.

    The authors do a very good job of laying out their topics, and I enjoyed their clear, enjoyable writing style.I think they do a pretty good job of discussing good development, and they're all over things like browser compatibility issues and other "Gotcha!" type issues.They've got a nice set of sidebars for tricks and tips as well as things to look out for.

    I also like that it's another SitePoint book with loads of color throughout.I'm not sure how SitePoint does it, but their continuing journey with all the color books is absolutely great to behold.

    On the downside, I'm not a fan of some of the example code I saw, which in several cases was more convoluted than good design would dictate (multiple nested for loops, return statements from other method calls being used as return values themselves, etc.).I also would have liked to see some discussion of testing via tools like Selenium or JsUnit.

    Overall I really like the book a lot.They talk standards, they talk cool tools like FireBug, they make some headway with good decisions about separation of code, content, and style.

    5-0 out of 5 stars SIMPLY JAVASCRIPT is packed with plenty of easy details perfect for newcomers.
    Any computer library or general-interest collection strong in Javascript needs SIMPLY JAVASCRIPT: EVERYTHING YOU NEED TO LEARN JAVASCRIPT FROM SCRATCH. Color examples accompany a step-by-step introduction to Java programming which teaches how to use JavaScript to solve real-world problems, track user events, and even design animations. From using Jax and the DOM to blending Java into an existing website, SIMPLY JAVASCRIPT is packed with plenty of easy details perfect for newcomers.

    Diane C. Donovan
    California Bookwatch

    1-0 out of 5 stars A disappointment
    I've waited nearly a month for this book to arrive and was very disappointed when it did.

    The first page of the preface (effectively, the first page of the book) begins with inaccurate information about JavaScript (saying it is ten years old, when it's just about 13 years old).

    Continuing, the book then describes how & why to embed your JavaScript inside of a CDATA section, but shows the incorrect syntax for doing so.

    The book makes no mention of using client-side cookies nor does it discuss the for...in type of loop, which is so valuable.

    Despite a previous reviewer's opinion, this book is most certainly for beginners.It does not go in depth on any one topic and makes claims about the "right" way to do things that are not always "right".

    I also didn't care for the authors using "inside jokes and references" that many people will not get (Dr. Who references and"You guessed wrong.No, just kidding, you're right!").

    What really ticked me off is that this book reads like a non-stop advertisment for the author's web site.

    I'll be returning this book ASAP.

    4-0 out of 5 stars Getting it right from the start
    This is a very good beginner's book on JavaScript. Kevin and Cameron show the proper way to use JavaScript: unobtrusively and standards-compliant, while still handling the idiosyncrasies of Internet Explorer. It doesn't cover everything, but it is a great start. The only thing I miss is some examples of mouse and keyboard event handlers, which are commonplace in many web "apps". My only gripe is the habitual (ab)use of XHTML markup served as tag soup, which is (unfortunately) all too common in SitePoint books. While it may be relatively harmless in most cases, dealing with JavaScript is not one of them. There should at least be some informal note explaining that there are some fundamental differences between HTML and XHTML that you should be aware of. ... Read more


  • 9. The Art & Science of JavaScript
    by Cameron Adams, James Edwards, Christian Heilmann, Michael Mahemoff, Ara Pehlivanian, Dan Webb, Simon Willison
    Paperback: 300 Pages (2007-12-21)
    list price: US$39.95 -- used & new: US$23.48
    (price subject to change: see help)
    Asin: 0980285844
    Average Customer Review: 4.5 out of 5 stars
    Canada | United Kingdom | Germany | France | Japan
    Editorial Review

    Book Description
    We've assembled seven of the greatest minds in modern JavaScript to teach you the most inspirational techniques you'll ever use. From creating impressive mashups and stunning, dynamic graphics, to more subtle user-experience enhancements, you're about to be amazed by the true potential of this powerful language.

    With an all star line-up of authors including James Edwards, Michael Mahemoff, Ara Pehlivanian, Cameron Adams, Dan Webb, Christian Heilmann, and Simon Willison, this superb book will show you how to:

  • Create a slick Google Maps and Flickr mashup.
  • Build your own fully accessible 3D maze.
  • Create stunning vector graphics using the canvas element.
  • Have some fun with draggable and sortable table columns.
  • Give your site some extra personality with client-side badges.
  • Write better code faster using metaprogramming techniques.
  • Become a debugging expert using pro-level Firebug tricks.

    This book is perfect for intermediate JavaScript developers wanting to take their JavaScript skills to the next level without sacrificing web accessibility or best practice. If you've never written a line of JavaScript before, this probably isn't the right book for you.

    If you have only a small amount of experience with JavaScript, but are comfortable enough programming in another language such as PHP or Java, you'll be just fine-we'll hold your hand along the way, and all of the code is available for you to download and experiment with on your own. ... Read more

    Customer Reviews (3)

    4-0 out of 5 stars Solid Learning Experience
    §

    I saw a bunch of things I *wanted* to criticize about this book but ended up being more positive as I began to see the educational value of the chapters. This book is not for absolute beginners by any means, however the material is presented in a smooth way as each script addition is explained separately.

    Do NOT expect to come away from the book's chapters with code that can be immediately applied to a typical professional application or Web site. Things like a JavaScripted maze game can be great for learning some cool things but that is all.

    Even the practical-sounding features like table column sorting and table column dragging could not be applied to a production situation without considerable modification. For instance, the column dragging scenario depends on all columns having similar width. If not, then the result is pretty messy. And we all know that data tables can be messy in the best of cases!

    The index is miserable, but that is pretty much the rule for computer tech books.

    The ensemble of authors is top-notch and some, like Christian Heilmann, (Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional) have written excellent books you may want to check out. You really can't go wrong with this book for a solid advance in your script education.

    §

    4-0 out of 5 stars Artfully scientific
    This is a very interesting book for anyone who is interested in going to the 'next level' of JavaScript. It's not a book for absolute beginners, but everything is very well explained without wasting time on trivia.

    The chapter on metaprogramming (self-modifying code) is my favourite. Not only because it presents some very useful ideas, but also because it finally made me understand how JavaScript does certain things under the bonnet.

    James Edward's Maze game is nothing short of a-maze-ing. It's a fine example of what you can do if you have the ability to think outside the box. (Way outside, in this case!)

    The only negative part is the first chapter. Not because it's not useful -- it is! -- and not because it's badly written -- it isn't. The reason is that the code samples use XHTML markup but the JavaScript code will not work if that markup is served as real XHTML. The JavaScript relies on the HTML DOM, e.g., that nodeName properties are returned in uppercase. The use of character entity references is also ill-advised for XHTML.

    Unfortunately, there isn't any informtion about this in the text. Someone who isn't well-versed in the fundamental differences between HTML and XHTML would learn some harmful practices.

    The sad part is that it would have been so easy to write the JavaScript in a way that would have worked in both the HTML DOM and the XML DOM.

    The remainder of the book contains good code examples which don't sacrifice accessibility.

    Having said that, I would definitely recommend this book for anyone who wants to learn how to use JavaScript for something other than validating form input.

    5-0 out of 5 stars Great JavaScript Book
    I just received my latest book in the SitePoint collection, The Art & Science of JavaScript.

    As always SitePoint has gathered some of the greatest minds in modern JavaScript to collaborate on an amazingly easy to follow book.

    The Art & Science covers some great topics including Google Maps and Flickr mashups, building your own fully accessible 3D maze, draggable and sortable table columns, and much more!

    SitePoint has always amazed me with the beautiful layout and design of their books. Code is easily readable in a fixed-width font with a blue background. The book also displays Tips, Notes, and Warning icons to help expand upon certain points.

    This book is geared towards anyone who is familiar with JavaScript and wants to take their skills to the next level. ... Read more


  • 10. JavaScript Bible
    by Danny Goodman
    Paperback: 1200 Pages (2007-04-09)
    list price: US$49.99 -- used & new: US$24.82
    (price subject to change: see help)
    Asin: 0470069163
    Average Customer Review: 4.0 out of 5 stars
    Canada | United Kingdom | Germany | France | Japan
    Editorial Review

    Book Description
    Make your Web pages stand out above the noise with JavaScript and the expert instruction in this much-anticipated update to the bestselling JavaScript Bible. With renowned JavaScript expert Danny Goodman at your side, you’ll get a thorough grounding in JavaScript basics, see how it fits with current Web browsers, and find all the soup-to-nuts detail you’ll need. Whether you’re a veteran programmer or just starting out, this is the JavaScript book Web developers turn to again and again.

    Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file. ... Read more

    Customer Reviews (4)

    5-0 out of 5 stars The best javascript book available
    books on changing technologies are always out of date by6 months to a year (a book this size is probably closer to a year). i Google when i need the latest info, just like the rest of the planet apparently.

    i understand other reviewer gripes about this book, but it is still the best printed resource available. the book weighs in at a hefty 35 chapters and 5 Appendices in about 1200 pages (and yes the print is small). i found the information well organized, with a decent layoutand a useable contents and index. this book tries to serve both the novice and the professional, and frankly does a pretty good job. a book this size obviously has errors, but nothing i would categorize a lethal (it's not a cookbook but has some decent template scripts to get you going). no one could write a book this size and comprehensive from scratch, this book is clearly an evolution and uses "revised" content from previous editions. i got the feeling reading this book that the authors write real code for real world apps. i thought about docking a star because it is has so much information. i seem to have got conditioned over the years to have a slight sense of dread when i have to open a large book to look something up. However, IMHO, the real value is searchable CD version of the book, hence back to 5 stars. this has 23 Bonus chapters! yes that's 23 bonus chapters which add over 500 pages. a nice touch was having references to the CD version (marked with a BC prefix) in the index of the print edition.

    from a purist point of view some of the recommendations are wrong, but from a pragmatic point of view no one is going to be impressed with your W3C compliant script that runs 10-20x slower than the non-compliant one (and that's not just in IE).

    inevitably a little dated but still the most comprehensive javascript book available.

    2-0 out of 5 stars This book is not up to date
    I have a few javascript books already, but they are out of date. I bought this book, which claims to be published in 2007, to learn to be more DOM and W3C compliant. However, from reading this book so far, I find that the material in it are as outdated as my older books. For example, the book still encourages the use of the "innerHTML" method, which is neither a W3C recommendation, nor is it encouraged anymore. Furthermore, the book shows you to convert a "number" type to a string by doing this:

    var num = 100;
    num = "" + num;

    That's just silly. What happened to the toString() method?How about doing this?

    var num = 100;
    num = num.toString();

    Also the book doesn't encourage separation of structure from functionality. The book's examples have javascript all mixed together with the markup. This is clearly not the modern, correct, and recommended way to script a web page.

    So far, these are the gripes I have about this book... and I'm only on chapter 6. It makes me feel like I don't want to finish this book, because I might adopt these outdated methods of scripting.

    I do not recommend this book.

    3-0 out of 5 stars Good Reviews?
    Just got started and got to Ch 3 and ran into a snag...page 22...lines 19 and 20 are duplicate as such:

    Let's Script...





    Thus, you see there is no closing tag for "
    " yet the book states it complies with DHTML that all tags will be closed.Also, the "Let's Script" appears twice if you use the book example.

    Additionally, the enclosed CD-ROM for "ch03.script1.htm" link is wrong as it should be "ch03.script1.html."If you are new to JavaScript, the work around is to access "My Computer," then your DVD/CD drive and "Content," then "Chap03," then "script1.html."

    I think the editors and proof readers assumed .htm was the norm and overlooked "script1.html."

    First script, first impression...not looking too good.

    I'll keep you posted as I advance through the book.

    Additionally, I tried to communicate with Wiley Publishing, Inc...but got caught in a loop as I posed a question to them and unknown to me they only allowed 80 characters, but I went over the limit and in their text block they allowed me to keep typing.

    5-0 out of 5 stars Excellent Book
    The content of this book is Excellent, the wait was worth it. I'm glad someone finally consolidated all the JavaScript information into a publication, which brings me to acriticism, not about the content. The print is too small. I believe it would have been better to turn this into a two book publication and make the print bigger (and blacker), the paper could also be whiter for better contrast and a heavier weight. Yes it would have been more expensive, but you wouldn't go blind trying to read it. ... Read more


    11. JavaScript: A Beginner's Guide, Second Edition
    by John Pollock
    Paperback: 576 Pages (2003-12-18)
    list price: US$24.99 -- used & new: US$13.29
    (price subject to change: see help)
    Asin: 0072227907
    Average Customer Review: 4.5 out of 5 stars
    Canada | United Kingdom | Germany | France | Japan
    Editorial Review

    Book Description
    Step-by-step instruction teaches beginning JavaScript programmers and Web designers to create windows, display moving text, and generate sound or other multimedia elements with ease. Uses the successful Beginner’s Guide teaching system, which countless new users have praised for giving them a solid foundation in technology. ... Read more

    Customer Reviews (20)

    4-0 out of 5 stars Good for beginners
    This book was required reading material for a course I'm taking.That being said, the book is good for anyone who's a novice.The chapters are easy to read and provide a decent review section at their conclusion so you can quiz yourself if you like.If you already know the basics of JavaScript -- look elsewhere.

    4-0 out of 5 stars Clear, straigthforward explanations for a beginner
    Concise descriptions of what happens inside the scripts. The author adresses JS matters without assuming previous knowledge on this subject, but he clearly makes you progress by invoking some math background (i.e. to explain functions ) and also involving the reader in logical deductions to make you think. Some hints of humour and lightweight prose are present along the book, without leaning too much towards the "for dummies" series. As an absolute beginner, it's more than enough.

    3-0 out of 5 stars Great for people with ZERO knowledge of basic programming, bad otherwise
    I bought this book because even though I have knowledge about programming, I had no concept about JavaScript and needed to learn it. It gave me and introduction to JavaScript, but it also gave me a full recap about functions, constructors, etc. what they are, what they do, which I did not need. So if you are a programmer, I do NOT recommend this book. Instead buy "Simply JavaScript". If you are a newbie and don't know much about programming in general, I definitely recommend this book.

    3-0 out of 5 stars Eh
    After all the great reviews I thought this book was going to be outstanding,so maybe that's why I was kind of let down. To be honest, I have not finished the book yet. At chapter 8 (which is where I think maybe he's starting to get into the meat of things) I was just so bored with the examples my enthusiasm for learning Javascript was starting to diminish. I want a little more variety than learning how to make EVERYTHING create a popup window. After reading several other more engaging programming books in the dummies and headfirst series, I think maybe I should've gone to them for my Javascript needs as well.

    4-0 out of 5 stars Great Starting book for people wanting to learn Javascript.
    If you are new to Javascript, and know just a little HTML, than this book is perfect. I knew some HTML and wanted to make my page more interactive and this book goes through step by step and gives plenty of examples to guide you in the right direction. Sometimes it gets a little repetitve, but thats a good thing to ingrain the fundamentals of Javascript. A definate help to get me into the Javascript language in the fastest time. ... Read more


    12. ppk on JavaScript, 1/e (VOICES)
    by Peter-Paul Koch
    Paperback: 528 Pages (2006-09-20)
    list price: US$44.99 -- used & new: US$23.99
    (price subject to change: see help)
    Asin: 0321423305
    Average Customer Review: 4.5 out of 5 stars
    Canada | United Kingdom | Germany | France | Japan
    Editorial Review

    Book Description

    Whether you're an old-school scripter who needs to modernize yourJavaScripting skills or a standards-aware Web developer who needsbest practices and code examples, you'll welcome this guide from aJavaScript master.

    Other JavaScript books use example scripts that have little bearingon real-world Web development and are useful only in the chapter athand. In contrast, Peter-Paul Koch's book uses eight real-worldscripts he created for real-world clients in order to earn real-worldmoney. That means the scripts are guaranteed to do something useful(and sellable!) that enhances the usability of the page they're used on.

    The book's example scripts include one that sorts a data tableaccording to the user's search queries, a form validation script, ascript that shows form fields only when the user needs them, adrop-down menu, and a data retrieval script that uses simple Ajax andshows the data in an animation.

    After an overview of JavaScript's purpose, Peter-Paul providestheoretical chapters on the context (jobs for JavaScript, CSS vs.JavaScript), the browsers (debugging, the arcana of the browserstring), and script preparation. Then follow practical chapters onCore, BOM, Events, DOM, CSS Modification, and Data Retrieval, all ofwhich are explained through a combination of theoretical instructionand the taking apart of the relevant sections of the example scripts.

    ... Read more

    Customer Reviews (12)

    4-0 out of 5 stars From beginner to specialist
    This book talks about scripting the DOM. Everything is clearly exposed : the history that make browsers like they are and not better, the tree behind an HTML document and the nodes behind tags and attributes, how to use css properties for the best, and how to manage events and their properties in all browsers, and of course the core of the javascript language.
    There is nothing about objects and all other OOP stuff, so I think this book is very well suited for beginners. But specialist will also find a lot of interesting things.
    One more advantage, the presentation and layout are really more pleasant than what is generally found in this category's books.

    5-0 out of 5 stars Solidify your javascript foundation
    Javascript has been around for a while but it is still going places. ppk on Javascript sorts through all the fluff to deliver rock solid information. The author is using a very clear language to express his deep experience in this field.

    Javascript is moving fast and the book does not cover some of the recent advances like the rise of Ajax, ActionScript, Tamarin. It is still a must read for any serious (javascript) programmer.

    5-0 out of 5 stars Most thorough walk through JavaScript in a book
    PPK on JavaScript by Peter-Paul Koch might just be the most thorough JavaScript book I have read. Through the use of eight real-world example scripts, PPK walks us through JavaScript from the very beginning. Over the years JavaScript has had its ups and downs. This is mainly due to the flux of poorly optimized scripts that are scattered around the Internet. So how do you know what source to trust? What are some best practices for JavaScript? How can you utilize JavaScript to add enhancements to your site without breaking in the browser? How can you create scripts that will enhance the user experience and not hurt it? All of these topics and more are discussed in this book.

    Throughout the ten chapters and 499 pages of this book, there is very little that isn't covered on the topic. Let's take a look at the organization and flow of the book:

    Purpose
    This chapter paints the big picture for us. There is no jumping into scripts or coding in the first few chapters. Here we get an overview of some important aspects of JavaScript. One of the most important aspects is the coverage of the history of JavaScript. Though some might find this to be boring, I believe it to be invaluable. Understanding the history of JavaScript gives you a better idea of how it has formed into the language it is today. This is one of the most valuable parts of the book. It sets a solid foundation for everything else that is covered.

    Context
    Along with understanding the history, it is good to see where JavaScript fits into the big picture of web development. Here we take an in-depth look at HTML, CSS, and JavaScript. There are many distinctions to be made here as each could potentially mix with the other. It is important to keep a clean separation of your structure (HTML), presentation (CSS), and your behavior (JavaScript). At some points the line may become blurry on mixing the two, which is why each aspect is discussed in detail. These include separation of presentation and structure, separation of behavior and structure, and separation of behavior and presentation.

    Not every user or device has JavaScript enabled. Moving forward we look at the impact on accessibility and how it affects things such as no mouse, screen readers, and usability. These are all important pieces that must be addressed as we begin adding advanced functionality to our website.

    Lastly we are introduced to the eight example scripts that we will encounter: Textarea MaxLength, Usable Forms, Form Validation, Dropdown Menu, Edit Style Sheet, Sandwich Picker, XMLHTTP Speed Meter, and Site Survey.

    Browsers
    This chapter provides a little more context and history into the different browser families. We look not only at browsers but other devices such as mobile phones and screen readers. We look at each of these and are then shown some of the incompatibilities that they suffer. We address the problems and look to build solutions to patch the holes. Next we look at solving problems by using two different techniques: object detection and browser detection. Object detection works by checking if the methods you are using are supported before you use them. Browser detection tries to detect the current User Agent and then build from there. Browser detection has many flaws associated with it. One specifically is browser spoofing where you can send a different User Agent string to the server, lying to the application about the available technology. There are correct uses, but this should mostly be avoided.

    If you have been developing JavaScript for a while then you are probably used to using the alert method to help in the debugging process. Here were are introduced to debugging, figuring out some of the cryptic messages returned by the browser, and how we can deal with browser bugs.

    Preparation
    Planning is important for all projects. Here we are introduced to preparing our application for enhancements. This involves having the proper placements of hooks. Hooks are found by using an ID, class, custom attributes (not a widely accepted solution), and name/value pairs.

    Once we have our hooks in place, we have to get access to them to make our modifications. Having access is only part of the process. We also have to learn how to generate content when necessary and understanding the relationships inside of the DOM. We get a brief primer on setting up our script tag and how we can utilize multiple scripts if necessary.

    Our hooks are in place, and we know where we want to apply our effects. How and when should they fire? We stop to take a look at the initialization of scripts and the load event. This method has its pitfalls, which are discussed and alternate solutions are addressed. We take a look back to the example scripts for some more insight and real-world use cases.

    Core
    Everything we have done to this point hinges on our ability to actually program the functionality we are trying to achieve. This section walks through the basics of programming in JavaScript. We look at statements, comments, code blocks, operators, values, and case sensitivity. Next we look at the six different data types that are available to us, and how JavaScript handles conversion and concatenation. We look at ways to explicitly convert our data types when necessary. After looking at the data types we look at some of the common operators. These are inherent to every programming language, so there isn't much new in this area. We've looked at the constructs, now we move to discussing variables: proper naming, the var keyword, and variable scope. This is very important to grasp as we move forward and create our own functions to achieve our tasks. Next we look at working with numbers, strings, and booleans inside of our scripts. We have a good foundation, now we move to control structures such as if, switch, for, while, do/while, break and continue, and try/catch. The next few sections focus on defining and working with custom functions, creating and defining objects and their methods and properties, and finally dealing with arrays. The section on arrays is especially helpful as it discussed how you can loop over them and how you can add, delete, and locate specific sections inside of an array.

    BOM
    This section looks at the Browser Object Model and the window object. We take a look at the global window object and its impact on creating new pages and cross communication between windows. We then look at navigation within the window and the location and history. We learn how to manipulate the geometry of the window, and how to retrieve information about the current window dimensions.

    The chapter rounds off with discussion of some miscellaneous functions such as alert, confirm, prompt and timeouts and intervals. We take a closer look at some of the available methods for the document object. Finally, we take a look at working with cookies and utilizing/managing them within our application.

    Events
    This is probably one of the most important sections of this book. This section gives a thorough look at all of the available events. The chapter first starts by looking at some compatibilities and how to resolve them case by case. We take an in-depth look at all of the available events at our disposal and how they work. We look at event registration and the best way to handle it. The rest of this chapter discusses event bubbling and capturing and the browser support related to each, the event object and its properties available to us, targeting your elements, and then implementing some of our new-found knowledge in the example scripts. Sometimes grasping events and event registration can be tough, but this chapter makes it easy through illustration and the example scripts.

    DOM
    We have come a long way to this point. We have set our foundation, looked at the core of JavaScript, examined the browser window and its properties, and learned how to set our events in motion. Now it is time to look at the Document Object Model. The DOM holds all of the information inside of our pages. It is comprised of all elements and attributes and their relationship to one another. They are commonly referred to as nodes that build the family tree. Understanding of this structure is what gives us the power to build elements and insert them or delete them. We have full control over our internal structure.

    However, it is never that easy. Traversing the DOM can sometimes be painful, especially when you see some of the differences between browsers. We take a look at how to find our nodes, how we can retrieve information about those nodes, and how we can change our document tree through appending, inserting, removing, and replacing. We are also introduced to creating elements and creating text nodes, and then how we can achieve some of the above tasks.

    This chapter rounds off with the always heated discussion of the use of innerHTML, finding attributes and setting their values, dealing with text nodes - even empty text nodes that sometimes cause confusion, understanding and traversing the nodeLists, and dealing with forms and the Level 0 DOM. All of these pieces help us put together the big puzzle as we are using JavaScript to manipulate our pages.

    CSS Modification
    Earlier we discussed the aspect of keeping your presentation separate from your behavior. This chapter discusses best practices for working between the two. We learn how to get style information from our elements, and then how we can add classes dynamically. We take a brief look at the possibility of changing the entire stylesheet via JavaScript. While this is a nice introduction, I think it would require a specific project.

    The last parts of this chapter look at some examples of keeping the clean separation, but applying some visual enhancements. We work through some examples of toggling display of elements, animating elements, and changing the dimensions and position of elements.

    Data Retrieval
    This chapter is all about AJAX. We look at the XMLHttpRequest object and how to make it work cross browser through some conditional checks. Once we have sent the request, we need to know how to handle the response. We look at the different statuses and response codes that we will be dealing with and how to set callback functions to handle the response. We look at the available return formats such as XML, HTML, JSON, and CSV. The final part to this chapter looks at the impact that AJAX has on accessibility.

    This review alone does not do this book justice. This book thoroughly discussed each and every aspect to JavaScript, from its history to looking to its future. The example scripts helped to grasp the different concepts, but the real meat of the book was in the specific coverage of each aspect. There are many books about specific aspects of JavaScript, but this book combines them all into one resource. If you are just getting your feet wet in JavaScript, then this book is the perfect book to help take you to the next level.

    2-0 out of 5 stars Good website, bad book
    PPK's website is probably the most authorative and up-to-date ressource on internet, but when it comes to JavaScript, one could not be less interesting. The book contains a few tips on accessibility but look no further.

    5-0 out of 5 stars PPK makes Javascript readable
    Good concise walkthrough of Javascript, it's structure, quirks and possibilities. Experienced programmers from other languages can pick up Javascript pretty quickly using ppk's descriptive style. ... Read more


    13. Learning JavaScript (Learning)
    by Shelley Powers
    Paperback: 351 Pages (2006-10-17)
    list price: US$29.99 -- used & new: US$14.92
    (price subject to change: see help)
    Asin: 0596527462
    Average Customer Review: 4.0 out of 5 stars
    Canada | United Kingdom | Germany | France | Japan
    Editorial Review

    Book Description
    As web browsers have become more capable and standards compliant, JavaScript has grown in prominence. JavaScript lets designers add sparkle and life to web pages, while more complex JavaScript has led to the rise of Ajax -- the latest rage in web development that allows developers to create powerful and more responsive applications in the browser window.

    Learning JavaScript introduces this powerful scripting language to web designers and developers in easy-to-understand terms. Using the latest examples from modern browser development practices, this book teaches you how to integrate the language with the browser environment, and how to practice proper coding techniques for standards-compliant web sites. By the end of the book, you'll be able to use all of the JavaScript language and many of the object models provided by web browsers, and you'll even be able to create a basic Ajax application.

    ... Read more

    Customer Reviews (16)

    1-0 out of 5 stars Too many errors
    I am an experienced software engineer who has worked in many languages and is trying to get up to speed with JavaScript(JS).I am a novice when it comes to JS but I have used it in a commercial environment before.

    I have returned this book since the number of errors in the examples and question sections are far too many.These sections are the important part of the book that one learns from.I got halfway through Chapter 3 and gave up since almost half of all the examples are incorrect.For example an alert("some string") call was listed with three different strings in the example, a reference to it in the text and the expected outcome.

    Also for anyone who is not a developer or has little knowledge of common terms in development this book is NOT for you.Shelly assumes you know what a strongly/loosely typed language is and other such concepts.

    2-0 out of 5 stars Not for n00bs
    As a n00b to web development, this book was not appropriate for me, and in retrospect, I realize I must not have been the intended audience.As a person who has taught and practiced technical writing and composition in the past, I would say that this book was intended for someone who was already familiar with other scripting languages and was looking for a quick entrance into Javascript.For my part, I was hoping for more explanation of the basic mechanics of Javascript and the DOM than this text offers.I haven't gotten past the initial chapter on defining variables and DOM, as both chapters used unfamiliar technical terms and concepts without explaining them.Why have an introductory chapter on DOM without explaining, step-by-step, what the explanatory terms mean? In other words, each concept could and should be further disaggregated and explained. This is NOT a book for the beginner!!

    However, beginners take heart! I'm happy to report that I have found a truly helpful line of books with which to compare this book (and the O'Reily line of books, in general).After purchasing and reading through a couple of books from this aforementioned line (including one on CSS and XHTML), which ARE suited for the beginner, I can say with confidence that a beginner's book can be written and is available. I won't name the line (as I don't intend for this review to be an advertisement), but I will say that it is associated with a popular on-line development website and forum, and one can find it by looking around the developer forums. (One can even download free chapters of these books for personal review!!) If the books give you hangups -- which I doubt -- then one can easily go to the forum (which is quite hospitable to n00bs!!) and tune in to some truly "open-source" learning.Ask an intelligent, thoughtful question and the forum will respond.

    As far as _Learning Javascript_, I would say that perhaps someone already initiated into the developer scene could benefit from this book.But, then, why bother when more comprehensive references are available?For m