Uploaded by Sweatano

Part 2 REST API's

advertisement
Part 2 - Representative State Transfer API
1
Abstract
The REST (Representative State Transfer) API is a great application programming interface,
which includes a computer and a computer program working together to complete a task. This
method can be used in websites, and has benefitted most companies such as YouTube, and
Google. It’s ability to work with many programming languages makes it easily recognizable for a
larger number of users, as well as its ability to send out large amounts of data in a small amount
of time. But, it does have it's limitations, such as an overload of information causing latency, and
the challenges of understanding each service. This method has been used in my Sudoku board
project, as it includes multiple classes, each performing its own task and working together with
other classes to create the board, and interaction with it.
The main reason why people are most likely to use this api is because it requires less
bandwidth, meaning that it will be more efficient to those who may not have access to fast
internet speeds. Another great advantage of this is that it can be recognizable with multiple
programming languages such as HTML, Javascript, and Python. As a result, it is able to handle
Part 2 - Representative State Transfer API
2
multiple requests at the same time, and return different data formats. Because this uses a stateless
method, it does not require previous cache memory, or information to run from other programs,
making it an independent platform or language. This can also result in less maintenance cost
because of the simplicity of the platform, and it's flexibility with different programming
languages. Additionally, it does require frequent session information to be sent to save your data
automatically. This means that the user must send information manually in the request, which
can save more memory, but takes more time to perform. Another example in the commercial
industry would be search functionality and the ability to modify it, such as Google. When trying
to search for anything, modifications can be made to the search, such as only showing results
based on a certain time frame, or restricting it to certain types of domains/websites. This is
effective as it can draw users to the platform, as they are able to customize the application to
their desires.
On thct that uses the REST API h you type a color such as green or yellow, the board
resets, and creates a new board with the color that you have typed. This method implements the
REST API method because the text box interacts with the code. Whenever a color is typed in the
text box and pressi
Download