Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Limit search to available items
Results Page:  Previous Next
Author Echamea, Abiee, author.

Title Mastering Backbone.js : design and build scalable web applications using Backbone.js / Abiee Echamea. [O'Reilly electronic resource]

Publication Info. Birmingham, UK : Packt Publishing, 2016.
QR Code
Description 1 online resource (1 volume) : illustrations.
text file
Series Community experience distilled
Community experience distilled.
Note Includes index.
Contents Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Architecture of a Backbone application; Subapplications based architecture; Subapplication anatomy; Responsibilities of Backbone objects; Views; Models; Collections; Routers; Objects not provided by Backbone; Subapplication façade; Subapplication controller; Contacts application; File organization; Summary; Chapter 2: Managing Views; Identifying view types; ModelView; CollectionView; Adding new models; Deleting models; Destroying views; Resetting the collection; Region
LayoutPutting it all together; Showing a list; Showing the details; Editing information; Rendering third-party plugins; Conclusions; Chapter 3: Model Bindings; Manual binding; Two-way binding; References; Data binding with plugins; Binding embedded data; Binding an embedded list; Validating model data; Manual validation; Validating with the Backbone.Validation plugin; Summary; Chapter 4: Modular Code; CommonJS modules; NPM and package.json; Browserify; Application dependency; Using Browserify in the app; Solving cyclic dependency; Modularizing templates; Summary; Chapter 5: Dealing with Files
Express serverAttaching a file into a resource; Uploading the avatar photo to contacts; Showing the avatar; Uploading images from Backbone; Uploading a file with AJAX; Uploading the avatar image at creation time; Encoding the upload file; Summary; Chapter 6: Store data in the Browser; The localStorage; Starting with localStorage; Backbone and localStorage; Store models in localStorage; Store Backbone models in localStorage; Backbone.sync; Using localStorage as cache; IndexedDB; Getting started with IndexedDB; Database versions; Creating stores; Delete a database
Add elements to an object storePerforming queries; Delete objects in the store; IndexedDB in Backbone; Summary; Chapter 7: Build Like a Pro; Development workflow; What's a task runner?; How Gulp works; Getting started with Gulp; Creating a development workflow; Bundling the JavaScript files with Browserify; Sourcemaps; Re-bundle automatically; BrowserSync; Run server with Express; Creating a production workflow; Gulp useref; Image Optimization; Fonts; Bundle JavaScript files for production; Putting it all together; Summary; Chapter 8: Testing Backbone Applications; Testing tools
Getting started with JasmineExpectations; Testing asynchronous code; Karma test runner; What and how to test Backbone applications; Testing models and collections; Testing views; Testing controllers; Mocking dependencies; Fake objects; Testing ContactEditor; Testing the subapplication Façade; Summary; Chapter 9: Deploying to Production; Heroku; Dynos; Getting started with Heroku; Production environment; The HTTP Server; Do not run as root; Process Management; Summary; Chapter 10: Authentication; Stateless API authentication; HTTP Basic authentication; The OAuth2 authentication
Summary Design and build scalable web applications using Backbone.js About This Book Level up your Backbone.js skills and create professional web applications with the best practices Use the Backbone.js components in the right way and avoid maintenance nightmares Improve your development workflow from application design to deployment Apply the best practices given in this tutorial to solve day-to-day problems in your applications Who This Book Is For This book is for those developers who know the basic concepts of Backbone.js and want to build scalable applications with it. If you are looking for the best practices of using Backbone.js applied to real work applications, this book is for you. You will be able to apply architectural principles to create amazing web applications easily. What You Will Learn Build web applications that scale with Backbone.js Design a powerful architecture that eliminates maintenance nightmares Use common patterns and best practices in Backbone.js web applications developments Pack your applications to be deployed to production environments Clean up your code organization to a simple and maintainable architecture Test your components and get confidence with your code Deal with common scenarios like file uploading and login issues In Detail Backbone.js is a popular library to build single page applications used by many start-ups around the world because of its flexibility, robustness and simplicity. It allows you to bring your own tools and libraries to make amazing webapps with your own rules. However, due to its flexibility it is not always easy to create scalable applications with it. By learning the best practices and project organization you will be able to create maintainable and scalable web applications with Backbone.js. With this book you will start right from organizing your Backbone.js application to learn where to put each module and how to wire them. From organizing your code in a logical and physical way, you will go on to delimit view responsibilities and work with complex layouts. Synchronizing models in a two-way binding can be difficult and with sub resources attached it can be even worse. The next chapter will explain strategies for how to deal with these models. The following chapters will help you to manage module dependencies on your projects, explore strategies to upload files to a RESTful API and store information directly in the browser for using it with Backbone.js. After testing your application, y...
Subject Web applications.
Application software -- Development.
JavaScript (Computer program language)
Applications Web.
Logiciels d'application -- Développement.
JavaScript (Langage de programmation)
Application software -- Development
JavaScript (Computer program language)
Web applications
Other Form: 1-78328-849-3
ISBN 9781783288502 (electronic bk.)
1783288507 (electronic bk.)
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information