Django RESTFul Web Services
Gaston C. Hillar
- 出版商: Packt Publishing
- 出版日期: 2018-01-25
- 售價: $1,790
- 貴賓價: 9.5 折 $1,701
- 語言: 英文
- 頁數: 326
- 裝訂: Paperback
- ISBN: 1788833929
- ISBN-13: 9781788833929
-
相關分類:
Django
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$2,600$2,470 -
$454Python 高效開發實戰:Django、Tornado、Flask、Twisted
-
$207區塊鏈技術進階與實戰
-
$266深度學習:主流框架和編程實戰
-
$990Django Design Patterns and Best Practices Second Edition
-
$500$390 -
$311從零開始學 PYTHON 數據分析 (視頻教學版)
-
$417Django 項目實例精解, 2/e
-
$580$452 -
$750Django 3 Web Development Cookbook, 4/e (Paperback)
-
$680$510 -
$505Prometheus 監控技術與實踐
-
$880$695 -
$414$393 -
$512Django 實戰 Python Web 典型模塊與項目開發
-
$534$507 -
$454Go 微服務實戰
-
$479$455 -
$880$695 -
$780$608 -
$2,100$1,995 -
$680$340 -
$862Django4 實例精解
-
$680$537 -
$658Django 5 Web 應用開發實戰
相關主題
商品描述
Design, build and test RESTful web services with the Django framework and Python
Key Features
- Create efficient real-world RESTful web services with the latest Django framework
- Authenticate, secure, and integrate third-party packages efficiently in your Web Services
- Leverage the power of Python for faster Web Service development
Book Description
Django is a Python web framework that makes the web development process very easy. It reduces the amount of trivial code, which simplifies the creation of web applications and results in faster development. It is very powerful and a great choice for creating RESTful web services.
If you are a Python developer and want to efficiently create RESTful web services with Django for your apps, then this is the right book for you.
The book starts off by showing you how to install and configure the environment, required software, and tools to create RESTful web services with Django and the Django REST framework. We then move on to working with advanced serialization and migrations to interact with SQLite and non-SQL data sources. We will use the features included in the Django REST framework to improve our simple web service.
Further, we will create API views to process diverse HTTP requests on objects, go through relationships and hyperlinked API management, and then discover the necessary steps to include security and permissions related to data models and APIs. We will also apply throttling rules and run tests to check that versioning works as expected. Next we will run automated tests to improve code coverage.
By the end of the book, you will be able to build RESTful web services with Django.
What you will learn
- The best way to build a RESTful Web Service or API with Django and the Django REST Framework
- Develop complex RESTful APIs from scratch with Django and the Django REST Framework
- Work with either SQL or NoSQL data sources
- Design RESTful Web Services based on application requirements
- Use third-party packages and extensions to perform common tasks
- Create automated tests for RESTful web services
- Debug, test, and profile RESTful web services with Django and the Django REST Framework
Who This Book Is For
This book is for Python developers who want to create RESTful web services with Django; you need to have a basic working knowledge of Django but no previous experience with RESTful web services is required.
Table of Contents
- Installing the required software and tools
- Working with models, migrations, serialization and deserialization
- Creating API Views
- Using class-based views
- Understanding and customizing the browsable API feature
- Working with advanced relationships and serialization
- Using constraints, filtering, searching, ordering and pagination
- Securing the API with authentication and permissions
- Applying throttling rules and versioning management
- Automating tests
商品描述(中文翻譯)
設計、構建並測試使用Django框架和Python的RESTful網絡服務
主要特點
- 使用最新的Django框架創建高效的現實世界RESTful網絡服務
- 在Web服務中高效地進行身份驗證、安全性和集成第三方套件
- 利用Python的優勢加快Web服務的開發速度
書籍描述
Django是一個使網絡開發過程變得非常簡單的Python網絡框架。它減少了繁瑣的代碼量,簡化了Web應用程序的創建過程,從而實現更快的開發速度。它非常強大,是創建RESTful網絡服務的絕佳選擇。
如果您是一名Python開發人員,並且希望使用Django為應用程序高效地創建RESTful網絡服務,那麼這本書就是適合您的。
本書首先向您展示如何安裝和配置環境、所需軟件和工具,以使用Django和Django REST框架創建RESTful網絡服務。然後,我們將使用高級序列化和遷移來與SQLite和非SQL數據源進行交互。我們將使用Django REST框架中的功能來改進我們的簡單Web服務。
此外,我們將創建API視圖來處理對象上的各種HTTP請求,通過關係和超鏈接API管理,然後發現包含與數據模型和API相關的安全性和權限的必要步驟。我們還將應用節流規則並運行測試以檢查版本控制是否按預期工作。接下來,我們將運行自動化測試以提高代碼覆蓋率。
通過閱讀本書,您將能夠使用Django構建RESTful網絡服務。
您將學到什麼
- 使用Django和Django REST框架構建RESTful網絡服務或API的最佳方法
- 使用Django和Django REST框架從頭開始開發複雜的RESTful API
- 使用SQL或NoSQL數據源進行工作
- 根據應用程序要求設計RESTful網絡服務
- 使用第三方套件和擴展執行常見任務
- 為RESTful網絡服務創建自動化測試
- 使用Django和Django REST框架進行調試、測試和性能分析RESTful網絡服務
本書適合對象
本書適合希望使用Django創建RESTful網絡服務的Python開發人員;您需要對Django有基本的工作知識,但不需要有RESTful網絡服務的先前經驗。
目錄
1. 安裝所需軟件和工具
2. 使用模型、遷移、序列化和反序列化進行工作
3. 創建API視圖
4. 使用基於類的視圖
5. 理解並自定義可瀏覽的API功能
6. 使用高級關係和序列化進行工作
7. 使用約束、過濾、搜索、排序和分頁
8. 使用身份驗證和權限保護API
9. 應用節流規則和版本管理
10. 自動化測試