JavaScript for Absolute Beginners

JavaScript for Absolute Beginners

by Terry McNavage
     
 

View All Available Formats & Editions

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

…  See more details below

Overview

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.

What you’ll learnWho this book is for

This book is aimed at anybody who wants to learn how to use JavaScript to create more interactive and stickier web sites.

Table of Contents
  1. Representing Data with Values
  2. Type Conversion
  3. Operators
  4. Controlling Flow
  5. Member Inheritance
  6. Functions and Arrays
  7. Traversing and Modifying the DOM Tree
  8. Scripting CSS
  9. Listening for Events
  10. Scripting BOM

Read More

Product Details

ISBN-13:
9781430272182
Publisher:
Apress
Publication date:
12/28/2010
Sold by:
Barnes & Noble
Format:
NOOK Book
Pages:
504
File size:
10 MB

Meet the Author

Terry McNavage has been programming with JavaScript for 14 years and is the author of "JavaScript for Absolute Beginners" (Apress, December 2010). In addition, Terry is an elite runner, typically running 100 or more miles per week, and a bit of a food geek. Like Brendan Eich, JavaScript's creator, Terry is from Pittsburgh, Pennsylvania. So he's hoping the Pirates raise the Jolly Roger more often than not in 2012 rather than notch their 20th losing season in a row.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >