Developing Backbone.js Applications
Building Better JavaScript Applications
Publisher: O'Reilly Media
Final Release Date: May 2013
Pages: 374

If you want to build your site’s frontend with the single-page application (SPA) model, this hands-on book shows you how to get the job done with Backbone.js. You’ll learn how to create structured JavaScript applications, using Backbone’s own flavor of model-view-controller (MVC) architecture.

Start with the basics of MVC, SPA, and Backbone, then get your hands dirty building sample applications—a simple Todo list app, a RESTful book library app, and a modular app with Backbone and RequireJS. Author Addy Osmani, an engineer for Google’s Chrome team, also demonstrates advanced uses of the framework.

  • Learn how Backbone.js brings MVC benefits to the client-side
  • Write code that can be easily read, structured, and extended
  • Work with the Backbone.Marionette and Thorax extension frameworks
  • Solve common problems you’ll encounter when using Backbone.js
  • Organize your code into modules with AMD and RequireJS
  • Paginate data for your Collections with the Backbone.Paginator plugin
  • Bootstrap a new Backbone.js application with boilerplate code
  • Use Backbone with jQuery Mobile and resolve routing problems between the two
  • Unit-test your Backbone apps with Jasmine, QUnit, and SinonJS
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyDeveloping Backbone.js Applications
 
4.5

(based on 17 reviews)

Ratings Distribution

  • 5 Stars

     

    (11)

  • 4 Stars

     

    (5)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

94%

of respondents would recommend this to a friend.

Pros

  • Helpful examples (15)
  • Well-written (15)
  • Easy to understand (13)
  • Accurate (12)
  • Concise (10)

