Backbone.js patterns and best practices : a one-stop guide to best practices and design patterns when building applications using Backbone.js /

This is a step-by-step guide to design patterns, best practices, and solutions to common problems for Backbone.js-based application development. This book is for JavaScript developers who work with Backbone.js and want to learn the best design patterns to develop complex web applications. Basic know...

Full description

Saved in:
Bibliographic Details
Main Author: De, Swarnendu
Format: Electronic eBook
Language:English
Published: Birmingham, UK : Packt Publishing, 2014.
Subjects:
Online Access: Full text (MFA users only)
ISBN:1306405955
9781306405959
1783283580
9781783283583
Local Note:ProQuest Ebook Central

MARC

LEADER 00000cam a2200000 a 4500
001 m4128889
005 20250425213017.0
006 m o d
007 cr |n|||||||||
008 140131s2014 enk ob 001 0 eng d
019 |a 870676028  |a 874223063  |a 961516162  |a 968112500  |a 969031610  |a 1259239098 
020 |a 1306405955  |q (electronic bk.) 
020 |a 9781306405959  |q (electronic bk.) 
020 |a 1783283580  |q (electronic bk.) 
020 |a 9781783283583  |q (electronic bk.) 
020 |z 1783283572 
020 |z 9781783283576 
035 |a (OCoLC)869520071  |z (OCoLC)870676028  |z (OCoLC)874223063  |z (OCoLC)961516162  |z (OCoLC)968112500  |z (OCoLC)969031610  |z (OCoLC)1259239098 
035 |a (OCoLC)ocn869520071 
037 |a 571846  |b MIL 
040 |a IDEBK  |b eng  |e pn  |c IDEBK  |d EBLCP  |d MHW  |d YDXCP  |d DEBSZ  |d OCLCQ  |d VT2  |d OCLCO  |d OCLCF  |d N15  |d DEBBG  |d OCLCQ  |d FEM  |d N$T  |d ZCU  |d UMI  |d E7B  |d COO  |d D6H  |d K6U  |d COCUF  |d CNNOR  |d PIFFA  |d FVL  |d OCL  |d AGLDB  |d MERUC  |d OCLCQ  |d U3W  |d REB  |d STF  |d VTS  |d CEF  |d ICG  |d INT  |d OCLCQ  |d G3B  |d TKN  |d OCLCQ  |d UAB  |d DKC  |d AU@  |d OCLCQ  |d HS0  |d OCLCQ  |d OCLCO  |d QGK  |d OCLCQ  |d OCLCO  |d OCLCL  |d SXB  |d OCLCQ  |d DSC 
050 4 |a QA76.76.P37  |b D42 2014eb 
072 7 |a COM  |x 051240  |2 bisacsh 
072 7 |a COM  |x 051230  |2 bisacsh 
082 0 4 |a 005.13/3  |2 23 
100 1 |a De, Swarnendu. 
245 1 0 |a Backbone.js patterns and best practices :  |b a one-stop guide to best practices and design patterns when building applications using Backbone.js /  |c Swarnendu De. 
260 |a Birmingham, UK :  |b Packt Publishing,  |c 2014. 
300 |a 1 online resource 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file 
490 1 |a Community experience distilled. 
504 |a Includes bibliographical references and index. 
505 0 |a Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1:Reducing Boilerplate with Plugin Development; Basic components of Backbone.js; Using Underscore.js; Reusing code with extensions; Creating a base class; Developing plugins without extending base classes; Understanding JavaScript mixins; What is a mixin?; Creating classic mixins; Creating functional mixins; Caching mixin functions; Using curry to combine a function and arguments; Summary; Chapter 2:Working with Views; Basic usage of views 
505 8 |a Understanding the el propertyListening to view events; Displaying model data with templates; Partially updating a view; Understanding nested views; Knowing when to use subviews; Avoiding multiple DOM reflow; Re-rendering parent views; Removing parent views; Working with templates; Storing templates in an HTML file; Storing templates in a JavaScript file; Precompiling templates; Avoiding evaluation in templates; Using template helper functions; Understanding automatic model-view data binding; Using Marionette's ItemView, CollectionView, and CompositeView; ItemView; CollectionView 
505 8 |a Working with CompositeViewUsing Layout Manager; Summary; Chapter 3:Working with Models; Basic usage of models; Using defaults property; Avoiding object references in the defaults property; Data interaction with server; Validating the data; Using the Backbone. Validation plugin; Configuring validation rules; Prevalidating a model with the preValidate() method; Serializing models; Understanding the relational data model; Summary; Chapter 4:Working with Collections; Basic usage of collections; Performing data operations with collections; Fetching data from the server; Saving data to the server 
505 8 |a Sorting a collectionSorting a collection with multiple attributes; Filtering a collection; Performing basic filtering; Filtering a collection with a duplicate collection; Self-filtering with full data pointers; Understanding the collection of multiple model types; Summary; Chapter 5:Routing Best Practices and Subrouting; Working with routers; Best practices for working with routers; Avoiding large functional code in route methods; Instantiating views in router methods; Using regular expressions for selective routing; Subrouting -- a key to organizing complex apps; Summary 
505 8 |a Chapter 6:Working with Events, Sync, and StorageUnderstanding custom events; A simple case study on custom events; Using an event dispatcher; Creating multiple event dispatchers; Using different event namespaces; Avoiding memory leaks with the listenTo() method; Overriding the Backbone.sync() method; Offline storage using the Backbone. LocalStorage adapter; Summary; Chapter 7:Organizing Backbone Applications -- Structure, Optimize, and Deploy; Understanding the application directory structure; Working with Asynchronous Module Definition; Adding Require.js to your project 
520 |a This is a step-by-step guide to design patterns, best practices, and solutions to common problems for Backbone.js-based application development. This book is for JavaScript developers who work with Backbone.js and want to learn the best design patterns to develop complex web applications. Basic knowledge of Backbone.js and JavaScript is essential. 
546 |a English. 
588 0 |a Print version record. 
590 |a ProQuest Ebook Central  |b Ebook Central Academic Complete 
650 0 |a Software patterns. 
650 0 |a JavaScript (Computer program language) 
650 0 |a Application software  |x Development. 
655 0 |a Electronic books. 
758 |i has work:  |a Backbone.js patterns and best practices (Text)  |1 https://id.oclc.org/worldcat/entity/E39PCYWvjXKJbtHrwbv9b9qGYd  |4 https://id.oclc.org/worldcat/ontology/hasWork 
776 0 8 |i Print version:  |z 9781306405959 
830 0 |a Community experience distilled. 
951 |a 4128889 
999 f f |i bf3bf871-7a38-57c5-9485-aaa044e310e5  |s e9c78782-9eff-50b3-abac-dd9d0b9982f6  |t 0 
952 f f |a Museum of Fine Arts  |b Museum of Fine Arts  |c MFA Library  |d Electronic Collection  |t 0  |e ProQuest  |h Other scheme 
856 4 0 |t 0  |u https://ebookcentral.proquest.com/lib/mfa/detail.action?docID=1611808  |y Full text (MFA users only)