Scripting Flashcards
1
Q
JS context (3)
A
- Interpreted language (no compile)
- Interpreter embedded in hosting environment.
- Vars are dynamic and automatically casted.
2
Q
JS objects (2)
A
- Native (string math date)
2. Host (interact with window or interact with page in window(document))
3
Q
DOM api (2)
A
- Allows programs to interact with HTML by modifying document tree.
- Every node in the dom can be edited through the script.
4
Q
Event and Handlers (1)
A
- Define which JS functions have to be called when event happens.
5
Q
AJAX (1)
A
- Asynchronously requests and sends data with server over http.
6
Q
Ajax advantages (2)
A
- Built on existing technologies
2. Works with different languages and formats.
7
Q
Ajax disad (2)
A
- Response time (user can wait without knowing why).
2. Security (Cors).