1.

Record Nr.

UNINA9910462986003321

Autore

Keig Andrew

Titolo

Sencha Touch 2 Mobile JavaScript Framework [[electronic resource]]

Pubbl/distr/stampa

Birmingham, : Packt Publishing, 2013

Edizione

[1st edition]

Descrizione fisica

1 online resource (148 p.)

Soggetti

Application software - Development

Client/server computing

Web sites - Programming

Electronic books.

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Description based upon print version of record.

Nota di contenuto

Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Foundations; Feature set; Installation; package.json; Testing Express with Mocha and SuperTest; Feature: Heartbeat; Continuous testing with Mocha; Code coverage with Mocha and JSCoverage; Configuring Express with Nconf; Extracting routes; 404 handling middleware; Logging middleware; Logging with Winston; Task automation with Grunt; Summary; Chapter 2: Building a Web API; Persisting data with MongoDB and Mongoose; GitHub tokens; Feature: Create a project

Feature: Get a projectFeature: Edit a project; Feature: Delete a project; Feature: List projects; GitHub API; Feature: List repositories; Feature: List commits; Feature: List issues; Validating parameters with param middleware; Route improvements; Summary; Chapter 3: Templating; Server-side templating; Feature: Master Page; Package management with Bower; Templates; Client-side development with Backbone.js; Feature: List projects; Feature: List repositories; Feature: Create a project; Feature: Edit a project; Feature: Delete a project; Feature: List commits; Feature: List issues; Summary

Chapter 4: Real-time CommunicationCaching data with Redis; Populating Redis; Socket.IO; Socket.IO on the client; Scheduling Redis population; Summary; Chapter 5: Security; Setting up Passport;



Acceptance testing with Cucumber and Zombie.js; Feature: Authentication; Scenario: User logs in successfully; Scenario: User logs out successfully; Securing our site with HTTPS; Sharing Express sessions with Socket.IO; Cross-site request forgery; Improving security with HTTP headers and helmet; Summary; Chapter 6: Scaling; Scaling Express sessions with Redis; Scaling Socket.IO with Redis

Scaling Express horizontallyvision-core; vision-api; vision-worker; vision-web; Vertical scale with Cluster; Balancing load with Hipache; Summary; Chapter 7: Production; Error handling, domains, and crash-only design; Redis sessions; SSL termination; Caching; Favicon; Minification; Compression; Logging; Summary; Index

Sommario/riassunto

A practical book, guiding the reader through the development of a single page application using a feature-driven approach.If you are an experienced JavaScript developer who wants to build highly scalable, real-world applications using Express, this book is ideal for you. This book is an advanced title and assumes that the reader has some experience with node, Javascript MVC web development frameworks, and has heard of Express before, or is familiar with it. You should also have a basic understanding of Redis and MongoDB. This book is not a tutorial on Node, but aims to explore some of the more