Question

In: Computer Science

Do restful APIs supply the benefits of the relational data model - data independance and communicability?

Do restful APIs supply the benefits of the relational data model - data independance and communicability?

Solutions

Expert Solution

What is Restful API ?
Full form of RESTFul API is, Representational State Transfer. It is a means for two computers to communicate with each other over HTTP. A Restful API is an architectural styled API that uses HTTP connection to access and usw the data. We can perform various operations on that data such as GET, PUT, POST and DELETE. We can modify the resources using these operations.

Features of RESTFul API are -

1. Client-server architecture
2. Stateless
3. Cacheable
4. Uniform Interface
5. Layered system
6. Code on demand

Restful API proovides the benefits of relational data model - i.e, data independance and communicability.

Data independance in restful API -
Restful is stateless. Each HTTP connection contains all the needed information to run iy, so that neither the client nor the server needs to remember previous state for connection.
Restful API is implemented on client-server architecture. It has layered architecture. Layered architecture means system is composd of multiple hierarchicle layers. This provides great data independance. Because of layers, various component's behaviour can be constrained. These components cannot see beyond the immediate layer with which they are interacting.
So restful API provides high data independance to it's users.

Communicability in restful API -
Restful API implements client server architecture. By means of this, communication can be established between clients and servers. Different layers in architecture can communicate with it's immediate layer.In the layered architecture, you can deploy the API on server A, and data can be stored on Server B. Whereas requests from clients can be authenticated on server C.


Related Solutions

Explain the differences among hierarchical, network, and relational data models. What makes the relational data model...
Explain the differences among hierarchical, network, and relational data models. What makes the relational data model the most popular data model in use today? (DQ 4-1)
Data Modeling and Database Design (Database Concepts, Eighth Edition) The relational model is the most important...
Data Modeling and Database Design (Database Concepts, Eighth Edition) The relational model is the most important standard in database processing today. Why do you feel that this model has continued to be successful in the world of IT? What would happen if large corporations decided to reject this theory, and store their data using a non-relational model? Are there any success stories where this has happened?
In the past two weeks you have learned about the relational data model and hopefully had...
In the past two weeks you have learned about the relational data model and hopefully had some practice creating a normalized relational schema through the use of entity/relationship modeling. Based on what you know, please think about various types of software application. Consider what the databases that back these applications might look like. Describe at least one application--whether already existing or hypothetical--for which you believe the relational model would NOT be a good fit. Explain why. Describe another application--already existing...
Use tuple relational calculus for the following problems Relational Model Motel(mID, mName, city) Guest(gNum, gName, gAddress)...
Use tuple relational calculus for the following problems Relational Model Motel(mID, mName, city) Guest(gNum, gName, gAddress) Room(mID, roomNum, price) Books(gId, mId, roomNum, startDate, endDate) 1. a)Select motels with at least 1 room with price > $500. b) Select the motel that has the most inexpensive room. c) Select guests who've booked a room in every motel.
It is required to develop the normalization from the Relational Model for the clothing store: Modarte...
It is required to develop the normalization from the Relational Model for the clothing store: Modarte S.A. de C.V. -Step 1: Entity-Relationship Model The clothing store Modarte S.A. de C.V. It has various products for women, men, boys and girls, which requires generating an Entity-Relationship Model for inventory control and sales management. It is required to develop 3 tables: products, employees and customers. In the Products table the following fields must be considered: product code, product name, type, size, purchase...
Model 2 Relational Operators In Model 1, you determined the top three attributes by comparing percentages....
Model 2 Relational Operators In Model 1, you determined the top three attributes by comparing percentages. We can declare variables to represent these percentages in Java: double written = 82.0; // Communication skills (written) double problem = 80.9; // Problem-solving skills double teamwork = 78.7; // Ability to work in a team In the table below, predict the result of each expression and identify the operator (if any). The first three rows are completed for you. Expression Result Operator written...
Using the relational model, define relations, keys, etc. to model flights, airlines and airports. Explain all...
Using the relational model, define relations, keys, etc. to model flights, airlines and airports. Explain all of the choices you make.
Why is the relational model important? List the characteristics a table must have to be considered...
Why is the relational model important? List the characteristics a table must have to be considered a relation. Define the term domain, and explain the significance of the domain integrity constraint to a relation. Give an example of a relation (other than one from this chapter). How do surrogate keys obtain their values? Explain three possible interpretations of a null value. In your own words, describe the nature and purpose of the normalization process. Study the following tables, then transform...
Task 2 (1 mark) Transformation of data stored in the relational tables into data stored in...
Task 2 (1 mark) Transformation of data stored in the relational tables into data stored in BSON collection.
Part #4: Data normalization: Background: Data in a relational database is stored in a normalized form....
Part #4: Data normalization: Background: Data in a relational database is stored in a normalized form. Data normalization or just normalization is a strategy used to organize data into multiple related tables to reduce data redundancy while preserving data integrity. Exercise: Normalize the student data in the University table (sample data is shown further below) into 3 tables, namely, Student, Department, and Course. You do not need to populate data. Just illustrate the schema for the 3 tables. You may...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT