3 ms·
Here is an architecture that fits what the article is talking about: -------------------------- | In-browser EmberJS app |------ ------------------
by sanderjd 12y ago
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.