Cover image for Sencha Touch 2 Mobile JavaScript Framework.
Sencha Touch 2 Mobile JavaScript Framework.
Title:
Sencha Touch 2 Mobile JavaScript Framework.
Author:
Keig, Andrew.
ISBN:
9781783282500
Personal Author:
Physical Description:
1 online resource (172 pages)
Contents:
Advanced Express Web Application Development -- Table of Contents -- Advanced Express Web Application Development -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 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 -- 2. Building a Web API -- Persisting data with MongoDB and Mongoose -- GitHub tokens -- Feature: Create a project -- Feature: Get a project -- Feature: 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 -- 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 -- 4. Real-time Communication -- Caching data with Redis -- Populating Redis -- Socket.IO -- Socket.IO on the client -- Scheduling Redis population -- Summary -- 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 -- 6. Scaling -- Scaling Express sessions with Redis -- Scaling Socket.IO with Redis -- Scaling Express horizontally -- vision-core -- vision-api -- vision-worker -- vision-web -- Vertical scale with Cluster -- Balancing load with Hipache -- Summary -- 7. Production -- Error handling, domains, and crash-only design -- Redis sessions -- SSL termination -- Caching -- Favicon -- Minification -- Compression -- Logging -- Summary -- Index.
Abstract:
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 advanced topics you will encounter when developing, deploying, and maintaining an Express web application.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: