|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/mastering-flask/
课程评论:没有评论
课程名称:掌握Flask 课程概述: Flask是一个小型且强大的Python网页开发框架。尽管被称为微框架,但它并不缺乏功能,旨在保持核心的简单性和可扩展性,使开发者能够快速构建应用程序。该课程将深入探讨利用Flask及其扩展生态系统创建网页应用的过程。我们将从零开始构建一个简单的IMDB克隆网站,首先创建基础代码,并使用Virtualenv创建一个隔离的开发环境。接着,学习如何使用SQLAlchemy与数据库进行交互,然后通过WTForms将数据展示给最终用户。课程将重构和模块化代码,使用蓝图(Blueprints)来组织项目。网站的安全性将通过Flask-Login和Flask-Principal扩展来加强。随后,我们还将创建应用的RESTful API,并为其增加管理功能,使用各种Flask扩展进行扩展。我们将结合Celery来实现任务的异步处理。课程还将指导您进行应用的单元测试,包括对SQLAlchemy模型的测试、URL的测试,以及未测试代码的覆盖率分析,从而增强应用的安全性。最后,我们将探索多种可用的部署选项,将Flask应用部署上线。通过本课程,您将获得深入理解Flask及其在复杂网页应用中的强大可扩展性。 讲师简介: 亚历山大·普季林(Alexander Putilin)是专业程序员,在Python和C++等语言方面拥有多年的经验。他曾在俄罗斯大型科技公司Yandex工作多年,负责搜索引擎部门的多个项目。杰克·斯托弗(Jack Stouffer)也是一位程序员,拥有多年设计网页应用的经验,三年前开始在所有项目中使用Flask,目前在美国密歇根州的Apollo America工作,使用Python、Flask和JavaScript编写内部业务工具和软件。他支持开源技术,并在GitHub发布了符合最佳实践的Flask示例,成为该网站上最受欢迎的Flask资源之一,同时也作为Flask框架食谱的审稿人进行过贡献。
Flask is a small and powerful web development framework for Python. It is called a micro-framework as it aims to keep the core simple but extensible. Even though it's called a micro-framework, it is no way lacking in functionality, and allows you to develop applications very quickly, primarily through the development of a small codebase. This course will take you deep into the world of using Flask and its ecosystem of extensions to create web applications. We'll walk through creating a simple IMDB clone from scratch. We'll start by creating the boilerplate code and use Virtualenv to create an isolated development environment. You'll then learn to work with the database using SQLAlchemy. After that, we'll display our data to the end user using WTForms. We'll restructure and modularize our code using Blueprints. Our site will be secured using the extensions Flask-Login and Flask-Principal. After that, we'll create a RESTful API of our app. We'll then give admin functionality and extend our app using various flask extensions. We'll incorporate Celery to make our tasks asynchronous. We'll walk you through performing unit test of our app, and then test our SQLAlchemy models. We'll also test the URLs and finally, we'll test how much of our code isn't being tested. All these tests will make our app secure. Finally, we'll deploy our Flask app to various options that are available. This course will give you an in-depth understanding of how to use Flask and its strong extensibility for more complex web applications. About The Author Alexander Putilin is a professional programmer and has several years of experience in languages such as Python and C++. He has worked for a lot of years in Yandex, a Russian multinational technology company specializing in Internet-related services and products. He worked in the Search Engine department on various parts of Yandex's search engine. Jack Stouffer is a programmer who has several years of experience in designing web applications. He switched to Flask three years ago for all his projects. He currently works for Apollo America in Auburn Hills, Michigan, and writes internal business tools and software using Python, Flask, and JavaScript. Jack is a believer and supporter of open source technology. When he released his Flask examples with the recommended best practices on GitHub, it became one of the most popular Flask repositories on the site. Jack has also worked as a reviewer for Flask Framework Cookbook, Packt Publishing.