-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Review needed for knowledge base articles #1977
Comments
Thanks for surfacing this content! |
Hi @chowdhurian and @fhemberger, And also some extra questions:
OR |
@Yash-Handa you can totally get started. To answer your questions:
I hope this was helpful. Let me know if I've left anything unclear. |
Thanks @Yash-Handa! I think if content is deprecated (technically) or no longer useful/best practice, it should be removed. It would be good if we get a first impression how much of the content is still relevant/up to date. If you're unsure, just ask here and we can find people working on that particular topic who know the details. |
TL;DR : Will submit a structured Summary (with suggestions) for all the Articles of the knowlege directory in 2 to 3 days Thanks, @fhemberger, and @chowdhurian for such prompt response :) I was thinking of something similar to this. Like giving a detailed report about the relevance of the Articles and what changes should be made to them. As many Articles are deprecated not because of the Node features been removed but because of the libraries/packages they talk about are either outdated/deprecated/not-maintained or some new features and best-practices have been added in the newer versions of the package. eg: nodejs.org/locale/en/knowledge/command-line/how-to-parse-command-line-arguments.md talks about package optimist which is deprecated now, So suggestions for which packge to use in the Article might be helpful (eg: yargs). So, will submit a structured summary for the entire directory knowlege in 2 to 3 days I hope this might fasten up the reviewing process :) |
Suggestion: For better efficiency, I suggest working on smaller chunks of articles (say 10 to 12 articles at a time), this will allow better granularity, monitoring and focused discussions. Below is the summary of 12 Articles [from command-line, child-processes, cryptography, and javascript-conventions directories] command-line (updated 3yrs ago)
child-processes (updated 3yrs ago)
cryptography (updated 7 months ago)
javascript-conventions (updated 6 months ago)
I would follow one PR per Article as mentioned in Knowledge base articles need to be reviewed ahead of pulling them in |
@Yash-Handa Wow, amazing! Thank you for all your work! |
Hey @chowdhurian and @fhemberger, In accordance with issue nodejs#1977, I have updated the Article **how-to-parse-command-line-arguments** with the following changes: - Exchanged **optimist** with **yargs.js** - Added more featured example with yargs.js. - some other miscellaneous updates and refactors. If there are any **suggestion/enhancement/tips** please feel free to tell me, I would love to incorporate those changes in this Article 😄
In accordance with issue #1977, I have updated the Article **how-to-parse-command-line-arguments** with the following changes: - Exchanged **optimist** with **yargs.js** - Added more featured example with yargs.js. - some other miscellaneous updates and refactors.
In accordance with issue #1977, I have updated the Article **how-to-prompt-for-command-line-input** with the following changes: 1. Exchanged **direct stdin usage** with **readline module** 2. Added example of `readline` module. 3. Some other miscellaneous updates and refactors.
In accordance with issue #1977, I have updated the Article how-to-prompt-for-command-line-input with the following changes: 1. Added setImmidiate() with example 2. Some other miscellaneous updates and refactors.
Thanks, @fhemberger, @keywordnew, @Maledong, @ZYSzys, and @willin for such prompt suggestions, reviews, and merges 🙌🙌. I would love to have some suggestions about the below 3 articles:
|
a) I think we can safely remove "using-ECMA5-in-nodejs". b) "how-to-create-default-parameters-for-functions": ES6 default parameters should be the default, also the part of "optional values in the middle" is still useful. Ditch everything after "More complicated cases require more code …" Can't say much about TLS either ¯\__(ツ)_/¯ |
Thanks, @fhemberger for your suggestion as always, 😄
|
Hey @Yash-Handa, do you have a list of the articles you are currently working on? I want to help with this task, and want to make sure we don't overlap efforts. |
Hey, @jonchurch great to know that 🎉 For the list part: |
In accordance with issue #1977, I have updated the Article how-to-create-default-parameters-for-functions with the following changes: 1. Added modern JavaScript (ES6) default parameter specification. 2. Added "falsy" value anomaly in default parameter. 3. Removed an extra example for ES5 and below. 4. Some other miscellaneous updates and refactors.
Here is the list of articles I intend to start working on. I can commit to these for now and will come back for more soon 👍. All of these could benefit from basic formatting improvements. REPL
Advanced
|
In accordance with issue #1977, I have updated the Article how-to-access-query-string-parameters with the following changes: 1. Added a note on how to execute the program. 2. Added some detail about other key values provided by `url.parse()`. 3. Some other miscellaneous updates and refactors.
Updates to knowledge article **[how to create a custom repl](https://github.com/nodejs/nodejs.org/blob/master/locale/en/knowledge/REPL/how-to-use-nodejs-repl.md)**. Per #1977 (comment). This one didn't need much in my opinion. I updated the code block formatting and tweaked some phrasing. I did not add section headers to this one. * Update code fence syntax * Replace first person use of "I" with "you" cc @keywordnew @fhemberger Co-authored-by: <maledong_github@outlook.com>
/cc @amiller-gh @nodejs/website-redesign We are updating the knowledge base right now, there's a lot of good content that should find its place on the new website as well. |
In accordance with issue nodejs#1977, I have updated the Article how-to-access-query-string-parameters with the following changes: 1. Used const instead of var. 2. Removed unnecessary server variable. 3. Added a note on how to execute the program.
In accordance with issue #1977, I have updated the Article how-to-access-query-string-parameters with the following changes: 1. Used const instead of var. 2. Removed unnecessary server variable. 3. Added a note on how to execute the program.
In accordance with issue nodejs#1977, I have updated the Article how-to-create-a-HTTP-server.md with the following changes: 1. Used `const` instead of `var`. 2. Added CURL example.
In accordance with issue #1977, I have updated the Article how-to-create-a-HTTP-server.md with the following changes: 1. Used `const` instead of `var`. 2. Added CURL example.
This issue should be closed |
The articles for the knowledge base were donated from Nodejitsu a while back but never received a proper review and thus aren't linked in the website navigation:
https://nodejs.org/en/knowledge/
Those articles need to be reviewed. Are they still relevant? Do they need to be updated for current versions of Node.js? Which articles are relevant for the ongoing website redesign content structure?
/cc @nodejs/website-redesign
The text was updated successfully, but these errors were encountered: