"Pro JavaScript Techniques" is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesnt waste any time looking at things you already know, like basic syntax and structures.Expert web developer and author John Resig concentrates on fundamental, vital topics what modern JavaScripting is (and isnt), the current state of browser support, and pitfalls to be wary of. The book is organized into four Modern JavaScript development using JavaScript the object-oriented way, creating reusable code, plus testing and debugging DOM scripting updating content and styles, plus events, and effect and event libraries How Ajax works, overcoming problems, and using libraries to speed up development of Ajax applications The future of JavaScript looking at cutting edge topics like JSON, HTML 5, and moreAll concepts are backed up by real-world examples and case studies, and John provides numerous reusable functions and classes to save you time in your development. There are also up-to-date reference appendixes for the DOM, events, browser support (including IE7), and frameworksso you can look up specific details quickly and easily.
Although slightly dated, Resig's Pro Javascript Techniques does an excellent job explaining many of the basic building blocks of modern javascript libraries: DOM interaction, code minimization techniques, debugging tools, rich interactivity with timed behavior, and basic AJAX techniques for non-blocking server access. This is a very helpful book for anyone wanting a quick and basic overview.
That said, this book, given its date, does not spend much time covering closures, execution context (e.g. this), and the Object prototypal chain which have today become pre-requisites for OO design techniques such as encapsulation and inheritance. If you are looking for the truly advanced javascript techniques, don't look here. Because of that, I'm expecting (and hoping) that Resig's next work () will provide a more thorough treatment of the subject.
OK, this pretty-old book is closing my 2016 Reading Challenge.
It's written before Google Chrome, in the early days of jQuery. Reading this book give me understanding how JavaScript framework -jQuery particularly, since the author is its creator- is working under the hood.
Nobody codes jQuery anymore, you might say. It is true. Ten years (since this book published) is like forever in software engineering fields. Today, the technique mentioned in this book can be easily done with the help of modern JS framework. But like I mentioned earlier, this book gives you an understanding on the deep level, beyond the framework, pure JS.
If you're expert on JS, maybe you'll get boring by the topics. But if you intermediate or beginner JS programmer and curious about how the language is constructed under the framework layer, this book worth to read.
Let's get this straight right away: the author is John Resig, the creator of the jQuery library, so obviously this guy knows what he is talking about. And just like jQuery, Resig presents a solid base by describing how to write reusable, unobtrusive, object-oriented JavaScript code. Then, he gets right to it by providing chapter after chapter of real-world examples of how to build useful stuff from this base. While he doesn't use jQuery in his code examples, per se, along the way you will learn how and why jQuery was constructed. Lots of good stuff to learn here that you can directly apply to your own projects, no matter what library (if any) that you use.
Good if you want to see how JavaScript frameworks are thought out and created. Not so useful if you know the language and are looking for architectural techniques. Resig is a decently terse writer though, so it's not as long-winded as . There are some incidental techniques that Resig uses that were pretty cool tricks to pick up.
As someone with only mediocre JavaScript skills, I found the book to be quite helpful. It's just like the title suggests: a collection of recipes and best practices for writing better JavaScript. However, the book probably isn't as useful for more advanced JavaScript programmers.
This book was simply awesome! Even if you know JavaScript as a language, this book teaches you how to harness the power of this language and take your projects to the next level. Totally loved it. Waiting for the next book by John Resig: Secrets of the JavaScript Ninjas. :)
This book is too old. Javascript techniques have a tendency to become old very quickly. Today these techniques are hidden inside the libraries like jquery and an average front-end developer never uses them.