舉報

會員
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
推薦閱讀
- 通信網絡基礎與設備
- Web安全防護指南:基礎篇
- MERN Quick Start Guide
- 物聯網(IoT)基礎:網絡技術+協議+用例
- React:Cross-Platform Application Development with React Native
- 計算機網絡與通信(第2版)
- 計算機網絡工程實用教程(第2版)
- 物聯網技術與應用
- 數字調制解調技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- Master Apache JMeter:From Load Testing to DevOps
- 6G無線網絡空口關鍵技術
- Learning Storm
- 現代通信系統(第5版)
- 計算機通信網絡安全
- 數字王國里的虛擬人:技術、商業與法律解讀
- 從物聯到萬聯:Node.js與樹莓派萬維物聯網構建實戰
- 物聯網傳感器技術與應用
- 企業網絡組建與維護項目式教程
- 網絡攻防技術與實踐
- 局域網組建與維護項目教程
- 5G物聯網端管云實戰
- 人人時代:無組織的組織力量
- 增長密碼:大型網站百萬流量運營之道
- 順”信”而為:信息化思維與領導力
- 軟件定義世界:云計算中心與智能運維的軟件定義解析
- 5G為人工智能與工業互聯網賦能
- Progressive Web Application Development by Example
- 網絡治理:中國經驗和路徑選擇
- Real-Time 3D Graphics with WebGL 2
- 物聯網感知技術與產業