- Building RESTful Python Web Services
- Gastón C. Hillar
- 138字
- 2021-08-20 10:24:27
Summary
In this chapter, we took advantage of the various features included in Django REST Framework that allowed us to eliminate duplicate code and build our API reusing generalized behaviors. We used model serializers, wrappers, default parsing, and rendering options, class based views, and generic classes.
We used the browsable API feature and we designed a RESTful API that interacted with a complex PostgreSQL database. We declared relationships with the models, managed serialization and deserialization with relationships, and hyperlinks. Finally, we created and retrieved related resources and we understood how things work under the hoods.
Now that we have built a complex API with Django REST Framework, we will use additional abstractions included in the framework to improve our API, we will add security and authentication, which is what we are going to discuss in the next chapter.
- Boost.Asio C++ Network Programming(Second Edition)
- 程序員面試算法寶典
- C和C++安全編碼(原書第2版)
- R語言數(shù)據(jù)可視化之美:專業(yè)圖表繪制指南
- Java:Data Science Made Easy
- 云計算通俗講義(第3版)
- Java EE核心技術(shù)與應(yīng)用
- Android系統(tǒng)原理及開發(fā)要點詳解
- Mastering Data Mining with Python:Find patterns hidden in your data
- R數(shù)據(jù)科學(xué)實戰(zhàn):工具詳解與案例分析
- Python:Deeper Insights into Machine Learning
- Orchestrating Docker
- NGUI for Unity
- C Primer Plus(第6版)中文版【最新修訂版】
- Building Microservices with Go