An edition of Secrets of the JavaScript Ninja (2012)

Secrets of the JavaScript Ninja

  • 4.50 ·
  • 2 Ratings
  • 2 Want to read
  • 0 Currently reading
  • 3 Have read
Not in Library

My Reading Lists:

Create a new list

Check-In

×Close
Add an optional check-in date. Check-in dates are used to track yearly reading goals.
Today

  • 4.50 ·
  • 2 Ratings
  • 2 Want to read
  • 0 Currently reading
  • 3 Have read


Download Options

Buy this book

Last edited by ImportBot
December 20, 2023 | History
An edition of Secrets of the JavaScript Ninja (2012)

Secrets of the JavaScript Ninja

  • 4.50 ·
  • 2 Ratings
  • 2 Want to read
  • 0 Currently reading
  • 3 Have read

This edition doesn't have a description yet. Can you add one?

Publish Date
Language
English
Pages
392

Buy this book

Previews available in: English

Edition Availability
Cover of: Secrets of the JavaScript Ninja
Secrets of the JavaScript Ninja
December 28, 2012, Manning Publications
in English

Add another edition?

Book Details


Table of Contents

contents
preface
acknowledgments
about this book
about the authors
Part 1. Preparing for training
Chapter 1. Enter the ninja
The JavaScript libraries we’ll be tapping
Understanding the JavaScript language
Cross-browser considerations
Current best practices
Summary
Chapter 2. Arming with testing and debugging
Debugging code
Test generation
Testing frameworks
The fundamentals of a test suite
Summary
Part 2. Apprentice training
Chapter 3. Functions are fundamental
What’s with the functional difference?
Declarations
Invocations
Summary
Chapter 4. Wielding functions
Anonymous functions
Recursion
Fun with function as objects
Variable-length argument lists
Checking for functions
Summary
Chapter 5. Closing in on closures
How closures work
Putting closures to work
Binding function contexts
Partially applying functions
Overriding function behavior
Immediate functions
Summary
Chapter 6. Object-orientation with prototypes
Instantiation and prototypes
The gotchas!
Writing class-like code
Summary
Chapter 7. Wrangling regular expressions
Why regular expressions rock
A regular expression refresher
Compiling regular expressions
Capturing matching segments
Replacing using functions
Solving common problems with regular expressions
Summary
Chapter 8. Taming threads and timers
How timers and threading work
Minimum timer delay and reliability
Dealing with computationally expensive processing
Central timer control
Asynchronous testing
Summary
Part 3. Ninja training
Chapter 9. Ninja alchemy: runtime code evaluation
Code evaluation mechanisms
Function “decompilation”
Code evaluation in action
Summary
Chapter 10. With statements
What’s with “with”?
Real-world examples
Importing namespaced code
Testing
Templating with “with”
Summary
Chapter 11. Developing cross-browser strategies
Choosing which browsers to support
The five major development concerns
Implementation strategies
Reducing assumptions
Summary
Chapter 12. Cutting through attributes, properties, and CSS
DOM attributes and properties
Cross-browser attribute issues
Styling attribute headaches
Fetching computed styles
Summary
Part 4. Master training
Chapter 13. Surviving events
Binding and unbinding event handlers
The Event object
Handler management
Triggering events
Bubbling and delegation
The document ready event
Summary
Chapter 14. Manipulating the DOM
Injecting HTML into the DOM
Cloning elements
Removing elements
Text contents
Summary
Chapter 15. CSS selector engines
The W3C Selectors API
Using XPath to find elements
The pure-DOM implementation
Summary
index

Classifications

Library of Congress
QA76.73.J39

ID Numbers

Open Library
OL25431303M
Internet Archive
secretsjavascrip00resi
ISBN 10
193398869X
ISBN 13
9781933988696
OCLC/WorldCat
828931422

Community Reviews (0)

Feedback?
No community reviews have been submitted for this work.

Lists

This work does not appear on any lists.

History

Download catalog record: RDF / JSON / OPDS | Wikipedia citation
December 20, 2023 Edited by ImportBot import existing book
February 28, 2023 Edited by ImportBot import existing book
February 9, 2023 Edited by BWBImportBot Modified local IDs, source records
February 2, 2023 Edited by ImportBot import existing book
September 27, 2013 Created by Abhijeet Pawar Added new book.