Getting Started with Backbone Marionette
By Raymundo Armendariz, Arturo Soto
Publisher: Packt Publishing
Final Release Date: January 2014
Pages: 94

In Detail

Backbone Marionette is a composite application library for Backbone.js that aims to simplify the construction of large-scale JavaScript applications. It is a collection of common design and implementation patterns found in the applications that we build with Backbone, and it includes pieces inspired by composite application architectures, event-driven architectures, and messaging architectures.

This guide will help you learn some key concepts that will allow you to build large-scale applications with ease. You will learn how to add new features quickly and easily using a solid and composite Backbone Marionette framework. This book is a practical guide to developing scalable applications using an incremental and modular approach with Marionette.js.

This book begins by showing you the key benefits of Marionette.js and how to set up a development environment so you can begin writing code using this framework. It then walks you through the main components of the library such as the router, controller, and application. After that, it introduces you to topics like view types and the view life cycle before moving on to more advanced topics such as modularization, enterprise messaging patterns, incremental use, and memory management.

Getting Started with Backbone Marionette contains a lot of infrastructural examples that will help you to build an application of virtually any module size. It provides you with a collection of common design and implementation patterns to break your applications into small pieces. It then wraps-up by implementing extended capabilities like asynchronous module definitions and handlebars.

Approach

This book is written with an easy-to-understand approach with the intention of giving small but concrete examples that will help you to quickly understand each component of Marionette. Follow along as we work together to build a practical application using Backbone Marionette.

Who this book is for

If you are a web application developer interested in using Backbone Marionette for a real-life project, then this book is for you. As a prerequisite, knowledge of JavaScript and a working knowledge of Backbone.js is required.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyGetting Started with Backbone Marionette
 
3.0

(based on 3 reviews)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

67%

of respondents would recommend this to a friend.

Pros

    Cons

      Best Uses

          • Reviewer Profile:
          • Developer (3)

        Reviewed by 3 customers

        Sort by

        Displaying reviews 1-3

        Back to top

         
        3.0

        Not a book, an "explained reference"

        By Abiee Alejandro

        from Culiacán, Sinaloa

        About Me Developer, Sys Admin

        Verified Reviewer

        Pros

        • Concise
        • Helpful examples

        Cons

        • Very Small Book

        Best Uses

        • Intermediate

        Comments about oreilly Getting Started with Backbone Marionette:

        It's a small book, so you will not get a very deep knowledge, i'ts more like "an explained reference to Backbone.Marionette components", if you don't know nothing about Backbone maybe this book is not for you. However, this book can be a good start point to learn Backbone.Marionette since chapters offers a good explanation about what exactly do these components and which use cases are suitable for each one, also, chapters shows you good practices and how to use effectively their components.

         
        2.0

        Hard to follow.

        By kcent

        from Philadelphia, PA

        About Me Developer, Educator

        Verified Reviewer

        Pros

          Cons

          • Difficult to understand
          • Too many errors

          Best Uses

            Comments about oreilly Getting Started with Backbone Marionette:

            I was very hopeful for this book, as there's not too many resources out there covering how to get started with Backbone & Marionette.

            Unfortunately, this book does not deliver. It's title suggests it to be a "getting started" book, but not a single chapter is dedicated to even a brief introduction to what each component of Backbone & Marionette are used for (such as explaining the goal/purpose of things like Controllers, different View types, the Router, the Event Messaging System, etc). The reader is thrown into piecemeal code samples using these components without any reasoning why.

            I could forgive such an approach if the flow of the book was one that guided a user fluidly through building their own app, which the book eludes to, but does not very clearly follow through on. I understand for the context of learning one wouldn't build anything profound, but the flow of the book makes even a simple page hard to follow how it pulls together.

            I would highly recommend "Backbone.Marionette.js, a Gentle Introduction" over this book for those wanting to learn the fundamentals of using this very powerful library for building single page apps.

             
            4.0

            will get you started indeed

            By luschn

            from Vienna

            About Me Developer

            Pros

              Cons

              • No Syntax Highlighting

              Best Uses

              • Expert
              • Intermediate

              Comments about oreilly Getting Started with Backbone Marionette:

              To fully understand this book, i recommend having a very good knowledge of JavaScript and you should know your way around Backbone. Marionette is not something completely new, it is an extension for Backbone.
              Basically you are building a "book store" App during the book, and while i don't know if it covers everything you can do with Marionette, it is pretty expansive - especially for a book with only around 100 pages. I did not know Marionette before so i don't know if there is more to it, but it looks like every aspect of it is covered and it tells you exactly how to "divide and conquer" in bigger applications.
              The sourcecode in the book could have been improved with some syntax highlighting, but i read most of the pages on my Kindle so i would not have seen any color anyway. Still, in my opinion this ist a must have for code.
              It's well explained why and how Marionette makes sense to be used pretty much every time you want to use Backbone, and how you can extend (and organize) Backbone with it. You could just use Angular to get all the stuff you need (Routers, Controllers and whatnot) instead of using Marionette with a lot of dependencies, but that's just my opinion. If you like Backbone, there is no way around Marionette and this book will get you started perfectly fine. It's your only choice anyway, i don't know about any other Marionette book out there :)

              -1 star because i like syntax highlighting. although, the code parts are usually small and easy to 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: $17.99
              Formats:  ePub, Mobi, PDF