Android - What data technologies, SQL? , noSQL? , local database + server database?

Asked

Viewed 475 times

-1

What good practices are used for the provision, storage, data flow, in an application Android?

For example, the app Easytaxi, iFood, among others:

  • What is the need/advantage of a local database (what information is ideal to use a database, for example, SQLite)?;
  • What is the scenario of the application where the use of a database shared on a server for large information flow control(This would be an implementation of SQL)?;
  • These apps, they have 2 types of login, one of the app and the other by facebook, as is managed the authentication data to maintain the fidelity that the user who is logging into the app is the same who logs in using the facebook api?;

  • The Easytaxi has a module for the Taxi driver and another for the passenger, which Data technology is used to make the supply, storage, flow, between one module and the other?;

Really know the best way for this to happen and what techniques to use in a scenario that the app covers a large flow of information and at the same time maintain the fidelity of the messages exchanges of the app, between modules, the user, the server, is important, I know how to do this with Delphi, but mobile is totally new and everything is very beautiful.

I had already read and used a little bit mongoDb, nodeJS, relational database, facebook api, but I want to know the straight way, after all we are exact and this reference is very important.

  • Perhaps it is more interesting to separate into several questions. Each of these topics is an entire answer in itself.

1 answer

0


Hello,

I’ll talk based on the apps I developed.

What is the need/advantage of a local database(which information is ideal for using a database, for example, Sqlite)?;

I used local database for data that is not changed, such as app user data like Height, Age, Name, Gender.

What is the scenario of the application in which the use of a database shared on a server for large flow control information(This would be an implementation of in SQL)?;

When you need to share data among all app users, or when they need to consume data on the web, such as accessing the balance of some service.

These apps, they have 2 login types, one from the app and the other by facebook, how is the authentication data managed to maintain the fidelity that the user who is logging into the app is the same as using the facebook api?;

When I used, he could use OR app registration, OR use Facebook login, I can’t tell you if it’s easy to merge the two after created.

The Easytaxi has a module for the taxi driver and another for the passenger, which data technology is used to supply, storage, flow, between one module and the other?

Has 2 modes

1 is based on the logged in user you show a different VIEW in the Home, and the Home will have the link to all views.

2 Create an APP for each user module (Google Play) and ADM module (Ad-Hoc)

I worked on 5 native android apps, this is what I have experience, maybe someone knows you better.

  • Well, you answered all the questions correctly, but for my inexperience, I couldn’t ask the right question. I will mark your answer as right and elaborate something more cohesive with what I seek.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.