Most important stuff? Flashcards
(170 cards)
absolute URL
link to different domain
relative URL
link to same domain
HTTP request components
protocol
domain name
port number
file path
DOC flow block
top to bottom expands full width
DOC flow inline
left to right width fits content
3 paradigms Javascript supports
OOP
imperative
functional
cookies store info on
client side
CSS applied 3 ways
inline (in tags)
internally (in style tag)
external style sheets
what 4 elements not inherited
width
margin
padding
border
JS can do what to do the DOM
access and manipulate
event handlers are
JS functions linked to DOM elements events
event handlers vs event listeners
callbacks
elements
asynchronous data fetching
data downloading
fetching data asynchronously enables real time updates and smoother user experiences
REST Api
representational state transfer
application programming interface that conforms to design principles of REST arch style
web frameworks
simplify development of web applications
call your code
client and back side Web frameworks
client side
JS
CSS
HTML
backend
web service APIs
databases
interactive content
page responds to user actions
dynamic content
generated, custom for each user
why is DOM manipulation a problem
complexity of manipulating thousands of elements
traditional doesn’t inherently synchronise data changing across view boards
one way data binding
updates DOM base on data model
2 way data binding
automatically synchronises the model and the view
react
front end library focused on building user interfaces of web apps
isolates differences in VDOM then only updates DOM with differences to increase performance
3 main points of web frameworks
1) help with performance (instead of individual manipulation to DOM elements)
2) 2 way data binding ensures model and view consistency
3) help to develop complex applications
relational vs non relational databases
relational
rigid
based on structured schema organised into table
vertical scale
non relatiinal
flexible
document based on key value
priorities availability
horizontal scale