Building RESTful Python Web Services
Gaston C. Hillar
- 出版商: Packt Publishing
- 出版日期: 2016-10-27
- 售價: $2,150
- 貴賓價: 9.5 折 $2,043
- 語言: 英文
- 頁數: 335
- 裝訂: Paperback
- ISBN: 1786462257
- ISBN-13: 9781786462251
-
相關分類:
Python、程式語言
-
其他版本:
Hands-On RESTful Python Web Services: Develop RESTful web services or APIs with modern Python 3.7, 2nd Edition
買這商品的人也買了...
-
$880$695 -
$780$616 -
$980$774 -
$274RESTful API 開發實戰 : 使用 REST JSON XML 和 JAX-RS 構建微服務 大數據和 Web 服務應用 (Pro RESTful APIs: Design, Build and Integrate with REST, JSON, XML and JAX-RS)
-
$580$493 -
$480$379 -
$505Python Flask Web 開發入門與項目實戰
-
$2,650$2,518 -
$534$507
相關主題
商品描述
Create web services that are lightweight, maintainable, scalable, and secure using the best tools and techniques designed for Python
About This Book
- Develop RESTful Web Services using the most popular frameworks in Python
- Configure and fine-tune your APIs using the best tools and techniques available
- This practical guide will help you to implement complete REST-based APIs from scratch
Who This Book Is For
This book is for web developers who have working knowledge of Python and would like to build amazing web services by taking advantage of the various frameworks of Python. You should have some knowledge of RESTful APIs.
What You Will Learn
- Develop complex RESTful APIs from scratch with Python combined with and without data sources
- Choose the most appropriate (micro) framework based on the specific requirements of a RESTful API / web service
- Debug, test, and profile RESTful APIs with each of the frameworks
- Develop a complex RESTful API that interacts with a PostgreSQL database
- Add authentication and permissions to a RESTful API built in each of the frameworks
- Map URL patterns to request handlers and check how the API works
- Profile an existing API and refactor it to take advantage of asynchronous code
In Detail
Python is the language of choice for millions of developers worldwide, due to its gentle learning curve as well as its vast applications in day-to-day programming. It serves the purpose of building great web services in the RESTful architecture. This book will show you the best tools you can use to build your own web services.
Learn how to develop RESTful APIs using the popular Python frameworks and all the necessary stacks with Python, Django, Flask, and Tornado, combined with related libraries and tools. We will dive deep into each of these frameworks to build various web services, and will provide use cases and best practices on when to use a particular framework to get the best results.
We will show you everything required to successfully develop RESTful APIs with the four frameworks such as request handling, URL mapping, serialization, validation, authentication, authorization, versioning, ORMs, databases, custom code for models and views, and asynchronous callbacks. At the end of each framework, we will add authentication and security to the RESTful APIs and prepare tests for it.
By the end of the book, you will have a deep understanding of the stacks needed to build RESTful web services.
Style and approach
The book takes a straightforward approach, not spending time getting you started with RESTful APIs and web services. It will give you the best use cases for each framework to build great web services in Python.
商品描述(中文翻譯)
創建輕量級、易於維護、可擴展和安全的網絡服務,使用最佳的Python工具和技術。
關於本書
- 使用Python中最受歡迎的框架開發RESTful Web服務。
- 使用最佳的工具和技術配置和微調您的API。
- 這本實用指南將幫助您從頭開始實現完整的基於REST的API。
本書適合對Python有工作知識並希望通過利用Python的各種框架來構建令人驚嘆的Web服務的Web開發人員。您應該對RESTful API有一些了解。
您將學到什麼
- 使用Python從頭開始開發複雜的RESTful API,包括有和無數據源。
- 根據RESTful API / Web服務的具體要求選擇最合適的(微)框架。
- 使用每個框架調試、測試和分析RESTful API。
- 開發一個與PostgreSQL數據庫交互的複雜RESTful API。
- 在每個框架中為構建的RESTful API添加身份驗證和權限。
- 將URL模式映射到請求處理程序並檢查API的工作方式。
- 對現有API進行分析並重構以利用異步代碼的優勢。
詳細內容
由於其易於學習的曲線以及在日常編程中的廣泛應用,Python是全球數百萬開發人員的首選語言。它適用於在RESTful架構中構建出色的Web服務。本書將向您展示可以用來構建自己的Web服務的最佳工具。
學習如何使用流行的Python框架和所有必要的堆棧(Python、Django、Flask和Tornado)以及相關的庫和工具來開發RESTful API。我們將深入研究每個框架,構建各種Web服務,並提供使用案例和最佳實踐,以便在何時使用特定框架以獲得最佳結果。
我們將向您展示使用這四個框架成功開發RESTful API所需的一切,例如請求處理、URL映射、序列化、驗證、身份驗證、授權、版本控制、ORM、數據庫、模型和視圖的自定義代碼,以及異步回調。在每個框架的結尾,我們將為RESTful API添加身份驗證和安全性,並為其準備測試。
通過閱讀本書,您將對構建RESTful Web服務所需的堆棧有深入的了解。
風格和方法
本書採用直接的方法,不浪費時間讓您開始使用RESTful API和Web服務。它將為您提供每個框架的最佳使用案例,以在Python中構建出色的Web服務。