Once the province of half-baked implementations and useless scrolling messages, JavaScript is now a powerful, dynamic language with a rich ecosystem of professional-grade development tools, infrastructures, frameworks, and toolkits. Presented in bite-sized two-page tasks, these JavaScript tips help practitioners start quickly and save time-particularly through shrewd use of reusable code libraries. The JavaScript ecosystem can be tough to hack through, even for experienced programmers. There are so many extensive JavaScript reference books and competing libraries to choose from-Prototype, jQuery, MooTools, YUI, Dojo, ExtJS, and so on. Christophe Porteneuve is here to he gives you fundamentals, the most handy techniques, and the insiders best practices. If youre reasonably comfortable programming in any widely known language, youll be able to jump into JavaScript in no time.
Recently a startup called CodeAcademy launched with its first set of three courses covering the basics of Javascript – the language of the client-side internet. I did those short courses for kicks and giggles and finished them thinking that it’s been a while since I read any formal work on Javascript. A long while – 2002 was the last time. To solve that, I picked this up from my favorite source of programing books and tore my way through it in two hours. This is a wonderful, quick, easy to read and understand deep dive into Javascript. While Javascript isn’t exactly complex, there are numerous quirks and catches (I’m looking at you “falsy” and “truthiness”) that you need to be aware of. The book is also quite gentle on non-programmers too, or – like me – long time programmers who haven’t programmed in a long time. If it’s Javascript you need to know quickly, this is the book to read.
This is a really good book conceptually, intended to provide working examples of ways to approach common functions in front-end design. The issue that I experienced is that the author uses Prototype as his framework, and, while he sometimes does an excellent job of comparing this with the other frameworks (I'm a jQuery user), he often leaves you to figure it out on your own. Perhaps if I ever have the time to dive into Prototype and learn its nuances, this book will raise a couple of stars in my estimation.
A decent, if short, entry into the JavaScript cookbook market. Broken into a number of sections with a few recipes each, it starts with plain JavaScript and the DOM and quickly moves into tips for UI, forms, and AJAX. The tips are good, and I'm sure I'll reference it again, but anyone above the beginner level won't find much to learn here.