I am curious about the question stated in the title.
I understand the pros/cons of SPA + RESTful stack vs Dynamic Web Pages.
But is it reasonable to use other front-end architectures to communicate with RESTful API backend?
Using Django as an example, can we create TWO Django applications, one serves as our front-end, one serves as our RESTful API Backend (via Django Rest Framework). When a user requests a page, the front-end application will makes calls to the back-end API to fetch and display the data, then sends back the requested page.
Appreciate your feedback/insights!
Aucun commentaire:
Enregistrer un commentaire