Cons

    Best Uses

    • Intermediate (14)
    • Student (6)
    • Expert (4)
    • Novice (4)
      • Reviewer Profile:
      • Developer (15), Designer (4)

    Reviewed by 17 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

     
    5.0

    Thank you for making this book available for free

    By Anthony

    from Austin, TX

    About Me Developer

    Verified Reviewer

    Pros

    • Easy to understand
    • Helpful examples

    Cons

      Best Uses

      • Student

      Comments about oreilly Developing Backbone.js Applications:

      It makes reference to the actual backbone documentation and presents samples. I think sample usage code is very important for anyone learning new software.

       
      5.0

      Thanks for making this free!

      By szahn

      from Irvine, CA

      Verified Reviewer

      Pros

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

      Cons

      • Source Code Hard To Read

      Best Uses

        Comments about oreilly Developing Backbone.js Applications:

        Really helped

         
        4.0

        A must read to start with Backbone

        By François le Français

        from Lyon, France

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Helpful examples
        • Well-written

        Cons

        • Difficult to understand

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly Developing Backbone.js Applications:

        After I built an application from the ground up with no other framework than jQuery, I ended up with spaghetti code.

        I was then looking for a framework in order to organize my app. After looking at various frameworks and reading developers feedbacks (trello, spotify…) I realized I needed backbone. But where to start from?

        The doc is well written but it's a doc, I needed a more exhaustive thing: and here comes Developing Backbone.js Applications!

        (1 of 1 customers found this review helpful)

         
        4.0

        Good Book, More Than I Needed

        By Steve

        from Boulder, CO

        About Me Developer

        Verified Reviewer

        Pros

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

        Cons

          Best Uses

          • Intermediate

          Comments about oreilly Developing Backbone.js Applications:

          The first half of the book was very good. Osmani introduces the reader to the theory behind Backbone.js, then carefull walks through the development of a simple "To Do" application, providing code (error-free!) and discussion of how newly-introduced code parts integrate with what we've already done and what they mean in the Backbone.js environment.

          After two courses through the increasingly complex demo application, the book went beyond my level of interest, introducing extensions like Marionette and then covering modularization using Require.js. No doubt those latter parts were as carefully written and reviewed as the first parts, so developers with a deeper interest in the framework shouldn't take my lack of interest as any sort of criticism.

          Osmani comes across as good-natured and certainly knows the material. The code samples work, explanations are thorough without any sort of condescension, and the content is well-organized. A developer with some JavaScript experience can pick things up typing through the code samples – I completed my first (small, but non-trivial) Backbone application with little trouble immediately after completing Osmani's first two demos.

          I did notice in my first solo project that I had little idea how to implement the "model" part of the MV* (as he calls it) framework. Looking back, I saw that the total utilization of that part of the framework in Osman's first demos totaled a dozen lines of code, mostly setting some defaults. I see that as a shortcoming of the book and is the reason for 4 rather than 5 stars.

          This book was provided to me by O'Reilly media in exchange for this review.

          (2 of 2 customers found this review helpful)

           
          4.0

          Great intro to Backbone

          By Mike

          from Hamilton, Ontario

          About Me Designer, Developer

          Verified Reviewer

          Pros

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

          Cons

            Best Uses

            • Expert
            • Intermediate

            Comments about oreilly Developing Backbone.js Applications:

            Great introduction to Backbone, but not meant for the average JavaScript novice. Being familiar with some of the ideas written into Backbone will definitely help you through the book. I personally started at chapter 4 and had a decent time getting through. If you are new to JavaScript, or have yet to create any real modular application with JavaScript, I would recommend a little further research into creating modular code and utilizing the pubsub pattern.

            Just my two cents.

             
            5.0

            Great book

            By Alan

            from Buena Park, CA

            About Me Developer

            Pros

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

            Cons

              Best Uses

              • Intermediate
              • Novice
              • Student

              Comments about oreilly Developing Backbone.js Applications:

              The backbone core features are easy to grasp.

              The code is well commented and structured. The reasoning behind the design is properly explained.

              (1 of 1 customers found this review helpful)

               
              5.0

              Yes, this book was helpful, thanks

              By Landon the Amazing Webmaster

              from Providence, Rhode Island, New England

              About Me Designer, Developer

              Verified Reviewer

              Pros

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

              Cons

                Best Uses

                • Intermediate
                • Student

                Comments about oreilly Developing Backbone.js Applications:

                The examples in this book are awesome!

                (1 of 1 customers found this review helpful)

                 
                5.0

                Helpful introduction into Backbone.js

                By RueSe

                from Munich, Germany

                About Me Developer

                Verified Reviewer

                Pros

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

                Cons

                  Best Uses

                  • Intermediate

                  Comments about oreilly Developing Backbone.js Applications:

                  Although I am using Backbone for almost a year, this book is great in getting a broader understanding of the underlying concept. I especially liked the "Solve common problems" chapter.

                  (1 of 1 customers found this review helpful)

                   
                  4.0

                  Awsome resource for Backbone newbie

                  By kevina876

                  from charlotte nc

                  About Me Developer

                  Pros

                  • Easy to understand
                  • Helpful examples
                  • Well-written

                  Cons

                    Best Uses

                    • Intermediate

                    Comments about oreilly Developing Backbone.js Applications:

                    I am using this book to dive into backbone.js. The updated code examples here: http://todomvc.com/ provide many example of how to build the first demo app using many different additional plugins and coding styles. With such a great online resource, this book makes a great intro and long term resource for using backbone.js

                    (1 of 1 customers found this review helpful)

                     
                    5.0

                    Good, polished

                    By Coleman Foley

                    from Crockett, CA

                    About Me Developer

                    Verified Reviewer

                    Pros

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

                    Cons

                      Best Uses

                      • Intermediate
                      • Novice
                      • Student

                      Comments about oreilly Developing Backbone.js Applications:

                      I was impressed by how polished this book was. I encountered not a single typo or code mistake (that I could recognize) in a lengthy exercise.

                      Displaying reviews 1-10

                      Back to top

                      Previous | Next »

                       
                      Buy 2 Get 1 Free Free Shipping Guarantee
                      Buying Options
                      Immediate Access - Go Digital what's this?
                      Ebook: $38.99
                      Formats:  DAISY, ePub, Mobi, PDF
                      Print & Ebook: $49.49
                      Print: $44.99