Beginning JavaScript, 5ed

Author : Jeremy McPeak, Paul Wilton
Price : Rs 699.00
ISBN 13 : 9788126565467
ISBN 10 : 8126565462
Pages : 768
Type : Paperbound

9788126565467

Details

Beginning JavaScript 5th Edition shows you how to work effectively with JavaScript frameworks, functions, and modern browsers, and teaches more effective coding practices using HTML5. This new edition has been extensively updated to reflect the way JavaScript is most commonly used today, introducing you to the latest tools and techniques available to JavaScript developers. Coverage includes modern coding practices using HTML5 markup, the JSON data format, DOM APIs, the jQuery framework, and more. Exercises with solutions provide plenty of opportunity to practice, and the companion website offers downloadable code for all examples given in the book.

Introduction

 

Chapter 1: Introduction to JavaScript and The Web

  • Introduction to JavaScript  
  • Where Do My Scripts Go?
  • Your First Simple JavaScript Program
  • Writing More JavaScript
  • A Brief Look at Browsers and Compatibility Problems
  • Summary

 

Chapter 2: Data Types and Variables

  • Types of Data in JavaScript
  • Variables--Storing Data in Memory
  • Using Data--Calculations and Basic String Manipulation
  • Data Type Conversion
  • Arrays
  • Summary

 

Chapter 3: Decisions and Loops

  • Decision Making--The if and switch Statements
  • Looping--The for and while Statements
  • Summary

 

Chapter 4: Functions and Scope

  • Creating Your Own Functions
  • Scope and Lifetime
  • Functions as Values
  • Summary

 

Chapter 5: JavaScript--An Object Based Language

  • Object Based Programming
  • JavaScript's Native Object Types
  • Creating Your Own Custom Objects
  • Creating New Types of Objects (Reference Types)
  • Summary

 

Chapter 6: String Manipulation

  • Additional String Methods
  • Regular Expressions
  • The String Object
  • Using the RegExp Object's Constructor
  • Summary

 

Chapter 7: Date, Time and Timers

  • World Time
  • Timers in a Web Page
  • Summary

 

Chapter 8: Programming The Browser

  • Introduction to the Browser's Objects
  • Determining the User's Browser
  • Summary

 

Chapter 9: Dom Scripting

  • The Web Standards
  • The Document Object Model
  • Manipulating the DOM
  • Summary

 

Chapter 10: Events

  • Types of Events
  • Connecting Code to Events
  • The Standard Event Model
  • Event Handling in Old Versions of Internet Explorer
  • Writing Cross Browser Code
  • Native Drag and Drop
  • Summary

 

Chapter 11: HTML Forms: Interacting with The User

  • HTML Forms
  • Traditional Form Object Properties and Methods
  • HTML5 Form Object Properties and Methods
  • Summary

 

Chapter 12: JSON

  • XML
  • JSON
  • Summary

 

Chapter 13: Data Storage

  • Baking Your First Cookie
  • Creating a Cookie
  • Getting a Cookie's Value
  • Cookie Limitations
  • Cookie Security and IE  
  • Web Storage
  • Summary

 

Chapter 14: AJAX

  • What is Ajax?
  • Using the XMLHttpRequest Object
  • Creating a Simple Ajax Module  
  • Validating Form Fields with Ajax  
  • Things to Watch Out for
  • Summary

 

Chapter 15: HTML5 Media

  • A Primer
  • Scripting Media
  • Summary

 

Chapter 16: jQuery

  • Getting jQuery  
  • jQuery's API  
  • Summary  

 

Chapter 17: Other JavaScript Libraries

  • Digging into Modernizr
  • Diving into Prototype
  • Delving into MooTools
  • Summary

 

Chapter 18: Common Mistakes, Debugging

  • And Error Handling
  • D'oh! I Can't Believe I Just Did That: Some Common Mistakes
  • Error Handling
  • Debugging  
  • Summary  

 

Appendix A: Answers To Exercises

Appendix B: JavaScript Core Reference  

Appendix C: W3c Dom Reference  

Appendix D: Latin 1 Character Set  

Index

 

Jeremy McPeak is a professional programmer and analyst who works extensively with JavaScript and C#. He co-authored both the previous edition of Beginning JavaScript, and authored the well-reviewed JavaScript 24-Hour Trainer. He contributes to the online, web-centric tutorial site Nettuts+, as well as provides courses for Tuts+ Premium covering topcis such as JavaScript, C# and the .NET Framework.