Javascript Notebook
  • Introduction
  • Intro to JavaScript
    • Section 1 - Getting Started
    • Section 2 - Execution Contexts and Lexical Environements
    • Section 3 - Types and Operators
    • Section 3 Part 2 - Closures and Callbacks
    • Section 4 - Objects and Functions
    • Section 5 - Object Oriented Javascript and Prototypal Inheritance
    • Section 6 - Building Objects
    • Section 7 - Odds and Ends
    • Section 8 - Examining Famous Frameworks and Libraries
    • Section 9 - Let's Build a Framework or Library!
  • Midterm Review
  • Final Review
  • jQuery
    • Section 1 - Selectors
    • Section 2 - Events
    • Section 3 - Effects
  • Node.js
    • The Node Core
    • Modules, Exports, and Require
    • Events and the Event Emitter
    • Databases and SQl
  • D3.js
    • Diving In
    • Bar Chart
    • Creating A Complex Bar Chart
Powered by GitBook
On this page
  • Server and Clients
  • What Does Javascript Need To Manage Server
  • Node.js
  • Hello World

Was this helpful?

  1. Node.js

The Node Core

Server and Clients

  • Client requests and server responds

  • Web server:

    • Server connected to the internet

    • Client: Browser

      • Standard is HTTP

  • Combines PHP, C#, or Ruby

What Does Javascript Need To Manage Server

  • Deal with files

  • Organize code in reusable pieces

  • Ways to deal with database

  • Communicate over internet

  • Accept request/response

  • Async work

Node.js

  • Is embedded an an application within v8's C++ engine

  • Node.js itself include both C++ and js

  • Framework / js library

Hello World

  • Visual studio code

    • Debugging option, that walks directly through the C++ app (node itself)

Debugger listening on port 35224
Hello world
  console.log("Hello world")
node app.js
Hello world
PreviousNode.jsNextModules, Exports, and Require

Last updated 5 years ago

Was this helpful?