JavaScript Programmer's Reference

Book description

JavaScript Programmer's Reference is an invaluable resource that won't stray far from your desktop (or your tablet!). It contains detailed information on every JavaScript object and command, and combines that reference with practical examples showcasing how you can use those commands in the real world. Whether you're just checking the syntax of a method or you're starting out on the road to JavaScript mastery, the JavaScript Programmer's Reference will be an essential aid.

With a detailed and informative tutorial section giving you the ins and outs of programming with JavaScript and the DOM followed by a command-by-command reference, your next project will pop with interactivity and keep your audience coming back for more. JavaScript Programmer's Reference is your one-stop source for everything you'll need to know to become a cutting edge web developer using the latest tools and techniques available today.

  • In depth explanations and activities to explain not just the command in question, but why it is used in that way

  • Progressive learning curve to not overwhelm and confuse you

  • Handy and extremely informative quick-reference of every command within the JavaScript & DOM specifications

  • What you'll learn

  • Create web pages of any length or complexity.

  • Access browser controls to further your page's functionality.

  • Design and program custom features into a web page, such as recording and acting on user preferences.

  • Offer prospective employers an advanced skill set that is in high demand.

  • Converse intelligently with other developers using universally agreed-upon terminology.

  • Discover your full potential and realize that you now know enough to explore other, more powerful web development languages.

  • Who this book is for

    Web developers of any skill level will find this book to be invaluable. The tutorials clearly explain the use of the two languages for the new user as well as providing a quick reference for the experienced developer to use when a command's use or syntax is in question.

    Table of contents

    1. Title Page
    2. Dedication
    3. Contents at a Glance
    4. Contents
    5. About the Authors
    6. About the Technical Reviewer
    7. Introduction
    8. CHAPTER 1: JavaScript Basics
      1. Hard to Learn, Harder to Love
      2. What Is JavaScript?
      3. Web Browsers and JavaScript
      4. Brief Digression: Understanding and Running Examples
      5. JavaScript’s Three Difficult Features
      6. Putting It Together: Two Common Patterns
      7. Summary
    9. CHAPTER 2: JavaScript Nuts and Bolts
      1. Formatting JavaScript Code
      2. Expressions and Statements
      3. Operators
      4. Variables
      5. Objects
      6. Arrays
      7. Functions
      8. Conditionals
      9. Loops
      10. Summary
    10. CHAPTER 3: The DOM
      1. How I Learned to Stop Worrying and Love the DOM
      2. History of the DOM Standard
      3. Browser Dependencies
      4. DOM Structure
      5. Accessing Elements in the DOM
      6. Modifying the DOM
      7. DOM Events
      8. Summary
    11. CHAPTER 4: JavaScript in Action
      1. Working with JavaScript
      2. Loading Scripts Efficiently
      3. Asynchronous Communication using XMLHttpRequest
      4. Cross Domain Techniques
      5. Data Caching
      6. JavaScript Libraries and Frameworks
      7. Using jQuery
      8. Building a Library
      9. Summary
    12. CHAPTER 5: JavaScript Global Objects Reference
      1. Array
      2. Boolean
      3. Date
      4. Math
      5. Number
      6. RegExp
      7. String
      8. Miscellaneous Global Variables and Functions
      9. Summary
    13. CHAPTER 6: JavaScript Control Statements Reference
      1. Introduction
      2. break
      3. continue
      4. do/while
      5. for and for/in
      6. if
      7. label
      8. return
      9. switch/case
      10. while
      11. with
      12. Summary
    14. CHAPTER 7: JavaScript Operators Reference
      1. Assignment Operators
      2. Comparison Operators
      3. Arithmetic Operators
      4. Bitwise Operators
      5. Logical Operators
      6. String Operator
      7. Miscellaneous Operators
      8. Summary
    15. CHAPTER 8: The DOM Reference
      1. Browser Support
      2. DOM Objects
      3. The Window Object Reference
      4. The document Object Reference
      5. The element Object Reference
      6. Summary
    16. Index

    Product information

    • Title: JavaScript Programmer's Reference
    • Author(s): Jonathan Reid, Thomas Valentine
    • Release date: June 2013
    • Publisher(s): Apress
    • ISBN: 9781430246299