News for hackers. Stuff that matters.
Re:Missing the Point of Server-side Rendered JavaScript Apps by sanderjd on Thursday February 05, 2015 @04:07PM (#9006103)
Here is an architecture that fits what the article is talking about:

    --------------------------
    | In-browser EmberJS app |------
    --------------------------     |
                |                  |
               HTML (1)            |
                |                  |
  -------------------------------  |
  | Same EmberJS app, running on|  |
  | server, generating HTML     |  |
  -------------------------------  |
                |         ----------
              JSON (2)  JSON (3)
                |         |
  ------------------------------------
  |JSON API server written in, eg. Go|
  ------------------------------------
You don't write any more javascript than you already would have for the client app, and you can write your API server however you want.

There are no comments on this comment yet.