A
A
Alexey Romanchenko2018-06-29 14:02:55
Node.js
Alexey Romanchenko, 2018-06-29 14:02:55

Architecture of Frontend RESTFul application?

Good afternoon everyone! I work as an ASP NET Developer. So I began to be interested in RESTFul applications - to separate the backend and frontend - this seems right to me. If I understand the backend, then there is a slight misunderstanding about the frontend of the application. After all, there must be some part of the code written in a server programming language that understands which page to display at startup? I hope I made my question clear enough. Thank you if you advise.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2018-06-29
@romanchenkoalexey

This question has been asked here many times. With the REST approach, the server only issues responses to your api requests, for example in json. Routing and templating, all this is already organized on the client.
Example:
request to the server: GET /news (give news)
Client:
draw the news according to the template (which is already set on the client, the server is not in business at all)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question