Getting Started with Backbone Marionette

Getting Started with Backbone Marionette

Arturo Soto

Build largescale JavaScript purposes with spine Marionette fast and efficiently

About This Book

  • Create scalable and hugely interactive net purposes utilizing the most effective frameworks for Backbone.js
  • Learn approximately controllers, perspectives, modules, occasions, instructions, and regions
  • Make the main out of spine Marionette via figuring out its philosophy and making use of it to real-life improvement tasks

Who This e-book Is For

If you're a net program developer attracted to utilizing spine Marionette for a real-life venture, then this publication is for you. As a prerequisite, wisdom of JavaScript and a operating wisdom of Backbone.js is required.

What you'll Learn

  • Install and comprehend the middle techniques of spine Marionette
  • Orchestrate perspectives with a controller object
  • Divide your program into logical autonomous regions
  • Manage an object's lifestyles cycle to prevent reminiscence leaks
  • Reduce boilerplate and glue code more often than not wanted in spine improvement by means of decoupling your JavaScript functions into modules.
  • Provide constitution, association, and trend on your spine code

In Detail

Backbone Marionette is a composite software library for Backbone.js that goals to simplify the development of large-scale JavaScript functions. it's a selection of universal layout and implementation styles present in the purposes that we construct with spine, and it comprises items encouraged through composite program architectures, event-driven architectures, and messaging architectures.

This advisor can help you examine a few key recommendations that might let you construct large-scale functions very easily. you'll find out how to upload new positive aspects quick and simply utilizing an outstanding and composite spine Marionette framework. This booklet is a realistic consultant to constructing scalable purposes utilizing an incremental and modular technique with Marionette.js.

This publication starts off via displaying you the most important advantages of Marionette.js and the way to establish a improvement setting so that you can commence writing code utilizing this framework. It then walks you thru the most elements of the library equivalent to the router, controller, and alertness. After that, it introduces you to issues like view varieties and the view existence cycle ahead of relocating directly to extra complex issues equivalent to modularization, firm messaging styles, incremental use, and reminiscence management.

Getting all started with spine Marionette features a lot of infrastructural examples to help you to construct an software of just about any module dimension. It offers you a suite of universal layout and implementation styles to damage your functions into small items. It then wraps-up through enforcing prolonged functions like asynchronous module definitions and handlebars.

Show sample text content

Download sample