Limit search to available items
Book Cover
E-book
Author Nicholus, Ray, author

Title Beyond jQuery / Ray Nicholus
Published [New York] : Apress, [2016]

Copies

Description 1 online resource
Contents At a Glance; Contents; About the Author; Preface; Acknowledgments; Introduction; Chapter 1: The Oppressive Magic of jQuery; Why Have We Been Using jQuery?; Simplicity; Community; Habit; Elegance; Fear; A Crutch Is Only Temporary; You Are a Mechanic, Not a Driver; Stunted Growth; The Price of Shortcuts (a True Story); A New Direction, a New Web Developer; Shortcuts and My Own Stunted Growth; A Challenge: No jQuery Allowed!; Focus on the Implementation, Not the Magic; Chapter 2: You Don't Need jQuery (Anymore); Need vs. Want; Both Sides of the Acceptable Use Argument
When Is It Acceptable to Use It?When Should You Refrain from Using It?; Should You Use Other Libraries Instead?; Small Shims Over Large Wrappers; Writing Your Own Shim; The Final Word; Chapter 3: Understanding the Web API and "Vanilla" JavaScript; Everything You Need to Know About Browsers; Ancient Browsers; Modern Browsers; Evergreen Browsers; Mobile Browsers; Non-browsers; What Is This Web API and Why Is It Important?; The DOM API; Everything Else (non-DOM); JavaScript: A Less Elegant Version of jQuery?; The Language vs. the Web API; History and Standardization
Chapter 4: Finding HTML ElementsCore Element Selectors; IDs; jQuery; Web API; Classes; jQuery; Web API; Element Tags; jQuery; Web API; Pseudo-classes; jQuery; Web API; Selecting Elements Based on Their Relations; Parents and Children; jQuery; Web API; Siblings; jQuery; Web API; Ancestors and Descendants; jQuery; Web API; Mastering Advanced Element Selection; Excluding Elements; jQuery; Web API; Multiple Selectors; jQuery; Web API; Element Categories and Modifiers; A Simple Replacement for (selector); Chapter 5: Using and Understanding HTML Element Attributes; What Is an Attribute?
History and StandardizationHow Do Attributes Differ from Properties?; Finding Elements Using Attributes; Finding Elements Using Attribute Names; jQuery; Web API; Finding Elements Using Attribute Names and Values; jQuery; Web API; The Power of Wildcard and Fuzzy Attribute Selectors; Looking for Specific Characters; Looking for Specific Words; Attribute Values That Start or End With . . .; Reading and Modifying Element Attributes; Class Attributes; Reading Classes; Adding and Removing Classes; Toggling Classes; Data Attributes; Working with Other Standard and Custom Attributes
Reading AttributesModifying Attributes; Chapter 6: HTML Element Data Storage and Retrieval; Why Would You Want to Attach Data to Elements?; Tracking State; Connecting Elements; Storing Models Directly in Your Elements; Common Pitfalls of Pairing Data with Elements; Memory Leaks; Managing Data; Using a Solution for All Browsers; Storing Small Bits of Data Using data- Attributes; Reading and Updating data- Attributes with jQuery; Using the Web API to Read and Update data- Attributes; Complex Element Data Storage and Retrieval; The Familiar jQuery Approach; Using a More Natural Approach
Summary This book gives you the confidence to abandon your jQuery crutches and walk freely with the power of the web API and JavaScript. Learn about the most important concepts surrounding web development as we demystify jQuery. Beyond jQuery doesn't just throw code at you - everything is explained in detail from the perspective of a jQuery developer. jQuery is often injected into web applications and libraries with no logical reason for pulling it in as a dependency. Many web developers don't really know when they need to use jQuery, and when they don't - it's just a standard step when setting up a new library or web application. But relying solely on jQuery as your window to the web leaves large gaps in your knowledge. This in turn results in frustration when the abstraction that jQuery provides "leaks" and exposes you to the native aspects of the browser. Beyond jQuery educates developers, reveals the magic behind jQuery, helps you solve common problems without it, and gives you more confidence to embrace the power of the web API and standardized JavaScript
Notes Includes index
Online resource; title from PDF title page (EBSCO, viewed October 28, 2016)
Subject JavaScript (Computer program language)
HTML (Document markup language)
Query languages (Computer science)
Subroutines (Computer programs)
HTML.
Information technology: general issues.
Artificial intelligence.
Web programming.
COMPUTERS -- General.
HTML (Document markup language)
JavaScript (Computer program language)
Query languages (Computer science)
Subroutines (Computer programs)
Form Electronic book
ISBN 9781484222355
1484222350