Skip to content
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

Closed
libingqin opened this issue Nov 3, 2021 · 4 comments
Closed

Node database tutorial #11948

libingqin opened this issue Nov 3, 2021 · 4 comments
Labels
Content:Learn Learning area docs

Comments

@libingqin
Copy link

libingqin commented Nov 3, 2021

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

@libingqin libingqin changed the title node部分数据库教程 Node database tutorial Nov 3, 2021
@escattone
Copy link
Contributor

@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?

@libingqin
Copy link
Author

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.

@schalkneethling schalkneethling transferred this issue from mdn/yari Jan 12, 2022
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 12, 2022
@sideshowbarker sideshowbarker added Content:Learn:Express Learning area Express docs and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jan 14, 2022
@ddbeck ddbeck added Content:Learn Learning area docs and removed Content:Learn:Express Learning area Express docs labels Mar 31, 2022
@Josh-Cena
Copy link
Member

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?

@hamishwillee
Copy link
Collaborator

hamishwillee commented Jan 3, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Learn Learning area docs
Projects
None yet
Development

No branches or pull requests

7 participants