Professional JavaScript for Web Developers

Front Cover
John Wiley & Sons, Oct 15, 2019 - Computers - 1200 pages
Update your skill set for ES 6 and 7 with the ultimate JavaScript guide for pros

Professional JavaScript for Web Developers is the essential guide to next-level JavaScript development. Written for intermediate-to-advanced programmers, this book jumps right into the technical details to help you clean up your code and become a more sophisticated JavaScript developer. From JavaScript-specific object-oriented programming and inheritance, to combining JavaScript with HTML and other markup languages, expert instruction walks you through the fundamentals and beyond. This new fourth edition has been updated to cover ECMAScript 6 and 7 (also known as ES2015 and ES2016) and the major re-imagination and departure from ES 5.1; new frameworks and libraries, new techniques, new testing tools, and more are explained in detail for the professional developer, with a practical focus that helps you put your new skills to work on real-world projects.

The latest—and most dramatic—ES release is already being incorporated into JavaScript engines in major browsers; this, coupled with the rise in mobile web traffic increasing demand for responsive, dynamic web design, means that all web developers need to update their skills—and this book is your ideal resource for quick, relevant guidance.

  • Get up to date with ECMAScript 6 and 7, new frameworks, and new libraries
  • Delve into web animation, emerging APIs, and build systems
  • Test more effectively with mocks, unit tests, functional tests, and other tools
  • Plan your builds for future ES releases

Even if you think you know JavaScript, new ES releases bring big changes that will affect the way you work. For a professional-level update that doesn't waste time on coding fundamentals, Professional JavaScript for Web Developers is the ultimate resource to bring you up to speed.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

FOREWORD
xlvii
INTRODUCTION
xlix
CONTENTS
1
WHAT IS JAVASCRIPT?
2
What Is JavaScript?
8
JavaScript in HTML
13
LANGUAGE BASICS
25
let Declarations
31
DOM Extensions
543
DOM Levels 2 and 3
563
Styles
572
Ranges
590
Events
601
Touch and Gesture Events
651
Animation and Graphics with Canvas
671
Scripting Forms
707

The Symbol Type
54
The Object Type
67
Operators
68
Language Basics 25
70
Statements
90
Variables Scope and Memory
101
Basic Reference Types
125
The String Type
144
Collection Reference Types
167
xx
184
Typed Arrays
196
Iterators and Generators
225
Generators
236
Objects Classes and ObjectOriented Programming
251
xxii
267
Object Iteration
284
Classes
302
Inheritance
312
Proxies and Reflect
323
Functions
349
Spread Arguments and Rest Parameters
359
Promises and Async Functions
391
Promise Instance Methods
400
The Browser Object Model
437
Registering Handlers
459
Client Detection
465
Hardware
489
The Document Object Model
491
The Document Type
498
The Element Type
506
The Text Type
514
Mutation Observers
529
JavaScript APIs
743
xxxvi
763
Readable Streams
779
Custom Elements
802
Error Handling and Debugging
823
Throwing Errors
829
XML in JavaScript
849
XSLT Support in Browsers
857
JSON
861
Network Requests and Remote Resources
871
XMLHttpRequest Level 2
878
Alternate CrossDomain Techniques
884
Common Fetch Patterns
893
The Response Object
901
ClientSide Storage
919
Continues
939
Modules
945
Workers
969
Dedicated Workers
973
Shared Workers
997
The Service Worker Cache
1012
Push Notifications
1030
Best Practices
1035
xliv
1037
Programming Practices
1043
APPENDIX A ES2018 and ES2019
1067
APPENDIX B Strict Mode
1087
JavaScript Libraries and Frameworks
1095
JavaScript Tools
1101
INDEX
1113
Copyright

Other editions - View all

Common terms and phrases

About the author (2019)

About the author

Matt Frisbie is the author of Angular 2 Cookbook and AngularJS Web Application Development Cookbook as well as several video series. A software engineer at Google, he is actively involved in the JavaScript community and often does open webcasts as well as giving talks at meetups.

Bibliographic information