Scripting Flashcards

1
Q

JS context (3)

A
  1. Interpreted language (no compile)
  2. Interpreter embedded in hosting environment.
  3. Vars are dynamic and automatically casted.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

JS objects (2)

A
  1. Native (string math date)

2. Host (interact with window or interact with page in window(document))

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DOM api (2)

A
  1. Allows programs to interact with HTML by modifying document tree.
  2. Every node in the dom can be edited through the script.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Event and Handlers (1)

A
  1. Define which JS functions have to be called when event happens.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

AJAX (1)

A
  1. Asynchronously requests and sends data with server over http.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Ajax advantages (2)

A
  1. Built on existing technologies

2. Works with different languages and formats.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Ajax disad (2)

A
  1. Response time (user can wait without knowing why).

2. Security (Cors).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly