GithubHelp home page GithubHelp logo

node-tutorial's Introduction

node-tutorial

Simple tutorial for anyone who never worked with node

This is a public repository.

How to use it

"Startup" topics are on the master branch. Other topics would be stored under topic/<name> branch once ready.

List of tutorials

01 helpers
  • Basic node syntax
  • Helpers used in this tutorial
  • Syntax convention for this tutorial
02 helpers-lib
  • Simpe node library
  • Use of require
03 single threaded
  • Node is NOT multi-threaded
04 single threaded but asynchronous
  • Node is asynchronous to achieve multiple operations running in parallel
  • System operations (I/O) can work in parallel
05 classes
  • JavaScript class example (definition and usage)
06 event queue
  • Event based asynchronous processing with node (basic concept of Node)
07 null, undefined
  • Null, undefined and similar concepts in JavaScript
08 typeOf
  • Basic types in JavaScript (weakly typed language)
09 promises
  • Basic concept of a promise in JavaScript still used often (though often not very developer friendly)
10 await vs promise
  • Advantage of await over promise
11 promise chaining
  • Advantage of promises
12 error handling
  • How to handle errors in JavaScript (with promise, with await)
13 promise reject
  • Failing a promise
14 context and arrows
  • Execution context
  • Arrow functions
16 strange arrows
  • Bonus: strange topics of arrows in JavaScript

node-tutorial's People

Contributors

maciej-wakula-opuscapita avatar

Stargazers

Krzysztof Węgierski avatar  avatar

Watchers

James Cloos avatar Dusty Wilhelm Murray avatar Egor Stambakio avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.