Advanced Terms Flashcards

1
Q

Web APIs

A

Most APIs are web APIs, which are remote APIs that use HTTP protocols to transfer data and functionality over the internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

REST APIs

A

REST stands for Representational State Transfer, and defines functions like GET, PUT, and DELETE that clients can use to access server data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SOAP APIs

A

SOAP stands for Simple Object Access Protocol, and are highly structured APIs that follow a strict protocol. They are designed for enterprise-level applications and are known for their security.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Types of APIs

A

There are several types of APIs, including open APIs, partner APIs, internal APIs, and composite APIs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

SOLID

A

https://en.wikipedia.org/wiki/SOLID

Single responsibility
Open–closed
Liskov substitution
Interface segregation
Dependency inversion

Single-responsibility principle (SRP) states that “[t]here should never be more than one reason for a class to change.” In other words, every class should have only one responsibility.

Open–closed principle (OCP) states that “[s]oftware entities … should be open for extension, but closed for modification.”

Liskov substitution principle (LSP) states that “[f]unctions that use pointers or references to base classes must be able to use objects of derived classes without knowing it. (Polymorphism)

Interface segregation principle (ISP) states that “[c]lients should not be forced to depend upon interfaces that they do not use.”

Dependency inversion principle (DIP) states to depend upon abstractions, [not] concretes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly