-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
executable file
·180 lines (138 loc) · 6.68 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
’
About file structure :
We like auto reload/relaunch of our app. However, watching node_modules or bower_components
put a strain on the machine.
Even if those dirs can be excluded, they are excluded by a software filter but still watched by the fs.
Our dir structure outlines a clear server/ client/ common/ :
* Everything that should cause a client reload should be in /client or /common (including server dust templates)
* Everything that should cause a server reload should be in /server or /common
* Everything heavy that should NOT be watched (bower components, node modules)
should NOT be in either client/ server/ or common/
fix error handling in bash scripts
Notes
=====
http://abonnes.lemonde.fr/les-decodeurs/article/2014/10/17/5-chiffres-flatteurs-sur-le-jeu-video-a-prendre-avec-des-pincettes_4508234_4355770.html
inspiration ? http://www.subtraction.com/2015/02/12/is-design-bound-to-get-cheaper/
modèle ? http://phaser.io/
base : (important client experience)
- [ ] HTTPS
- [ ] base security http://scottksmith.com/blog/2014/09/21/protect-your-node-apps-noggin-with-helmet/
https://github.com/analog-nico/hpp
- [x] static files
- [x] root page (~index.html)
- [x] / defaults to index
- [x] other/multiple pages
- [x] favicon
- [x] all UTF-8
- [x] templating
- [x] server side 404
- [x] nice 404 for pages, normal 404 for assets
- [x] nice server runtime error (caught exceptions)
- [ ] nice server runtime error (uncaught exceptions) (and app stay accessible !)
- [ ] should close OTHER pending requests on uncaught (or not ? or wait ?)
- [x] base auto-restart : nothing to do ! should be handled by the platform (ex. heroku)
- [x] basic logging
- [ ] basic remote logging http://blog.gospodarets.com/track_javascript_angularjs_and_jquery_errors_with_google_analytics/
advanced :
- [ ] localization +++ "speak style" (alternative localizations for the same language)
- [x] language recognition/hinting and i18n
- [ ] hotlinking prevention
- [ ] https://github.com/yahoo/node-info
- [ ] https://github.com/yahoo/node-limits
- [ ] https://github.com/yahoo/node-restrict
- [ ] safari / mobile icons
- [x] facebook preview / graph
- [ ] utility pages http://www.simpleentrepreneur.com/2007/07/10/les-pages-a-ne-pas-oublier-lorsquon-cree-un-site/
- [ ] request / domain uuid for easier logging / tracing https://github.com/appsattic/connect-uuid
- [ ] test routes (ping, errors...)
- [x] no cookies (fatten requests, outdated)
- [ ] respond with an error even if uncaught exception (domains)
- [x] modular routing
- [x] layered/splitted templating
- [ ] client side 404 for SPA !
- [ ] correct score http://gtmetrix.com/
- [ ] compression https://github.com/expressjs/compression
- [ ] check response time
- [ ] timeouts https://github.com/expressjs/timeout
- [ ] check accepted types and input types
- [ ] utm_source
- [ ] sitemap
- [ ] advanced logging
- [ ] mails
- [ ] error reports
- [ ] through proxy
- [x] heroku friendly
- [ ] cache optimisée
- [ ] headers minimum
- [ ] sécurité avancée, contrôles d'entrée
- [ ] filtrage des headers inutiles
- [ ] REST
- [ ] referer, analytics
- [x] live reload (client) [bugs en attente] https://github.com/intesso/connect-livereload
- [x] live reload on template pages (client)
- [x] live reload (server) thank you nodemon !
- [x] cluster for efficiency and resilience to uncaught
- [ ] resource monitoring
- [ ] new relic ?
- [ ] "This website does not supply ownership information."
- [ ] ssl avec redirection
- [ ] authentif
- [ ] X-Response-Time header
- [ ] detect too busy https://hacks.mozilla.org/2013/01/building-a-node-js-server-that-wont-melt-a-node-js-holiday-season-part-5/
- [ ] checklist http://sandinmyjoints.github.io/towards-100-pct-uptime/#/27
- [ ] unit tests
- [ ] robots http://www.wpbeginner.com/wp-tutorials/how-to-optimize-your-wordpress-robots-txt-for-seo/
- [ ] websockets http://www.jayway.com/2015/04/13/600k-concurrent-websocket-connections-on-aws-using-node-js/
http://javascriptplayground.com/blog/2014/07/testing-express-routes/
https://www.joyent.com/blog/risingstack-writing-testable-apis-the-basics
http://runnable.com/UTlPPF-f2W1TAAEU/error-handling-with-express-for-node-js
http://runnable.com/UTlPPV-f2W1TAAEf/custom-error-pages-in-express-for-node-js
à relire pour valider : https://github.com/ClintH/kattegat
TOTEST
https://github.com/moudy/project-router
https://github.com/michaelleeallen/reducto
http://scotch.io/tutorials/javascript/upgrading-our-easy-node-authentication-series-to-expressjs-4-0
//app.use(require('express-slash')()); // https://github.com/ericf/express-slash
+ interesting middlewares
https://github.com/senchalabs/connect/blob/master/Readme.md#middleware
https://github.com/visionmedia/express/wiki
https://github.com/expressjs/express-params
https://github.com/expressjs/finished
https://github.com/mathrawka/express-graceful-exit/blob/master/lib/graceful-exit.js
https://github.com/vincentwoo/connect-no-www/blob/master/index.js
Notes :
* Livereload (client) has been found to slow down extremely the app at startup. (is it my computer ?)
Can even cause browser timeouts on first load.
Just wait a bit, refresh the page a second time and it should work.
http://blog.izs.me/post/65712662830/restart-node-js-servers-on-domain-errors-sensible-fud
http://www.lighthouselogic.com/use-domain-dispose/#/using-a-new-domain-for-each-async-function-in-node/
http://blog.argteam.com/coding/hardening-node-js-for-production-part-3-zero-downtime-deployments-with-nginx/
http://blog.risingstack.com/node-js-security-tips/
https://github.com/neoziro/express-err
http://scottksmith.com/blog/2014/09/21/protect-your-node-apps-noggin-with-helmet/
http://thejackalofjavascript.com/architecting-a-restful-node-js-app/
http://offirmo.net/wiki/index.php?title=Check-list_d%27un_site_web
http://scottksmith.com/blog/2014/10/05/twitatron-building-a-production-web-app-with-node/
http://www.donotlink.com/
Apps ideas
==========
MBTI https://www.quora.com/What-are-some-insights-on-the-INTJ-personality-type
7 min workout
http://www.cadremploi.fr/editorial/actualites/actu-emploi/detail/article/avez-vous-la-personnalite-pour-faire-carriere.html
Marketing
=========
Misc
====
http://www.steven-obrien.net/
analytics
http://www.2ality.com/2015/10/google-analytics-api.html
TOSORT
======
http://www.producthunt.com/kylebrussell/collections/best-games-of-2014
http://www.afjv.com/news/4541_dreamirl-une-plateforme-innovante-de-jeux-independants.htm
technos intéressantes
* https://github.com/robertleeplummerjr/thaw.js
* https://github.com/mavenave/inscribe.js
* offline webapp bootloader https://github.com/substack/hyperboot
* https://hacks.mozilla.org/2014/12/introducing-the-javascript-internationalization-api/
* http://jakearchibald.com/2014/offline-cookbook/