Pro JavaScript Techniques [electronic resource] : Second Edition /
Paxton, John.author.
Resig, John.author.
Ferguson, Russ.author.
Pro JavaScript Techniques is the ultimate JavaScript book for today's web developer. It provides everything you need to know about modern JavaScript, and teaches you what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, but instead concentrates on fundamental, vital topics—what modern JavaScripting is (and isn't), and pitfalls to be wary of. You will learn about the 'this' keyword, as well as new object tools. You will be able to create reusable code with encapsulation, overloading and inheritance. The most recent techniques for debugging and testing are covered comprehensively, with information on Chrome developer tools, Jasmine, PhantomJS and Protractor. This update finishes with chapters on constructing single-page web applications that dominate the modern web. The book is filled with real-world examples and case studies, as well as numerous reusable functions and classes to save you time in your development. You will learn the practical skills needed to build professional, dynamic web applications. Pro JavaScript Techniques is an indispensable reference for any professional JavaScript web developer—enhance your JavaScript development today.
Description based upon print version of record.
Contents at a Glance; Contents; About the Authors; About the Technical Reviewers; Acknowledgments; Chapter 1: Professional JavaScript Techniques;  How Did We Get Here?;  Modern JavaScript;  The Rise of Libraries ;  More Than a Note about Mobile;  Where Do We Go from Here?;  Coming Up Next;  Summary; Chapter 2: Features, Functions, and Objects;  Language Features;  References and Values ;  Scope;  Context;  Closures;  Function Overloading and Type-Checking ;  New Object Tools;  Objects;  Modifying Objects;  Summary; Chapter 3: Creating Reusable Code;  Object-Oriented JavaScript;  Inheritance
Member Visibility  The Future of Object-Oriented JavaScript;  Packaging JavaScript ;  Namespaces;  The Module Pattern;  Immediately Invoked Function Expressions;  Summary; Chapter 4: Debugging JavaScript Code;  Debugging Tools;  The Console;  Leveraging the Console Features;  The Debugger;  DOM Inspector;  Network Analyzer ;  Timeline ;  Profiler ;  Summary; Chapter 5: The Document Object Model;  An Introduction to the Document Object Model;  DOM Structure;  DOM Relationships;  Accessing DOM Elements;  Finding Elements by CSS Selector ;  Waiting for the HTML DOM to Load
Waiting for the Page to Load Waiting for the Right Event;  Getting the Contents of an Element;  Getting the Text of an Element ;  Getting the HTML of an Element ;  Working with Element Attributes;  Getting and Setting an Attribute Value ;  Modifying the DOM;  Creating Nodes Using the DOM ;  Inserting into the DOM;  Injecting HTML into the DOM ;  Removing Nodes from the DOM;  Handling White Space in the DOM;  Simple DOM Navigation;  Summary; Chapter 6: Events;  Introduction to JavaScript Events;  The Stack, the Queue, and the Event Loop ;  Event Phases;  Binding Event Listeners
Traditional BindingAdvantages of Traditional Binding; Disadvantages of Traditional Binding;  DOM Binding: W3C; Advantages of W3C Binding ; Disadvantage of W3C Binding;  Unbinding Events;  Common Event Features;  The Event Object;  Canceling Event Bubbling;  Overriding the Browser's Default Action;  Event Delegation ;  The Event Object;  General Properties; type ;  target ; stopPropagation; preventDefault / returnValue = false;  Mouse Properties; pageX and pageY ;  clientXand clientY ;  layerX/layerY and offsetX/offsetY ;  button ;  relatedTarget ;  Keyboard Properties; ctrlKey ;  keyCode
shiftKey  Types of Events;  Page Events; load; beforeunload; error; resize; scroll;  unload ;  UI Events ; focus; blur;  Mouse Events; click; dblclick; mousedown; mouseup; mousemove; mouseover; mouseout;  mouseenter ;  mouseleave ;  Keyboard Events; keydown/keypress ; keyup;  Form Events; select; change; submit; reset;  Event Accessibility;  Summary; Chapter 7: JavaScript and Form Validation;  HTML and CSS Form Validation;  CSS;  JavaScript Form Validation;  Validation and Users;  Validation Events;  Customizing Validation;  Preventing Form Validation;  Summary
Chapter 8: Introduction to Ajax
Includes bibliographical references and index.
Pro JavaScript Techniques is the ultimate JavaScript book for today's web developer. It provides everything you need to know about modern JavaScript, and teaches you what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, but instead concentrates on fundamental, vital topics—what modern JavaScripting is (and isn't), and pitfalls to be wary of. You will learn about the 'this' keyword, as well as new object tools. You will be able to create reusable code with encapsulation, overloading and inheritance. The most recent techniques for debugging and testing are covered comprehensively, with information on Chrome developer tools, Jasmine, PhantomJS and Protractor. This update finishes with chapters on constructing single-page web applications that dominate the modern web. The book is filled with real-world examples and case studies, as well as numerous reusable functions and classes to save you time in your development. You will learn the practical skills needed to build professional, dynamic web applications. Pro JavaScript Techniques is an indispensable reference for any professional JavaScript web developer—enhance your JavaScript development today.
Computer programming.
Software engineering.
Web Development.
Software Engineering/Programming and Operating Systems.