click below
click below
Normal Size Small Size show me how
COMP322 Final Review
Question | Answer |
---|---|
HTML | HyperText Markup Language |
CSS | Cascading Style Sheet |
DOM | Document Object Model |
HTTPS | HyperText Transfer Protocol Secure |
REST | REpresentational State Transfer |
URL | Uniform Resource Locator |
JSON | JavaScript Object Notation |
HTTP Status Code 200 | OK- the data was received and operation performed |
HTTP Status Code 403 | Forbidden- client is not allowed to use the resource |
HTTP Status Code 404 | Not Found- computer is not able to find the resource |
HTTP Status Code 500 | Internal Server Error- service unavailable due to error on server side |
Name 5 tags exclusive to <head> | style, script, meta, title, author |
What is a RESTful API? | an architectural style for distributed hypermedia systems |
Principle of REST: Client-server | separates user interface concerns from data storage concerns, improve portability of UI, improve scalability by simplifying server components |
Principle of REST: Stateless | each request from client to server must contain all info necessary to understand request |
Principle of REST: Cacheable | cache constraints require that data w/in a response to a request be implicitly or explicitly labeled as caheable/non-cacheable |
Principle of REST: Uniform Interface | apply software engineering principle of generality to component interface, simplifies overall sys. architecture, improved visibility of interactions |
Principle of REST: Layered System | allows an architecture to be composed of hierarchical layers by constraining component behavior so each component can't "see" beyond the next layer |
Principle of REST: Code on Demand(optional) | REST allows client functionality to be extended by downloading & executing code in applets or scripts |
Rank the selectors | 1 #id_name =most specific 2 .class_name -> dic img 3 div.class_name 4 div =least specific |
HTTP Status Code 400 | Bad Request- server can't accept the request bc something is wrong with client or request that sent |
XML | eXtensible Markup Language |
CRUD: Create | POST- creates a new resource on remote server |
CRUD: Read | GET- retrieves data from remote server |
CRUD: Update | PUT- updates data on remote server |
CRUD: Delete | DELETE- deletes data from remote server |
Name 5 tags exclusive to <body> | form, h1, p |