万本电子书0元读

万本电子书0元读

顶部广告

Advanced Express Web Application Development电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Andrew Keig

出  版  社:Packt Publishing

出版时间:2013-11-25

字       数:25.8万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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, Java* 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.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部