Matt Doyle introduces jQuery concepts and lays out the essentials in the first three chapters of the book, with a simple tutorial on creating a basic jQuery page right from scratch, with buttons and a toolbar, to whet your appetite. Chapters 5,6 and 7 then deal specifically with creating buttons, toolbars, popups and dialogue boxes, from basics to customising the behaviour and look and feel, in a very fluid manner. Typical of most chapters, the author would set out the chapter by showing the most basic and clear example snippet code, such as:
To turn a link into a button, add a data-role=”button” attribute to the link:
<a href=”view-recipe.html” data-role=”button”>View Recipe</a>
A coding example would then be followed by graphical illustrations to show what effect your code would have. Matt would then dive into deeper detail on how to adjust various properties and customise a button for example, using a reference table for the various markup options and preview of the result.
A specifically useful chapter for me was chapter 7, which went into creating interesting forms, in jQuery mobile, from layout the various controls, whilst not getting too detailed on the mechanics of submitting a form, leaving that for the later chapters. Chapter 10 marked the start of the more advanced topics, for those of us who want to customise their app even further, and contrary to the section heading, it wasn’t as intimidating or terribly complex that many of the other books fall into.
The advanced section only had three chapters, Theming jQuery mobile, which showed various options, from playing around with the default template, to using Theme-Roller to develop your own themes. I was quite impressed the author had so much detail on how to use the third-party website to to really customise the look and feel, which was comforting as it saved me having to look elsewhere for a user guide.
My rating :[rating=4.5]
Author: Matt Doyle
Publisher: Elated Books
Year: October 2012