
FastAPI已涉足Python网络领域。实际上,2020年PSF开发人员调查显示,FastAPI已从不受欢迎的应用程序发展成为Python开发人员最受欢迎和增长最快的第三大框架。人们发现FastAPI对其构建API的工具链感到非常兴奋。但是他们想知道是否需要在Flask或Django中为其网站的HTML端构建并行应用程序。
本课程在这里向您展示您不需要第二个面向浏览器的框架:FastAPI是用于HTML内容和静态内容的出色框架。这就是本课程的全部内容。您将学习使用FastAPI构建完整的Web应用程序,这与使用Flask或Django可以完成的工作相当。它是一个了不起的框架,它具有比那些更旧,更成熟的框架更多的功能。
FastAPI是一个真正现代的框架,使您可以像使用Flask一样使用动态HTML模板编写Web应用程序。在整个课程中,您将看到如何使用FastAPI的各种功能以及几个外部包来创建出色的Python Web应用程序。
作为课程的一部分,我们在FastAPI中很好地创建了pypi.org的几乎完整的克隆。我们将学习如何使用SQLAlchemy,HTML模板,静态文件,甚至将我们的应用程序部署到云中的Linux VM。
MP4 | Video: h264, 2560×1440 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + srt | Duration: 117 Lessons (7h 12m) | Size: 3.7 GB
Course Summary
FastAPI has burst on to the Python web scene. In fact, the 2020 PSF developer survey shows FastAPI going from off the radar to the 3rd most popular and fastest growing framework for Python developers. People discovering FastAPI are thrilled with it’s toolchain for building APIs. But they wonder if they will need to build a parallel app in Flask or Django for the HTML side of their site.
This course is here to show you that you do not need a second browser-oriented framework: FastAPI is a fantastic framework for HTML-oriented content and static content. That’s what this course is all about. You’ll learn to build full web apps with FastAPI, equivalent to what you can do with Flask or Django. And it’s an amazing framework with even more features than those older, more established frameworks.
What students are saying
I just finished the amazing FastAPI course by Michael Kennedy. It’s very complete and well explained. Thank you!
— Martin
Source code and course GitHub repository
https://github.com/talkpython/web-applications-with-fastapi-course
What’s this course about and how is it different?
There are not many courses out focusing on the FastAPI web framework. But even those that are around focus almost entirely on the API side of FastAPI. While that is useful and interesting, you’ll need to answer the question of whether you need another web framework such as Flask or Django for the web browsers. The answer is no.
FastAPI is a truly modern framework that allows you to write web apps with dynamic HTML templates just as much as Flask. Throughout this course, you’ll see how to use the various features of FastAPI along with a couple external packages to create wonderful Python web apps.
As part of the course, we well create a nearly complete clone of pypi.org in FastAPI. We’ll learn how to use SQLAlchemy, HTML templates, static files, and even deploy our app to a Linux VM in the cloud.
What topics are covered
This course covers everything you need to know to develop, run, and deploy full web apps on top of FastAPI. Just some of the topics include:
Building a basic FastAPI application
Using server-side dynamic HTML templates such as Jinja2 and Chameleon
Centralizing look & feel as well as structural items with a layout HTML template
Serving static files from FastAPI (such as images and CSS files)
Using the view model design pattern to help with data exchange in FastAPI
Create HTML forms accepting user input and doing validation
Storing data in the SQLAlchemy ORM
Leveraging SQLAlchemy’s new async/await capable API for scaling out
Deploy your FastAPI app to a Linux cloud VM
Who is this course for?
This course is for anyone who wants to use FastAPI as their primary web framework. You’ll need basic Python programming experience and some familiarity with HTML and CSS.

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/5876.html