Secrets of the JavaScript Ninja

Secrets of the JavaScript Ninja
By John Resig, Bear Bibeault, Josip Maras

List Price: $44.99
Price: $40.36 Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

29 new or used available from $34.97

Average customer review:
(28 customer reviews)

Product Description

Summary

More than ever, the web is a universal platform for all types of applications, and JavaScript is the language of the web. If you're serious about web development, it's not enough to be a decent JavaScript coder. You need to be ninja-stealthy, efficient, and ready for anything. This book shows you how.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

JavaScript is rapidly becoming a universal language for every type of application, whether on the web, on the desktop, in the cloud, or on mobile devices. When you become a JavaScript pro, you have a powerful skill set that’s usable across all these domains.

About the Book

Secrets of the JavaScript Ninja, Second Edition uses practical examples to clearly illustrate each core concept and technique. This completely revised edition shows you how to master key JavaScript concepts such as functions, closures, objects, prototypes, and promises. It covers APIs such as the DOM, events, and timers. You’ll discover best practice techniques such as testing, and cross-browser development, all taught from the perspective of skilled JavaScript practitioners.

What’s Inside

  • Writing more effective code with functions, objects, and closures
  • Learning to avoid JavaScript application pitfalls
  • Using regular expressions to write succinct text-processing code
  • Managing asynchronous code with promises
  • Fully revised to cover concepts from ES6 and ES7

About the Reader

You don’t have to be a ninja to read this book—just be willing to become one. Are you ready?

About the Authors

John Resig is an acknowledged JavaScript authority and the creator of the jQuery library. Bear Bibeault is a web developer and author of the first edition, as well as coauthor of Ajax in Practice, Prototype and Scriptaculous in Action, and jQuery in Action from Manning. Josip Maras is a post-doctoral researcher and teacher.

Table of Contents

    PART 1 - WARMING UP

  1. JavaScript is everywhere
  2. Building the page at runtime
  3. PART 2 - UNDERSTANDING FUNCTIONS

  4. First-class functions for the novice: definitions and arguments
  5. Functions for the journeyman: understanding function invocation
  6. Functions for the master: closures and scopes
  7. Functions for the future: generators and promises
  8. PART 3 - DIGGING INTO OBJECTS AND FORTIFYING YOUR CODE

  9. Object orientation with prototypes
  10. Controlling access to objects
  11. Dealing with collections
  12. Wrangling regular expressions
  13. Code modularization techniques
  14. PART 4 - BROWSER RECONNAISSANCE

  15. Working the DOM
  16. Surviving events
  17. Developing cross-browser strategies


Product Details

  • Amazon Sales Rank: #76635 in Books
  • Published on: 2016-09-10
  • Original language: English
  • Number of items: 1
  • Dimensions: 9.20" h x .90" w x 7.30" l, .0 pounds
  • Binding: Paperback
  • 464 pages

Editorial Reviews

About the Author

John Resig is an acknowledged JavaScript authority and the creator of the jQuery library.

Bear Bibeault is a web developer and coauthor of Ajax in Practice, Prototype and Scriptaculous in Action, and jQuery in Action from Manning.

Josip Maras is a post-doctoral researcher and teacher whose thesis on automating reuse in web application development included implementing a JavaScript interpreter in JavaScript.


Customer Reviews

Most helpful customer reviews

0 of 0 people found the following review helpful.
5Outstanding intermediate level JS book
By David Ivey
I almost didn't read this book because of the name, as my assumption was that it was a beginner level JS book. I'm so glad that I decided to read it. This book is most definitely NOT a beginner book. However, it is written in easy to understand language. It covers all the major topics a good JS developer should understand. Closures, the context of 'this' depending on how a function is invoked, the use of apply(), call(), and bind() to set context, arrow functions and how they affect context, using apply() to supply a variable list of arguments, maps, memoizing functions, object orientation with prototypes, regular expressions, timers and threads, generators and promises, writing modular code, and much more.

I actually own the first edition of this book, and decided to get this edition as well. There is of course some duplication between the two versions. but there is also a huge amount of new material in this edition. It is well worth getting the 2nd edition even if you already own the 1st edition.

The book series You Don't Know JS: Scope & Closures, You Don't Know JS: this & Object Prototypes, and the other 4 volumes are also excellent intermediate level books (one of them is a beginner book), but they are a little more technical and not quite as easy to understand as this book. I don't believe there are any advanced level books. You get to the intermediate level, and then you program for about 10,000 hours to get to the advanced/expert level. On the other hand, Eloquent JavaScript, 2nd Ed.: A Modern Introduction to Programming is a pretty good book that will take you from beginner up to the intermediate level. Lastly, JavaScript: The Definitive Guide: Activate Your Web Pages (Definitive Guides) has long been the JS bible for years, but it is now getting a little dated. When a new version ever gets released, I'd buy it immediately. JavaScript: The Good Parts also gets a lot of recommendations, but it too is getting a little dated.

0 of 0 people found the following review helpful.
5Great book
By Hussein Nasser
Half way through the book and I'm learning so much. The style of the author is very entertaining. Book works for me since it talks about advanced javascript techniques.

2 of 2 people found the following review helpful.
5Five Stars
By Yar
Great Book!

See all 28 customer reviews...

Connect with defaultLogic
What We've Done
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.



Manage research, learning and skills at defaultLogic. Create an account using LinkedIn or facebook to manage and organize your IT knowledge. defaultLogic works like a shopping cart for information -- helping you to save, discuss and share.


  Contact Us