25 November 2011

Book Review--Head First jQuery

Head First jQuery
Ryan Benedetti & Ronan Cranley

O’Reilly Publishing provided me access to an electronic copy of this book for review purposes.

A basic introduction to jQuery and scripting

jQuery is fast becoming one of the most useful and popular JavaScript frameworks being used and being developed for future markets with jQuery mobile (see book review/blog post here.)  One of the best features of jQuery, in my opinion, is that it allows you to learn and use a scripting language that doesn't depend upon the browser develops to update their JavaScript libraries with each release of the browser---which often means that some of the selectors don't work right with all of the browsers (IE in particular.)  Instead jQuery is file that lives on a server somewhere that the webpage calls upon, much like how PHP works.  It's still a client side scripting language, but in some ways acts like a server side.  In this massive book (over 450 pages) and over 11 chapters the reader will learn how to download and setup jQuery and introduce the basics of jQuery. The later chapters briefly introduce AJAX, PHP, MySQL, JSON, and XML and how they work with jQuery to build a more interactive webpage. There also a couple of apendecies to help you get a test environment set up on your local computer.  One thing to note about this book is that you do need experience with webdesign and it does help to have some experience with scripting languages. 

One of the first things that stands out about this book (and the Head First series in general) is the bright, colorful, and plentiful images used to help illustrate concepts and how jQuery works.  They also provide illustrations on how to walk through the specific problem at hand, which is often nice to see in a visual format...even if it is just notes on a pad of paper.  The other highlight of the Head First series (and this book is no exception) is that it's written in a clear easy to understand language, it's written for the novice programmer--one that's still learning how programming works and for someone that's looking for an overview of the language.  In this book the authors give you a specific situation--a client wants work done on their website-- walk you through how to solve the problem step by step, and with illustrations to help you solve the problem.  This method can be a very helpful way to introduce aspects of jQuery as it walks through problems that you might encounter when building/developing your website and ways that jQuery can over come that problem. 

But like every "Head First" title the illustrations won't work for everyone.  I find it helps if you're coming from a nontraditional background or from a more creative bent (left brain.) And even then sometimes the images and graphics can be overwhelming, which is a problem that I find sometimes in this book.  I found that thT images, while helpful in the beginning, often start to become overwhelming as you get more and more into the problem being solved and make it a bit difficult at times to concentrate on following the step by step instructions. 

Overall this is a fairly good introduction book and easy to read if you're coming from a nontraditional programming background (and are left brain) then this might just be the book for you to learn more about scripting languages.  If you're more right brain then you might want to look for a more traditional book on jQuery, such as "Learning jQuery, Third Edition" from Pact.

I review for the O'Reilly Blogger Review Program

No comments: