Rights Contact Login For More Details
- Wiley
More About This Title Professional JavaScript for Web Developers 3rd Edition
- English
English
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.
- English
English
- English
English
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