In this video, we are going to take a look at an advanced topic of REST, Hypermedia, and HATEOAS; these decouple the client and server application architecture.
- Hi and welcome to the third video of section three.…In this video, we will cover one of the advanced topics…of RESTful APIs, Hypermedia and HATEOAS.…We made really good progress in the previous videos,…so now we should start to cover more advanced topics…of building RESTful API.…In this video, we are going to take a look…at Hypermedia and HATEOAS.…We will review the new JSON-LD message protocol,…and we will go through the source code…of the RESTful API where we implement HATEOAS.…HATEOAS stands for Hypermedia as the Engine…of the Application State.…
Since XML is a message format with schema,…usually developers use XML as a message format…for adding HATEOAS features to their RESTful APIs.…HATEOAS helps to decouples the architecture…of the client and the server applications.…Because the message format exchange between…the client and the server contains the operations…and features that the API supports.…In the example seen on the slide, we can see…an XML message which has three fields:…ID, first name, and last name.…
Regardless of platform, you will need to build APIs to serve data between different client applications and endpoints. Good APIs are a necessity for web and mobile projects, especially with the modern, mobile-first approach to development. This course delivers the fundamental knowledge required to enable highly connected interactions between applications via RESTful web APIs. Follow along with Gergo Bogdan and learn how to build up and structure an effective web API that can be used by any client application accessing it over HTTP, using Flask, the Python microframework.
Find out how to implement CRUD operations using SQLAlchemy and MySQL as the data store. Get an understanding of how REST works relative to APIs, and learn how to test APIs written in Python with the support of Flask. Explore token-based authentication and find out how to store passwords securely in your database. Along the way, Gergo introduces best practices and design guidelines when building large applications.
- Setting up Flask
- Using Flask templates and routing
- Implementing CRUD operations
- Implementing pagination
- Configuring RESTful authentication
- HTTP caching
- Securing web APIs
- Testing the application