Backbone.js Cookbook
By Vadim Mirgorod
Publisher: Packt Publishing
Final Release Date: August 2013
Pages: 282

In Detail

There is no doubt that the superior rendering power of HTML5, thin-to-thick client transition and REST style communication created a new era in web development, replacing the outdated approach based on browser plugin technologies. Backbone.js allows developers to write lightweight, modular, and scalable JavaScript applications.

Backbone.js Cookbook contains a series of recipes that provide practical, step-by-step solutions to the problems that may occur during frontend application development using an MVC pattern. You will learn how to build Backbone applications utilizing the power of popular Backbone extensions and integrating your app with different third party libraries. You will also learn how to fulfill the requirements of the most challenging tasks.

The first chapter of the book introduces you to the MVC paradigm and teaches you how to architect rich Internet applications operating with basic concepts of Backbone.js. During the reading of this book you will learn how to solve challenging problems leveraging Backbone objects such as models, collections, views, routers, and so on.

You learn how to use forms, layouts, templating engines, and other Backbone extensions, which will help you to complete specific features of your application. You will understand how to bind a model to a DOM element. You will see how perfectly Backbone.js integrates with third party libraries and frameworks such as jQuery, Zepto, Underscore.js, Require.js, Mustache.js, Twitter Bootstrap, jQueryMobile, PhoneGap and many others. This book will guide you in how to optimize and test your applications, create your own Backbone extensions, and share them with the open source community.

With the help of Backbone.js Cookbook, you will learn everything you need to know to create outstanding rich Internet applications using the JavaScript programming language.

Approach

This is a Cookbook with easy-to-follow recipes, containing practical and detailed examples which are all fully backed up with code, illustrations, and tips to dig deep into Backbone.js.

Who this book is for

This book is great for JavaScript developers who want to learn how to build advanced frontend applications with the Backbone.js framework. This book can be used in educational institutions to teach students how to build frontend applications in an MVC manner.

It's assumed that you have some experience in jQuery, and are familiar with HTML.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyBackbone.js Cookbook
 
4.0

(based on 3 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

67%

of respondents would recommend this to a friend.

Pros

    Cons

      Best Uses

      • Intermediate (3)
        • Reviewer Profile:
        • Developer (3)

      Reviewed by 3 customers

      Sort by

      Displaying reviews 1-3

      Back to top

      (0 of 1 customers found this review helpful)

       
      2.0

      Disappointed, not O'Reilly quality

      By Julie Ng

      from Munich, Germany

      About Me Designer, Developer

      Verified Reviewer

      Pros

        Cons

        • Not comprehensive enough
        • Rehashes Documentation
        • Too basic

        Best Uses

        • Intermediate
        • Novice
        • Student

        Comments about oreilly Backbone.js Cookbook:

        I expected O'Reilly quality and was disappointed. I will not be purchasing any books from Packt Publishing in the future.

        Language: was not interesting to read

        I found the language used by the author to be monotone. Many sentences repeated themselves. It felt like reading a manual as opposed to someone trying to teach you something.

        Recipes weren't recipes

        Having purchased jQuery and Rails recipe books, I expected this one to tackle very specific problems in real life applications. Instead, many "recipes" were just a rehash of the official documentation, with more code and less explanation.

        For example, "validating model attributes" is not a recipe, in my opinion. The author covers the official validate() method, how it works, handling validation errors and triggering validation manually. ALL of this available for free in the official backbone documentation.

        I noticed the table of contents is not available on the O'Reilly website. Had I seen it before, I would have guessed, this is a manual - not a cookbook.

        Only the following chapters contain recipes:
        Chapter 6: Templates and UX Sugar
        Chapter 7: REST and Storage
        Chapter 8: Special Techniques

        In those chapters, the author goes over: using backbones with forms, RESTFUL APIs (but more for you setting up your backend), and some useful plug-ins.

        Nevertheless, there wasn't anything that stood out to me that I did not already read somewhere else.

        I'd recommend instead O'Reilly's "Developing Backbone.js Applications". Covers much of the same, but much more well written.

        (1 of 1 customers found this review helpful)

         
        5.0

        One of ver well written Backbonejs books

        By Manoj Thomas

        from Manchester

        About Me Developer

        Verified Reviewer

        Pros

        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Intermediate

          Comments about oreilly Backbone.js Cookbook:

          It was a very good read and helped triggering some ideas in me to develop Single Page Apps.

          (1 of 1 customers found this review helpful)

           
          5.0

          Great recipes to cook some backbone apps

          By Edison Leon

          from New York

          About Me Developer

          Verified Reviewer

          Pros

          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

          • Too basic

          Best Uses

          • Intermediate
          • Novice
          • Student

          Comments about oreilly Backbone.js Cookbook:

          When I was looking for examples in backbone I found one that did not help me much and it was short, until this recipes book came out, I like the way it starts in chapter one with a full app sample and explained step by step, that was a start for me to dive in for more.
          What I like about this book is how the author dives in one each of the example, running trough each line of code makes easy to understand what's going and figure out what to do in a next project if a piece is not need at that moment. The recipes are real problem solve experience building an app which help me to develop my skill while experience/reviewing each code (book comes with the source code which you can download and play with of course) It's a book where can come back any time and find one or two tips for your project until you become more experienced in backbone, Models, Collections,Views, Routers and, Events, Templates are cover in each chapter which makes it easy to find for a solution. My favorite chapter are Rest and Storage, and Special Techniques as I learned backbone while building and web app, book came so handy. I was not very happy with the use of plugins as I want it to understand plain backbone and maybe see how to handle in some cases with out a library which I think is posible (not in all the plugin samples though) at first but yet it became handy later on as some times use this book or the code as reference now.
          If practice makes you stronger this book should be in your shelf or digital reader as the book contains many sample in backbone that can help you understand

          Displaying reviews 1-3

          Back to top

           
          Buy 2 Get 1 Free Free Shipping Guarantee
          Buying Options
          Immediate Access - Go Digital what's this?
          Ebook: $26.99
          Formats:  ePub, Mobi, PDF