jQuery-based theme as frontend - How to template?

I have a jQuery based theme as frontend and JSON API as backend for a blogging website.
I’m thinking about a template engine for the frontend.
What is the best option for the frontend side:

  1. Use jQuery ajax calls and put HTML blocks within js code. (the code will be un-readable).
  2. Use Laravel framework with its blade template engine and make API calls from PHP side.
  3. Use Angular for templating and API calls by mixing jQuery codes and Angular.
  4. Any suggestion?


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.