CIS 111 Lecture Notes - Lecture 1: Ecmascript, Javascript Syntax, Web Application
JavaScript Intro & Overview (Day 1)
• Why JavaScript? It’s the Machine Language of the Web Platform
• Javascript everywhere: browser, server (Node.js), mobile (Android, iOS), and
desktop (Electron, Chromium).
• JavaScript turns the Web (HTTP, HTML, CSS, JavaScript) into a platform for
software application development
▪ Netflix, Hulu, Spotify, Pandora, Gmail, Youtube, etc.
• CIS 111 Workflow
• Edit (Use code editor – Atom – to create a web page)
• Preview (Use Atom’s Open in Browser option or Chrome’s Open File option)
• Upload (Use SFTP – Fugu – to transfer your web app to the server)
• Test (Use Chrome to view your web app on the server)
• Command-Line JavaScript
• Javascript: “Batteries Not Needed”
▪ JavaScript is the native language of all web browsers
• Open DevTools Console
o Windows: ctrl-shift-j (or Fn F12)
o Mac: option-command-j
• Synonyms for Command-Line
▪ CLI (Command-Line Interface)
▪ Js shell
▪ REPL (read/eval/print loop)
• Chpt 11: JavaScript Types
• Primitives vs. Objects
• 6 Types
▪ number
▪ string
▪ Boolean
▪ Null
find more resources at oneclass.com
find more resources at oneclass.com