Browser Components + Python vs. JavaScript Execution Model + Role of JavaScript in Web Applications

0.0(0)
studied byStudied by 0 people
0.0(0)
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 7:03 PM on 2/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

9 Terms

1
New cards

Browser Engine

It coordinates the flow of information between the user interface, rendering engine, and other browser components

2
New cards

Rendering Engine:

Interprets HTML and CSS to display the page (e.g. Blink in Chrome, Gecko in Firefox)

3
New cards

JavaScript Engine

Executes JavaScript code (e.g., V8 in Chrome). This is where our app.js runs!

4
New cards

Networking Component:

Handles all communication with web servers (HTTP/HTTPS requests)

5
New cards

User Interface (UI):

The visible parts, like the address bar, back/forward buttons, and tabs

6
New cards

Browser Storage:

Mechanisms for websites to store data on your computer. This is a critical area for security vulnerabilities

7
New cards

Python:

  • Typically synchronous

  • Script → interpreter → process

  • Blocking by default

8
New cards

JavaScript

  • Event-driven

  • Single-threaded event loop

  • Non-blocking I/O

  • Async by design (callbacks, promises)

9
New cards

What JavaScript actually does in the browser:

  • Executes inside the user’s environment

  • Manipulates the DOM (HTML + CSS)

  • Handles user input and events

  • Communicates with servers (fetch/AJAX)

  • Enforces some client-side logic (but never trust it)