- Django RESTful Web Services
- Gaston C. Hillar
- 139字
- 2021-06-30 19:30:59
Summary
In this chapter, we designed a RESTful Web Service to interact with a simple SQLite database and perform CRUD operations with toys. We defined the requirements for our web service and we understood the tasks performed by each HTTP method and the different scopes.
We created a model to represent and persist toys, and we executed migrations in Django to create the required tables in an SQLite database. We analyzed the tables that Django generated. We learned to manage serialization of toy instances into JSON representations with Django REST framework and the reverse process.
Now that we understand models, migrations, serialization, and deserialization with Django and Django REST framework, we will create Django views combined with serializer classes and start making HTTP requests to our web service. We will cover these topics in Chapter 3, Creating API Views.
- Java面向對象思想與程序設計
- Unity Virtual Reality Projects
- Unity 5.x By Example
- Unreal Engine 4 Shaders and Effects Cookbook
- Java程序設計入門
- Learning Concurrent Programming in Scala
- SQL 經典實例
- 遠方:兩位持續創業者的點滴思考
- Xamarin Cross-Platform Development Cookbook
- SQL Server實例教程(2008版)
- Python Linux系統管理與自動化運維
- Bitcoin Essentials
- C語言程序設計實驗指導與習題精解
- VMware vRealize Orchestrator Essentials
- C語言進階:重點、難點與疑點解析