-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add node starter guide blog #86
base: master
Are you sure you want to change the base?
Conversation
@milindl is this fine ?? |
@@ -0,0 +1,43 @@ | |||
--- | |||
layout: post | |||
title: "Starters Guide to Node.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be "Starter Guide" or "Starter's Guide"
|
||
## What is Node.js ? | ||
|
||
**If you go by docs:** [Node.js®](https://nodejs.org/en/) is a JavaScript runtime built on [Chrome's V8 JavaScript engine](https://developers.google.com/v8/). Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, [npm](https://www.npmjs.com/), is the largest ecosystem of open source libraries in the world. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we're saying all these words which sound a bit complex, it is worthwhile to explore them on a basic level at least. A lot of people reading this are new to all this in general, and "event-driven" or "non-blocking" might not make a lot of sense to them
|
||
**If you go by docs:** [Node.js®](https://nodejs.org/en/) is a JavaScript runtime built on [Chrome's V8 JavaScript engine](https://developers.google.com/v8/). Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, [npm](https://www.npmjs.com/), is the largest ecosystem of open source libraries in the world. | ||
|
||
In simple words Node.js is server side programming environment which helps us to create APIs which can be consumed by Mobile devices, Websites etc.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, I think some explanation of the word "API" etc might be needed. Maybe add a link to one of the articles which have client/server thing explained (since most people won't know that, but here it will be off topic).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node.js is much more than just an environment to create APIs for websites. It's a platform to run javascript outside your web browser. You can possibly do all the things with that you can do in any other programming language.
|
||
JavaScript is undoubtedly one of the most popular programming languages out there today, and for good reason. It can easily be run in your browser, on a server, on your desktop, or even on your phone as an app. | ||
|
||
Before Node.js, JavaScript was only client side language meaning it can run only on browsers such as chrome, Mozilla etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: *Chrome and *Firefox sounds better 😛
|
||
Before Node.js, JavaScript was only client side language meaning it can run only on browsers such as chrome, Mozilla etc. | ||
|
||
You can find loads of stuff on the internet which will persuade you to learn Javascript and Node.js, but one reason which I find the most compelling is that you can pursue both frontend and backend development if you learn the above stated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Link them, and create a small summary table like APwhitehat has done on his RoR post. Listing "cons" along with pros is also a plus
|
||
## How to get started ? | ||
|
||
I assume that you know JavaScript but if you don't then you should probably first learn it, [this](http://www.amazon.in/Head-First-JavaScript-Programming-Morrison/dp/144934013X) is a very good book to start with. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I assume that you know JavaScript , but (add a comma)
|
||
First, Node.js is not a programming language but a minimal framework. Language is Javascript. And it is very easy to learn. | ||
|
||
To begin with you should have [Node.js](https://nodejs.org/en/) installed on your machine(obviously), npm is installed along with it. There are a bunch of very good tutorials for Node.js available online. But I personally recommend to complete all the tutorials(exercises) of [learnyounode](https://www.npmjs.com/package/learnyounode), this might need a lot of googling and reading of [the docs](https://nodejs.org/api/). But if you are not comfortable with the previously mentioned two thing(which you ideally should be if you want to become a good programmer) the go for [learn all the nodes](https://www.youtube.com/playlist?list=PLQmX5gaHg2SXyKuT9BQ_nbFIdZ39yeRxH) lecture series. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explain NPM a bit (more about the "largest ecosystem" thing could be said here).
Nits:
- comma after "begin with"
- recommend to complete -> recommend completing
- thing( -> thing ( [added a space]
|
||
To begin with you should have [Node.js](https://nodejs.org/en/) installed on your machine(obviously), npm is installed along with it. There are a bunch of very good tutorials for Node.js available online. But I personally recommend to complete all the tutorials(exercises) of [learnyounode](https://www.npmjs.com/package/learnyounode), this might need a lot of googling and reading of [the docs](https://nodejs.org/api/). But if you are not comfortable with the previously mentioned two thing(which you ideally should be if you want to become a good programmer) the go for [learn all the nodes](https://www.youtube.com/playlist?list=PLQmX5gaHg2SXyKuT9BQ_nbFIdZ39yeRxH) lecture series. | ||
|
||
## So lets get the whole thing started ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Let's
@hritwik567 , on the whole, the structure is fine, but you need to explain a few more terms in depth so that people can get a feel of what they are getting into. Address the review comments when you have time, ask me if there are any issues. |
Sorry for the grammatical mistakes, I'll all this to google docs and then update 😉 |
b5ffe87
to
3c3a7a7
Compare
No description provided.