As related backend+RESTful API+Database?

Please explain the process of interaction of these terms (is it?).
Let's say I want to make a project. I laid out the website, create mobile app, but only at the interface level. Saw the records, that the project is of average size can use as the core framework of any language. For example is Django. But apps on Android are written in Java.
It turns out that if the basis of the website I took Django, and mobile application will be the basis of Django, if you tie them in a RESTful API? What is the role of the server?
Questions may be very stupid. Please help.
And Yes, the last question: what topics/aspects you need to learn to understand this?
August 23rd 19 at 10:44
2 answers
August 23rd 19 at 10:46
As related backend+RESTful API+Database?

The simplest example is a web browser and as a client. And [*lubiaz*] in the role of a RESTserver. The server may interact with the database, generate responses to client requests.

But apps on Android are written in Java.
Not only in Java... But it doesn't matter as such, what they are written on the client.

It turns out that if the basis of the website I took Django, and mobile application will be the basis for Django
On the mobile app, with a probability of 99% will be the client. On it is written - does not matter particularly, but Django in Android - is very unlikely.

What is the role of the server?
Server role, apparently.

And Yes, the last question: what topics/aspects you need to learn to understand this?
Specifically about the REST - I gave You the link above. So I recommend to familiarize with the specification of the HTTP Protocol, and is useful as an example for Your question and in General.
August 23rd 19 at 10:48
It turns out that if the basis of the website I took Django, and mobile application will be the basis of Django, if you tie them in a RESTful API? What is the role of the server?


REST server care what the client in the end, the main thing that it was sending the correct requests. Ie no matter what is written and the client and server is important to the interaction between them. For example, the server can be written in cange, on the nod, PHP, even the pros, and client two: mobile application for java and a web browser. And all of this works great over http. Smoke how it works, and examples of a restful api.

Find more questions by tags DatabasesProgramming