- Go Cashless with Visa Debit / Credit Cards: Get 10% back up to Rs.100 if you pay with a Visa Card. Offer valid for your first two cashless transactions ever on Amazon. Offer Period: 5th Jun to 30th Jun. Cashback will be credited as Amazon Pay balance Here's how (terms and conditions apply)
Other Sellers on Amazon
+ 90.00 Delivery charge
+ FREE Delivery
Special offers and product promotions
Customers who bought this item also bought
jQuery Developers' Guide to Moving State to the Client
About the Author
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter mobile phone number.
|5 star (0%)|
|4 star (0%)|
|3 star (0%)|
|2 star (0%)|
|1 star (0%)|
Most helpful customer reviews on Amazon.com
While all the examples and everything work if you use his libraries and versions of backbone.js, his version of backbone.js is 0.3.0 while the current version is 1.1.0!
I wasted a lot of time trying to work through the examples but using my own project's needs. For example the "bind" call in Chapter 12 is actually now "listenTo". And the "refresh" event doesn't work, I had to use the "sync" event.
Also the author's "spine" library no longer looks supported.
When you're learning something new, it's always a challenge. This is particularly difficult if you have a library that is outdated, and the text refers to that outdated library.
Unfortunately, I didn't find out in time before I could return the book.
I would look for something that is more modern and uses some latest version of backbone.js.
But, you need to be at the right stage... which is basically, when you can follow the book, although it may take a bit of effort. If you're already a ninja, you probably don't need to read the book at all, unless you simply want to be exposed to another POV. And, for a lot of non-ninja, the book will be too advanced. Luckily, O'Reilly put the entire first chapter on-line so you can judge for yourself.
Chapter 1 is no namby pampy intro. In the chapter McCaw defines a constructor function used to create constructor functions that emulate classes in languages which support classes natively. He also includes a useful discussion of how the 'this' context switches in JS and how to control it with bind or by defining a jQ-like proxy method. Later design patterns have some similarity to what he does in chapter 1 (using Object.create instead of constructors), so if you can follow this chapter, you're probably ready to take on the book.
Some of the other reviews have touched on a few negatives, but to my mind they're not enough to downgrade the book. Occasionaly, the discussion seems to jump over an explanatory detail, but if you make a lab page that links to the book errata page and download the code for the examples, you should be able to fill in any gaps. I found the first five chapters fascinating, and chapters 6-13 useful and concise roll ups on various topics like dependency management, debugging and various libraries. In addition there are appendices that do a quick survey of jQuery and CSS3.