感谢您发送咨询!我们的团队成员将很快与您联系。
感谢您发送预订!我们的团队成员将很快与您联系。
课程大纲
介绍
Flask 和 Flask-RESTful 框架
- 模板、路由、表单和身份验证
- 代码扩展的结构
- Database 管理
API 的基础知识及其功能
- Scalar 类型
- Web 架构模式:组合模式、代理模式和门面模式
REST概览
- Get 选项
- Pull 选项
- Post 选项
- Delete 选项
准备开发环境
- 安装 Postman
- 安装 Python
- 安装和配置 Flask
- 安装 Flask-RESTful
- 设置 URL 路由
使用 Flask-RESTful 的 REST API
- 设计和测试 API
- 创建资源
- 创建和存储项目
- 重构代码
- 实现 HTTP 动词
- 使用 reqparse
- 去除重复
烧瓶-SQL炼金术
- 设置 SQLAlchemy
- 创建模型
- 使用 Postman 进行测试
- 定义键
- 使用 SQLAlchemy 实现模型
- 使用 SQLAlchemy 自动化
使用 REST API 实现安全性
- 设置 DNS 记录
- 创建 SSL 证书
- 添加和使用 JWT 以增强安全性
云部署
- 连接到版本控制系统
- 添加密钥对
- 创建伺服器实例
- 实现部署脚本
总结和结论
要求
- 理解 Flask
- Python 程式设计经验
观众
- 后端开发者
14 小时
客户评论 (1)
It was a though course as we had to cover a lot in a short time frame. Our trainer knew a lot about the subject and delivered the content to address our requirements. It was lots of content to learn but our trainer was helpful and encouraging. He answered all our questions with good detail and we feel that we learned a lot. Exercises were well prepared and tasks were tailored accordingly to our needs. I enjoyed this course