Browser architecture, DOM and storage
Learn Browser architecture, DOM and storage (Module 22 · Browser APIs and Storage, Angular) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
What is inside a browser? Browser architecture : a browser is many parts working together: a rendering engine (turns HTML/CSS into pixels), a JavaScript engine (V8) with a single-threaded event loop , a networking layer, storage, and security sandboxing per tab/site. Your Angular app lives in one tab's sandbox. • DOM APIs : the page is a tree of nodes you can find ( querySelector ) and modify. In Angular you rarely touch it directly: templates and bindings do the work. • Window and Document : window is the global object (location, history, localStorage, innerWidth); document is the page (...