官术网_书友最值得收藏!

  • Flask By Example
  • Gareth Dwyer
  • 244字
  • 2021-07-09 20:06:52

Chapter 1. Hello, World!

And hello, reader! Let's get started with building some Flask applications. Flask is minimalist enough to allow you choice and flexibility; unlike in larger frameworks, you choose what you want to do and then manipulate Flask to do your bidding, and it is complete enough to work right out of the box.

We'll walk together through the development of three web applications; the first one is straightforward and will allow you to cut your teeth on Flask and get used to the new technologies and terminology while building a nontrivial web application; the second will get you started with building a web application that makes use of a traditional SQL database; and the final, which has the most features, will make use of a NoSQL database and a frontend framework to create a useful and good-looking web application.

In this chapter, we'll take a brief look at what Flask is and, perhaps more importantly, what it isn't. We'll move on to setting up our basic development environment as well as a web server, and we'll install a Python package manager as well as Flask itself. By the end of the chapter, we'll have the outlines of our first app, and, as dictated by age-old tradition, we'll use our new skills to display the text "Hello, World!".

In brief, we will cover the following topics:

  • Introducing Flask
  • Creating our development environment
  • Writing "Hello, World!"
  • Deploying our application to production
主站蜘蛛池模板: 利津县| 凌源市| 抚顺县| 平乐县| 万源市| 曲阳县| 吕梁市| 昭通市| 苏尼特左旗| 惠东县| 高要市| 凌海市| 满城县| 巴南区| 遵义县| 南华县| 辉南县| 阳江市| 正定县| 宁都县| 杭锦旗| 贵州省| 扶风县| 叶城县| 澄城县| 麟游县| 邵阳市| 西青区| 越西县| 丽水市| 长岭县| 宝山区| 大名县| 秭归县| 平山县| 霞浦县| 哈巴河县| 平远县| 大悟县| 积石山| 长宁区|