Index
A
- AJAX
- file, uploading with / Uploading a file with AJAX
- application dependency
- about / Application dependency
- authentication
- stateless API authentication / Stateless API authentication
- OAuth authentication / Implementing OAuth authentication
- avatar photo
- uploading, to contacts / Uploading the avatar photo to contacts
- displaying / Showing the avatar
- uploading, at creation time / Uploading the avatar image at creation time
B
- Backbone
- images, uploading from / Uploading images from Backbone
- Backbone.sync
- about / Backbone.sync
- localStorage, using as cache / Using localStorage as cache
- Backbone.Validation plugin
- about / Validating with the Backbone.Validation plugin
- validating with / Validating with the Backbone.Validation plugin
- Backbone applications
- testing tools / Testing tools
- testing / What and how to test Backbone applications
- models, testing / Testing models and collections
- collections, testing / Testing models and collections
- views, testing / Testing views
- controllers, testing / Testing controllers
- subapplication Façade, testing / Testing the subapplication Façade
- Backbone objects
- functionalities / Responsibilities of Backbone objects
- Browserify
- about / Browserify
- using / Browserify
- using, in contacts application / Using Browserify in the app
- cyclic dependency, solving / Solving cyclic dependency
- BrowserSync
- about / BrowserSync
C
- Collections
- about / Collections
- collections, Backbone applications
- testing / Testing models and collections
- CollectionView
- about / CollectionView
- new models, adding / Adding new models
- models, deleting / Deleting models
- destroying / Destroying views
- collection, resetting / Resetting the collection
- CommonJS modules
- about / CommonJS modules
- configuration options, package.json file
- name / NPM and package.json
- description / NPM and package.json
- version / NPM and package.json
- dependencies / NPM and package.json
- devDependencies / NPM and package.json
- licence / NPM and package.json
- contact details
- displaying / Showing the details
- ContactEditor
- about / Testing ContactEditor
- contacts
- avatar photo, uploading to / Uploading the avatar photo to contacts
- contacts application
- developing / Contacts application
- Browserify, using / Using Browserify in the app
- controllers, Backbone applications
- testing / Testing controllers
- dependencies, mocking / Mocking dependencies
- fake object / Fake objects
- ContactEditor, testing / Testing ContactEditor
- cyclic dependency
- about / Solving cyclic dependency
- solving / Solving cyclic dependency
D
- data binding
- with plugins / Data binding with plugins
- destroy() operation
- about / Backbone.sync
- development workflow
- about / Development workflow
- creating / Creating a development workflow
- JavaScript files, building with Browserify / Bundling the JavaScript files with Browserify
- BrowserSync / BrowserSync
- server, running with Express / Run server with Express
- Document Object Model (DOM) / Views
- Dynos
- about / Dynos
- Web Dynos / Dynos
- Worker Dynos / Dynos
- One-off Dynos / Dynos
- URL / Getting started with Heroku
E
- embedded data binding
- about / Binding embedded data
- embedded list, binding / Binding an embedded list
- Express server
- files, sending to / Express server
F
- fetch() operation
- about / Backbone.sync
- file organization
- about / File organization
- files
- sending, to Express server / Express server
- attaching, into resource / Attaching a file into a resource
- uploading, with AJAX / Uploading a file with AJAX
- functionalities, Backbone objects
- Views / Views
- Models / Models
- Collections / Collections
- routers / Routers
G
- git push command / Heroku
- Git server
- Gulp
- working / How Gulp works
- getting started / Getting started with Gulp
H
- Heroku
- about / Heroku
- Dynos / Dynos
- using / Getting started with Heroku
- URL / Getting started with Heroku
- HTTP Basic authentication
- about / HTTP Basic authentication
- implementing / Implementing HTTP Basic Authentication
- HTTP server
- about / The HTTP Server
- running, disadvantages / Do not run as root
I
- images
- uploading, from Backbone / Uploading images from Backbone
- IndexedDB
- about / IndexedDB, Getting started with IndexedDB
- database versions / Database versions
- stores, creating / Creating stores
- database, deleting / Delete a database
- elements, adding to object store / Add elements to an object store
- queries, performing / Performing queries
- objects, deleting in store / Delete objects in the store
- in Backbone / IndexedDB in Backbone
- information
- editing / Editing information
J
- Jasmine
- about / Getting started with Jasmine
- working with / Getting started with Jasmine
- expectations / Expectations
- asynchronous code, testing / Testing asynchronous code
- JavaScript files, building with Browserify
- about / Bundling the JavaScript files with Browserify
- sourcemaps / Sourcemaps
- re-bundling automatically / Re-bundle automatically
K
- Karma
- about / Karma test runner
L
- layout
- about / Layout
- list
- displaying / Showing a list
- localStorage
- about / The localStorage
- starting with / Starting with localStorage
- Backbone / Backbone and localStorage
- models, storing in / Store models in localStorage
- Backbone models, storing in / Store Backbone models in localStorage
M
- manual binding, model binding
- about / Manual binding
- mediator pattern
- about / Subapplication controller
- model binding
- manual binding / Manual binding
- two-way binding / Two-way binding
- model data validation
- about / Validating model data
- manual validation / Manual validation
- validating, with Backbone.Validation plugin / Validating with the Backbone.Validation plugin
- Models
- about / Models
- models, Backbone applications
- testing / Testing models and collections
- models, CollectionView
- adding / Adding new models
- deleting / Deleting models
- ModelView
- about / ModelView
N
- Node
- URL / NPM and package.json
- NPM
- using, with package.json / NPM and package.json
O
- OAuth2 authentication
- about / The OAuth2 authentication
- Resource Owner / The OAuth2 authentication
- Web application / The OAuth2 authentication
- Authorization server / The OAuth2 authentication
- Access token / The OAuth2 authentication
- service applications / Service applications
- ClientID / Service applications
- ClientSecret / Service applications
- OAuth2 grant types / OAuth2 grant types
- OAuth2 grant types
- about / OAuth2 grant types
- authorization code grant / Authorization code grant
- implicit grant / Implicit Grant
- Resource Owner Password Credentials grant / Resource Owner Password Credentials Grant
- Client credentials grant / Client credentials grant
- resume / Resume
- OAuth authentication
- implementing / Implementing OAuth authentication
- objects, not provided by Backbone
- about / Objects not provided by Backbone
- subapplication façade / Subapplication façade
- subapplication controller / Subapplication controller
P
- package.json
- using, with NPM / NPM and package.json
- process management / Process Management
- production environment
- creating / Production environment
- production workflow
- ceating / Creating a production workflow
- Gulp useref / Gulp useref
- image optimization / Image Optimization
- fonts / Fonts
- JavaScript files, bundling for production / Bundle JavaScript files for production
- program
- failure reasons / Process Management
R
- regions
- about / Region
- require() function / CommonJS modules
- routers
- about / Routers
S
- save() operation
- about / Backbone.sync
- spy function / Testing views
- stateless API authentication
- about / Stateless API authentication
- subapplication
- anatomy / Subapplication anatomy
- subapplication controller
- about / Subapplication controller
- subapplication façade
- about / Subapplication façade
- subapplication Façade
- testing / Testing the subapplication Façade
- subapplications based architecture
T
- task runner
- about / What's a task runner?
- templates
- modularizing / Modularizing templates
- testing tools
- about / Testing tools
- testing libraries / Testing tools
- assertions libraries / Testing tools
- test runners / Testing tools
- test coverage / Testing tools
- test reports / Testing tools
- mocking tool / Testing tools
- faking tool / Testing tools
- stubbing tool / Testing tools
- module mocking / Testing tools
- stress tools / Testing tools
- browser testing / Testing tools
- third-party plugins
- rendering / Rendering third-party plugins
- TTL (Time to live) / Implementing OAuth authentication
- two-way binding, model binding
- about / Two-way binding
- references / References
U
- Ubuntu-14.04 box / Production environment
- upload file
- encoding / Encoding the upload file
V
- Views
- about / Views
- views
- working / Region
- views, Backbone applications
- testing / Testing views
- view types
- identifying / Identifying view types
- ModelView / Identifying view types, ModelView
- CollectionView / Identifying view types, CollectionView
- region / Identifying view types, Region
- layout / Identifying view types, Layout
- summarizing / Putting it all together