5JS #30
5 Minutes of JavaScript - Episode #30 - June 5th, 2014
- Node.js in Production
- recommendations for putting Node.js apps into production
- node cluster to load balance and route traffic around multiple node processes on the server
- Deploys will be a one-line command from the developer’s laptop and cause zero downtime or request failures
- Headroom.js
- It employs many good UI patterns and it is super slick looking to boot
<header data-headroom>
- 上にスクロールした時にヘッダーが表示される
- Content Security Policy
- aims to mitigate certain types of attack, like Cross Site Scripting (XSS) and data injection attacks
- It does this by blocking inline scripts and limiting the domains that other scripts can be loaded from
- Your Browser Can Talk
- Handlebars-Helpers
- over 120 useful handlebars helpers
npm i handlebars-helpers --save-dev
♫ Flobots - Handlebars
by SoundHound