As the app heavily depends on JS and AJAX on the client side, using a JS framework (i.e. Angular/React/Vue) might increase the maintainability and modularization.
I see two ways to implement this.
-
Integrating the JS framework into the current structure and each HTML page separately and still rendering the page in the backend. A huge benefit of this approach is, that it can be merged incrementally.
-
Write a fully SPA (Single Page Application). The frontend is completely handled by the client side and the backend only exposes a REST API. This would mean a nearly complete rewrite of the frontend and huge parts of the backend.
A viable option might be starting with option 1 followed by 2 at a later point.
As I'm not really familiar with development of web applications I'd like to start a discussion on this topic.
As the app heavily depends on JS and AJAX on the client side, using a JS framework (i.e. Angular/React/Vue) might increase the maintainability and modularization.
I see two ways to implement this.
Integrating the JS framework into the current structure and each HTML page separately and still rendering the page in the backend. A huge benefit of this approach is, that it can be merged incrementally.
Write a fully SPA (Single Page Application). The frontend is completely handled by the client side and the backend only exposes a REST API. This would mean a nearly complete rewrite of the frontend and huge parts of the backend.
A viable option might be starting with option 1 followed by 2 at a later point.
As I'm not really familiar with development of web applications I'd like to start a discussion on this topic.