Skip to content

Instantly share code, notes, and snippets.

@marcelklehr
Last active October 10, 2015 10:27
Show Gist options
  • Save marcelklehr/3675941 to your computer and use it in GitHub Desktop.
Save marcelklehr/3675941 to your computer and use it in GitHub Desktop.
http app
  Routes
+------------------------------------------------+
|  Request                                       |        +---------------+
|    ||                                          | -----> |   Settings    |
|    \/       Auth                               |        +---------------+
| +--------------------------------------------+ |
| |   ||                                       | |
| |   \/                                       | |
| | +------------+    Model   +------------+   | |
| | |   Logic    | <--------> |  Storage   |   | |
| | +------------+            +------------+   | |
| +--------------------------------------------+ |
|     ||                                         |
|     \/                                         |
| +-------------+       +------------+           |
| | View/Editor | ----> |    I18n    |           |
| +-------------+       +------------+           |
|     ||                                         | 
|     \/                                         |
|  Response                                      |
+------------------------------------------------+
  • Model:
  • Router:
  • I18n:
  • JavaScript lib: babelfish (or i18next-node);
  • webL10n focuses on client-side html (u'll need client-js)
  • DateTime/Number-Display/Do-it-all: globalize
  • VCS+RealTimeEngine: shareJS
  • Template engine:
    • react reactive views tightly written along with your js view logic
    • Plates (DSL-less templating by utilizing the DOM; works both in the browser and on the server, using jsdom)
    • nunjucks