Model-View-Controller (MVC) and AJAX

Model-View-Controller (MVC) and AJAX

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

AJAX

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (5)

Section 1

(5 cards)

AJAX

Front

Asynchronous JavaScript and XML

Back

What are the two key building blocks of AJAX applications?

Front

1. JavaScript: Allows running complex code inside a browser to make the page "dynamic" 2. Document Object Model (DOM): * Tree-based representation of HTML document * JavaScript program can manipulate different parts of the DOM to make changes on the page * JavaScript program can monitor "events" on the DOM, like clicking certain part of the page

Back

Event-driven programming

Front

Control flow is driven by events. Programmer specifies mapping from events to actions.

Back

What mechanism is needed to support AJAX?

Front

Dynamic in-place page update mechanism

Back

Four layers of a website

Front

Encryption layer: encrypted transport HTTP layer: interpret request and serve response Application layer: generate dynamic content Storage/Data layer: store and retrieve data

Back