Professional JavaScript for Web Developers / Edition 2

Professional JavaScript for Web Developers / Edition 2

5.0 1
by Nicholas C. Zakas
     
 

ISBN-10: 047022780X

ISBN-13: 9780470227800

Pub. Date: 01/14/2009

Publisher: Wiley

This book provides a developer-level introduction along with more advanced and useful features of JavaScript. Coverage includes:

  • JavaScript use with HTML to create dynamic webpages, language concepts including syntax and flow control statements
  • variable handling given their loosely typed nature
  • built-in reference types such as

Overview

This book provides a developer-level introduction along with more advanced and useful features of JavaScript. Coverage includes:

  • JavaScript use with HTML to create dynamic webpages, language concepts including syntax and flow control statements
  • variable handling given their loosely typed nature
  • built-in reference types such as object and array
  • object-oriented programing
  • powerful aspects of function expressions
  • Browser Object Model allowing interaction with the browser itself
  • detecting the client and its capabilities
  • Document Object Model (DOM) objects available in DOM Level 1
  • how DOM Levels 2 and 3 augmented the DOM
  • events, legacy support, and how the DOM redefined how events should work
  • enhancing form interactions and working around browser limitations
  • using the <canvas> tag to create on-the-fly graphics
  • JavaScript API changes in HTML5
  • how browsers handle JavaScript errors and error handling
  • features of JavaScript used to read and manipulate XML data
  • the JSON data format as an alternative to XML
  • Ajax techniques including the use of XMLHttpRequest object and CORS
  • complex patterns including function currying, partial function application, and dynamic functions
  • offline detection and storing data on the client machine
  • techniques for JavaScript in an enterprise environment for better maintainability

This book is aimed at three groups of readers: Experienced object-oriented programming developers looking to learn JavaScript as it relates to traditional OO languages such as Java and C++; Web application developers attempting to enhance site usability; novice JavaScript developers.

Nicholas C. Zakas worked with the Web for over a decade. He has worked on corporate intranet applications used by some of the largest companies in the world and large-scale consumer websites such as MyYahoo! and the Yahoo! homepage. He regularly gives talks at companies and conferences regarding front-end best practices and new technology.

Product Details

ISBN-13:
9780470227800
Publisher:
Wiley
Publication date:
01/14/2009
Pages:
800
Product dimensions:
7.40(w) x 9.10(h) x 2.10(d)

Table of Contents

FOREWORD xxxi

INTRODUCTION xxxiii

CHAPTER 1: WHAT IS JAVASCRIPT? 1

CHAPTER 2: JAVASCRIPT IN HTML 13

CHAPTER 3: LANGUAGE BASICS 25

CHAPTER 4: VARIABLES, SCOPE, AND MEMORY 85

CHAPTER 5: REFERENCE TYPES 103

CHAPTER 6: OBJECT-ORIENTED PROGRAMMING 173

CHAPTER 7: FUNCTION EXPRESSIONS 217

CHAPTER 8: THE BROWSER OBJECT MODEL 239

CHAPTER 9: CLIENT DETECTION 271

CHAPTER 10: THE DOCUMENT OBJECT MODEL 309

CHAPTER 11: DOM EXTENSIONS 357

CHAPTER 12: DOM LEVELS 2 AND 3 381

CHAPTER 13: EVENTS 431

CHAPTER 14: SCRIPTING FORMS 511

CHAPTER 15: GRAPHICS WITH CANVAS 551

CHAPTER 16: HTML5 SCRIPTING 591

CHAPTER 17: ERROR HANDLING AND DEBUGGING 607

CHAPTER 18: XML IN JAVASCRIPT 641

CHAPTER 19: ECMASCRIPT FOR XML 671

CHAPTER 20: JSON 691

CHAPTER 21: AJAX AND COMET 701

CHAPTER 22: ADVANCED TECHNIQUES 731

CHAPTER 23: OFFLINE APPLICATIONS AND CLIENT-SIDE STORAGE 765

CHAPTER 24: BEST PRACTICES 801

CHAPTER 25: EMERGING APIS 835

APPENDIX A: ECMASCRIPT HARMONY 857

APPENDIX B: STRICT MODE 877

APPENDIX C: JAVASCRIPT LIBRARIES 885

APPENDIX D: JAVASCRIPT TOOLS 891

INDEX 897

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Professional JavaScript for Web Developers 5 out of 5 based on 0 ratings. 1 reviews.
Anonymous More than 1 year ago