Getting Started with Backbone Marionette
暫譯: 開始使用 Backbone Marionette

Raymundo Armendariz, Arturo Soto

  • 出版商: Packt Publishing
  • 出版日期: 2014-01-31
  • 售價: $1,360
  • 貴賓價: 9.5$1,292
  • 語言: 英文
  • 頁數: 94
  • 裝訂: Paperback
  • ISBN: 1783284250
  • ISBN-13: 9781783284252
  • 海外代購書籍(需單獨結帳)

商品描述

Build large-scale JavaScript applications with Backbone Marionette quickly and efficiently

Overview

  • Create scalable and highly interactive web applications using one of the best frameworks for Backbone.js
  • Learn about controllers, views, modules, events, commands, and regions
  • Make the most out of Backbone Marionette by understanding its philosophy and applying it to real-life development tasks

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.

What you will learn from this book

  • Install and understand the core concepts of Backbone Marionette
  • Orchestrate views with a controller object
  • Divide your application into logical independent regions
  • Manage an object's life cycle to avoid memory leaks
  • Reduce boilerplate and glue code normally needed in Backbone Development by decoupling your JavaScript applications into modules.
  • Provide structure, organization, and pattern to your Backbone code

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 written 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.

商品描述(中文翻譯)

快速有效地使用 Backbone Marionette 建立大型 JavaScript 應用程式

概述
- 使用 Backbone.js 最佳框架之一創建可擴展且高度互動的網頁應用程式
- 了解控制器、視圖、模組、事件、命令和區域
- 通過理解 Backbone Marionette 的理念並將其應用於實際開發任務,充分利用其優勢

詳細內容
Backbone Marionette 是一個為 Backbone.js 設計的複合應用程式庫,旨在簡化大型 JavaScript 應用程式的構建。它是一系列在我們使用 Backbone 構建的應用程式中常見的設計和實現模式的集合,並包含受到複合應用架構、事件驅動架構和消息傳遞架構啟發的組件。

本指南將幫助您學習一些關鍵概念,使您能夠輕鬆構建大型應用程式。您將學會如何使用穩固且複合的 Backbone Marionette 框架快速輕鬆地添加新功能。本書是一本實用指南,旨在使用增量和模組化的方法開發可擴展的應用程式,並使用 Marionette.js。

本書首先展示 Marionette.js 的主要優勢以及如何設置開發環境,以便您可以開始使用此框架編寫代碼。接著,它將引導您了解庫的主要組件,如路由器、控制器和應用程式。然後,它介紹了視圖類型和視圖生命週期等主題,然後再深入探討模組化、企業消息傳遞模式、增量使用和記憶體管理等更高級的主題。

《開始使用 Backbone Marionette》包含許多基礎設施範例,將幫助您構建幾乎任何模組大小的應用程式。它為您提供了一系列常見的設計和實現模式,以便將您的應用程式拆分為小部分。最後,它通過實現擴展功能,如非同步模組定義和 Handlebars,來進行總結。

您將從本書中學到的內容
- 安裝並理解 Backbone Marionette 的核心概念
- 使用控制器物件協調視圖
- 將您的應用程式劃分為邏輯獨立的區域
- 管理物件的生命週期以避免記憶體洩漏
- 通過將您的 JavaScript 應用程式解耦為模組,減少在 Backbone 開發中通常需要的樣板和粘合代碼
- 為您的 Backbone 代碼提供結構、組織和模式

方法
本書以易於理解的方式編寫,旨在提供小而具體的範例,幫助您快速理解 Marionette 的每個組件。請跟隨我們一起使用 Backbone Marionette 構建實用應用程式。

本書的讀者對象
如果您是一位對使用 Backbone Marionette 進行實際項目的網頁應用程式開發者,那麼本書適合您。作為先決條件,您需要具備 JavaScript 知識和 Backbone.js 的基本知識。

最後瀏覽商品 (20)