Programming and Open Source Flashcards
What is client-side and front-end development?
These two partly overlaps, as they both runs in the browser.
Client-side: code that rund on the client (e.g.users computer).
Front-end: all code/components/processes that is used to present something to the end-user.
What is server-side and back-end development?
These two partly overlaps.
Server-side: Code that runs on the server, not the client.
Back-end: whatever is going on behind the scene. When the end-user interacts with the interface, something happens back-end, e.g. DB queries, calculations etc. Now a days, these actions often happens front-end/client side as well, due to more hardcore clients that can manage heavier calculations.
What is the role of HTML, CSS and JS?
HTML: markup, structural.
CSS: styling, presentational.
JS: programming, behavioral.
What are JS Frameworks?
Tools for making JS coding faster and more efficient. It is an application framework written in JS.
E.g. ReactJS, Angular5 (not JS) and Vue.js.
What is an API?
An interface in a SW that makes certain parts of it able to be activated/run from another SW, through API-calls. Common that SW/P-owners publish their API’s ((un)constrained) to allow independent devs to use their SW in a novel way.
What is REST?
an architectural style, a set of architectural constraints. Can be thought of as “rules” for what is allowed within an architecture.
Developed to support the HTTP-protocol.
(hel forelesning om dette, les notatene).
- What constrains exists in REST?
- Client-server (CS)
- Stateless (S)
- Cachable ($)
- Layered system (LS)
- Uniform Interface (U)
- Code-on-demant (CoD)
- Name the data elements of REST
- Resource
- Resource identifier
- Representation
- Representation metadata
- Resource metadata
- Control data
- Name the components of REST
- Origin server
- Gateway/reverse proxy
- Proxy
- User agent
- Name the connectors of REST
- Client
- Server
- Cache network
- Resolver
- Tunnel
These are inner functionality of the components, and handles communication for them.