Week 4 - Web Flashcards
What is an event handler?
something which can call code client side uploaded from the server
What can we use to manipulate webpages?
DOM
What does DOM stand for?
document object model
Why can server side be any language possible?
only needs to recieve requests and send HTML pages
Describe client-side web computation and processing?
- actions specific to a user
- local processing, fast response
- takes load off server
- reduces network load
- may incur local storage and processing overhead
Describe server-side web computation and processing?
- common content generated on demand
- benefit for many users accessing same content
- higher overhead at server for each page/document to be dynamically generated
What is dynamic typing?
when a type is assigned when a value is assigned
- but typing is strong
What are javascript primitive types?
numbers
strings
booleans
What are javascript trivial types?
null
undefined
What are javascript composite types?
object
array
Describe numbers in JS
8-byte floating point representation
what does 3 === denote?
checks the type
strict equality
what are the 3 variable keywords?
let
var
const
what does == denote
converts type
What is Node.js
it is an asynchronous event driven
JavaScript runtime
Node is designed to build scalable network
applications