A
A
Alexander2018-11-17 02:52:12
Mobile development
Alexander, 2018-11-17 02:52:12

What is the difference between web backend and mobile backend?

I am doing a backend for websites, they suggested writing for a mobile application, what is the difference between a backend for mobile and a backend for the web?
As I imagine:
A request is made to a specific address, for example email, pass, I process it, check the correctness and check with the database, then return the json response. Further, I would write information to the session on the web and would work with the session. And how does it work with sessions? Are there sessions at all? If possible, an article about this. Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem, 2018-12-06
@AleksandrB

Use API and tokens:
after authentication, issue a token to the user, and write it to the database for yourself.
The rest of the backend is no different from the web backend. That's why it is a backend so that it can be used by many (different) clients.

W
WTERH, 2018-12-06
@Expany

IMHO, the difference is 0.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question