-
Notifications
You must be signed in to change notification settings - Fork 22.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node database tutorial #11948
Comments
@libingqin I'm note sure what you're requesting. Are you requesting that MDN provide a tutorial on how to access/use a MySQL database from Node.js code? |
Thank you for your reply, yes, I just happened to read the express tutorial in mdn. The database part uses mongo, but in daily work, mysql is more widely used. |
cc @Rumyra Do you think this should be converted to a discussion? Or should the team consider this at all—I don't think we want to emphasize that much on backend? |
You select a database based on the requirements of the data to be stored. If you're working with largely unstructured data and speed and ease of use is the most important factor then MongoDB is a much better alternative to MySQL (or [insert name of your favourite relational database here]). The specific case referred to above was the express tutorial. For this case I covered that there are alternatives in https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/mongoose#what_databases_can_i_use I am going to close this issue as it was originally related to the express, for which I don't think this is appropriate. Thank you for posting this @libingqin - I hope my reasoning makes sense. @Josh-Cena I'll leave it to @Rumyra to decide if we do need a framework-agnostic topic on server-side databases - in which case she can create a separate "clean" issue on the topic outlining the requirement. I think it is relevant, but not any kind of priority - so not going to do so. |
A small suggestion, part of the node database uses mysql for beginners, mysql is more widely used
MDN URL: https://developer.mozilla.org/en-US/docs/Learn
The text was updated successfully, but these errors were encountered: