舉報

會員
Python API Development Fundamentals
最新章節:
10: Deployment
Pythonisaflexiblelanguagethatcanbeusedformuchmorethanjustscriptdevelopment.ByknowingthePythonRESTfulAPIswork,youcanbuildapowerfulbackendforwebapplicationsandmobileapplicationsusingPython.You'lltakeyourfirststepsbybuildingasimpleAPIandlearninghowthefrontendwebinterfacecancommunicatewiththebackend.You'llalsolearnhowtoserializeanddeserializeobjectsusingthemarshmallowlibrary.Then,you'lllearnhowtoauthenticateandauthorizeusersusingFlask-JWT.You'llalsolearnhowtoenhanceyourAPIsbyaddingusefulfeatures,suchasemail,imageupload,searching,andpagination.You'llwrapupthewholebookbydeployingyourAPIstothecloud.Bytheendofthisbook,you'llhavetheconfidenceandskilltoleveragethepowerofRESTfulAPIsandPythontobuildefficientwebapplications.
目錄(113章)
倒序
- 封面
- 版權頁
- Preface
- About
- About the Book
- 1. Your First Step
- Learning Objectives
- Introduction
- Understanding API
- RESTful API
- HTTP Protocol
- HTTP Methods and CRUD
- The JSON Format
- HTTP Status Codes
- Open API
- The Flask Web Framework
- Building a Simple Recipe Management Application
- Using curl or httpie to Test All the Endpoints
- Postman
- Summary
- 2. Starting to Build Our Project
- Learning Objectives
- Introduction
- What is Flask-RESTful?
- Virtual Environment
- Creating a Recipe Model
- Configuring Endpoints
- Making HTTP Requests to the Flask API using curl and httpie
- Summary
- 3. Manipulating a Database with SQLAlchemy
- Learning Objectives
- Introduction
- Databases
- SQL
- ORM
- Defining Our Models
- Password Hashing
- Summary
- 4. Authentication Services and Security with JWT
- Learning Objectives
- Introduction
- JWT
- Flask-JWT-Extended
- Designing the Methods in the Recipe Model
- Refresh Tokens
- The User Logout Mechanism
- Summary
- 5. Object Serialization with marshmallow
- Learning Objectives
- Introduction
- Serialization versus Deserialization
- marshmallow
- A Simple Schema
- UserSchema Design
- RecipeSchema Design
- The PATCH Method
- Summary
- 6. Email Confirmation
- Learning Objectives
- Introduction
- Mailgun
- User Account Activation Workflow
- HTML Format Email
- Summary
- 7. Working with Images
- Learning Objectives
- Introduction
- Building the User Avatar Function
- Flask-Uploads
- Image Resizing and Compression
- Introduction to Pillow
- Summary
- 8. Pagination Searching and Ordering
- Learning Objectives
- Introduction
- Pagination
- Paginated APIs
- Recipe Searching
- Sorting and Ordering
- Summary
- 9. Building More Features
- Learning Objectives
- Introduction
- Caching
- Flask-Caching
- API Rate Limiting
- Flask-Limiter
- Summary
- 10. Deployment
- Learning Objectives
- Introduction
- Deployment
- Comparing SaaS PaaS and IaaS
- The Heroku Platform
- Configuration Handling in Smilecook
- Heroku Application
- Heroku Add-Ons
- Setting Up Environment Variables for the Heroku App
- Setting Up Variables in Postman
- Setting up the Front-end Interface to Work with the Smilecook API
- Summary
- Appendix
- About
- 1: Your First Step
- 2: Starting to Build Our Project
- 3: Manipulating a Database with SQLAlchemy
- 4: Authenticated Services and Security with JWTs
- 5: Validating APIs Using marshmallow
- 6: Email Confirmations
- 7: Working with Images
- 8: Pagination Searching and Ordering
- 9: Building More Features
- 10: Deployment 更新時間:2021-06-11 12:56:47
推薦閱讀
- 數據通信網絡實踐:基礎知識與交換機技術
- Modern JavaScript Web Development Cookbook
- RCNP實驗指南:構建高級的路由互聯網絡(BARI)
- 物聯網智慧安監技術
- JBoss EAP6 High Availability
- 物聯網+BIM:構建數字孿生的未來
- HCNA網絡技術
- 物聯網時代
- 正在爆發的互聯網革命
- 大話社交網絡
- 數字調制解調技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- 通信十年:擁抱互聯網
- 數據血緣分析原理與實踐
- 算力網絡:云網融合2.0時代的網絡架構與關鍵技術
- 互聯網戰略變革與未來
- CDN技術詳解
- VMware vSphere 5.0虛擬化架構實戰指南
- MobX Quick Start Guide
- Citrix XenDesktop 5.6 Cookbook
- 網絡組建與運維
- 創新力:中國網絡創新研究
- TypeScript 3.0 Quick Start Guide
- Django Essentials
- 增長密碼:大型網站百萬流量運營之道
- Hands-On Full:Stack Development with Swift
- HTML、CSS和JavaScript入門經典
- Learning iBeacon
- 物聯網與嵌入式系統開發
- Hands-On Server-Side Web Development with Swift
- MPLS技術構架