What is Mongodb and why should I, as a front-end dev, adopt it instead of good old Mysql?

Asked

Viewed 71 times

1

I have heard comments from other devs to migrate to Mongodb to create my applications.

How and why I should do this?

There is an interface by which I can manipulate the data, etc.?

1 answer

4

It is a database mechanism within the spectrum called Nosql, meaning it does not seek to organize information tabular and related. You can read more about at What is a Nosql Bank? How it works?. And see that Nosql may not be a good idea for most applications, even if some people think so: Nosql is as problematic as it seems? and How to choose between Nosql and SQL?. You can learn more about Mongodb at In what kind of application can I use Mongodb?.

For those who are *frontend developers, in general, do not need to know about it or any other database that is something used in backend, and whether the part of backend require you to know something she is very poorly done.

Of course Mongodb could be useful in some scenario of frontend, but not the one that people talk about and use. In general when you talk about frontend the person is talking about the web and there is no way to use Mongodb in this part. But if it is frontend desktop, or possibly mobile, Mongodb could have some function, just as it could use an Sqlite or other database to store some information locally that doesn’t make sense to put on the server or that it makes sense to have in both places, probably by optimization.

  • Complementing the @Maniero response, I believe that the main interfaces for data manipulation other than by command line is Compass and Robo 3T.

Browser other questions tagged

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