JavaScript for Absolute Beginners

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

If you are new to both JavaScript and programming, this hands-on book is for you. Rather than staring blankly at gobbledygook, you'll explore JavaScript by entering and running hundreds of code samples in Firebug, a free JavaScript debugger. Then in the last two chapters, you'll leave the safety of Firebug and hand-code an uber cool JavaScript application in your preferred text editor.

Written in a friendly, engaging narrative style, this innovative JavaScript tutorial covers the following essentials:

  • Core JavaScript syntax, such as value types, operators, expressions, and statements provided by ECMAScript.
  • Features for manipulating XHTML, CSS, and events provided by DOM.
  • Object-oriented JavaScript, including prototypal and classical inheritance, deep copy, and mixins.
  • Closure, lazy loading, advance conditional loading, chaining, currying, memoization, modules, callbacks, recursion, and other powerful function techniques.
  • Encoding data with JSON or XML.
  • Remote scripting with JSON-P or XMLHttpRequest
  • Drag-and-drop, animated scrollers, skin swappers, and other cool behaviors.
  • Optimizations to ensure your scripts run snappy.
  • Formatting and naming conventions to prevent you from looking like a greenhorn.
  • New ECMAScript 5, DOM 3, and HTML 5 features such as Object.create(), Function.prototype.bind(), strict mode, querySelector(), querySelectorAll(), and getElementsByClassName().

As you can see, due to its fresh approach, this book is by no means watered down. Therefore, over the course of your journey, you will go from JavaScript beginner to wizard, acquiring the skills recruiters desire.

Author(s): Terry McNavage (auth.)
Edition: 1
Publisher: Apress
Year: 2010

Language: English
Pages: 504
Tags: Computer Science, general

Front Matter....Pages i-xxiii
Representing Data with Values....Pages 1-23
Type Conversion....Pages 25-56
Operators....Pages 57-95
Controlling Flow....Pages 97-144
Member Inheritance....Pages 145-179
Functions and Arrays....Pages 181-254
Traversing and Modifying the DOM Tree....Pages 255-305
Scripting CSS....Pages 307-345
Listening for Events....Pages 347-397
Scripting BOM....Pages 399-460
Back Matter....Pages 461-477