Django RESTFul Web Services
暫譯: Django RESTful 網路服務
Gaston C. Hillar
- 出版商: Packt Publishing
- 出版日期: 2018-01-25
- 售價: $1,840
- 貴賓價: 9.5 折 $1,748
- 語言: 英文
- 頁數: 326
- 裝訂: Paperback
- ISBN: 1788833929
- ISBN-13: 9781788833929
-
相關分類:
Django
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$2,600$2,470 -
$454Python 高效開發實戰:Django、Tornado、Flask、Twisted
-
$352區塊鏈技術進階與實戰
-
$266深度學習:主流框架和編程實戰
-
$990Django Design Patterns and Best Practices Second Edition
-
$500$390 -
$311從零開始學 PYTHON 數據分析 (視頻教學版)
-
$417Django 項目實例精解, 2/e
-
$1,500$1,425 -
$880$695 -
$534$507 -
$414$393 -
$512Django 實戰 Python Web 典型模塊與項目開發
-
$534$507 -
$454Go 微服務實戰
-
$479$455 -
$880$695 -
$780$608 -
$2,100$1,995 -
$390$371 -
$680$530 -
$1,014$963 -
$680$537 -
$774$735 -
$650$507
商品描述
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 網路服務
- 在您的網路服務中有效地進行身份驗證、安全性和整合第三方套件
- 利用 Python 的強大功能加速網路服務開發
**書籍描述**
Django 是一個 Python 網路框架,使網路開發過程變得非常簡單。它減少了瑣碎的程式碼量,簡化了網路應用程式的創建,並導致更快的開發速度。它非常強大,是創建 RESTful 網路服務的絕佳選擇。
如果您是 Python 開發者,並希望有效地使用 Django 為您的應用程式創建 RESTful 網路服務,那麼這本書就是為您準備的。
本書首先展示如何安裝和配置環境、所需的軟體和工具,以使用 Django 和 Django REST 框架創建 RESTful 網路服務。接著,我們將進一步處理高級序列化和遷移,以與 SQLite 和非 SQL 數據源互動。我們將利用 Django REST 框架中的功能來改善我們的簡單網路服務。
此外,我們將創建 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. 自動化測試