3 ms·
Seems to me that the approach with best separation of concerns would be to redirect the initials requests directly to node, which would then call the Python/Rub
by icebraining 13y ago
Seems to me that the approach with best separation of concerns would be to redirect the initials requests directly to node, which would then call the Python/Ruby/etc API to get the data to render the template. After that, the browser JS could call the API directly, and so the latter would never have to know about templates at all.