T
T
Tik2018-05-04 16:33:46
Android
Tik, 2018-05-04 16:33:46

Parse through your site or directly into the application?

I am writing an application for Android, roughly speaking a news feed, the material for which is parsed from a couple of third-party sites. I think it would be more efficient to create a small site that will parse the data and save it in a db, and then add a small rest api through which I will receive news directly on android. Or will it not give a special result and is it easier to hang all the parsing on android with caching?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
santaatnas, 2018-05-04
@Tik

It’s better to let the server do it, and the client communicates via API, I see the advantages: saving resources, the ability to store on the server, a fast client (the client made one request, the server can go to several sources, or already went and gave it from the cache / storage), the ability to implement in any server programming language.

S
Stalker_RED, 2018-05-04
@Stalker_RED

It seems to me, or do you want to invent an RSS aggregator? Look, they are ready to eat. Even if they do not fit - read how they are arranged.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question