Intro to Node.js

 

With Mark Dewey

Core Instructor

 

Sponsored by

Let's get connected

WiFi:

Suncoast Developers Guild

password:

this might be a password

Follow along:

http://bit.ly/sdg-node

 

What is node?

baby don't hurt me...

  • JavaScript outside the browser
  • Chrome V8 Engine
  • Single Threaded Event Loop Model

Just JavaScript

not rocket science... sort of...

  • Variables (const & let) 
  • Functions (arrow and classic) 
  • Same control flow

Single Threaded

one thread to rule them all.

  • Single Threaded
  • Event Driven
  • Non-blocking I/O

time to play!

From scripting

 to the web!

Node as Server

It can do all the things

  • express
  • jade
  • yarn

Yarn

like a cat and a ball of string

  • package manager
  • run node scripts
  • install packages
  • run any terminal commands

Express

Choo choo!

  • unopinionated web server
  • minimalistic
  • focused around middleware

Jade

not as shiny as the stone

  • templating engine 
  • uses a light version of html
  • also uses node

Lets build a website!

http://bit.ly/sdg-node

Intro to Node - Main

By Mark Dewey

Intro to Node - Main

  • 239