6-rest-programming Flashcards

(11 cards)

1
Q

What is Flask-RESTful?

A

Python extension for Flask that adds support for quickly building REST APIs.

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

What is JAX-RS?

A

Java API for RESTful Web Services - uses annotations to define REST relevance of Java classes.

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

What is Jersey?

A

Reference implementation for JAX-RS. Contains REST server and client.

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

What are common JAX-RS annotations?

A

@Path (URL path), @GET/@POST/@PUT/@DELETE (HTTP method), @Produces (response type), @PathParam (URL parameter).

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

What is Django REST Framework?

A

Python framework for building REST APIs with Django. Popular in industry.

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

What steps needed before deploying Django REST?

A

Setup project, define serializers, define views, define URLs, configure pagination.

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

What is Protocol Buffers (Protobuf)?

A

Google’s way of encoding structured data efficiently and extensibly. Used for internal RPC and file formats.

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

What is Thrift?

A

Apache framework for scalable cross-language services. Combines software stack with code generation for C++

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

What is Avro?

A

Apache data serialisation system.

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

What is Gson?

A

Google Java library for serialising/deserialising Java objects to/from JSON.

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

What’s the difference between binary and text serialisation?

A

Binary (Protobuf, Thrift): compact, fast, but not human-readable. Text (JSON, XML): human-readable, more verbose.

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