4 ms·
Does anyone else feel templating is outdated tech? I feel like these days you can just do this: - build json rest backend in whatever (java jaxrs/jersey, nodej
by cpprototypes 14y ago
Does anyone else feel templating is outdated tech? I feel like these days you can just do this:
- build json rest backend in whatever (java jaxrs/jersey, nodejs express, etc)
- build UI with html css js
- If initial page load is an issue due to lots of ajax calls, then use server side templating to ONLY insert a single variable which would contain a json object. This way the initial load is fast since the json is templated directly into the page. After load the UI calls rest services to get more data.
I've found that this enforces a clean separation of concerns.