- Learning Flask Framework
- Matt Copperwaite Charles Leifer
- 188字
- 2021-07-30 10:18:34
Summary
By now you should be familiar with the process of setting up a new virtualenv for your Python project, be able to install Flask, and have created a simple app. In this chapter,we discussed how to create virtualenvs for your projects and install third-party packages using pip
. We also learnt how to write a basic Flask app, route requests to views, and to read request arguments. We familiarized ourselves with the interactive debugger and with how the Python interpreter processes the import statements.
If you were already familiar with most of the subject-matter in this chapter, do not worry; things will soon get more challenging.
In the next chapter, you will discover how to work with a relational database to store and retrieve blog entries. We'll add a new module to our project for storing our database-specific code and create some models to represent blog entries and tags. Once we are able to store the entries, we will learn how to read them back in a variety of ways through filtering, sorting, and aggregation. For more information, you can refer to the following links:
- 流量的秘密:Google Analytics網(wǎng)站分析與優(yōu)化技巧(第2版)
- GitLab Cookbook
- Angular UI Development with PrimeNG
- jQuery EasyUI網(wǎng)站開發(fā)實(shí)戰(zhàn)
- 軟件測(cè)試項(xiàng)目實(shí)戰(zhàn)之性能測(cè)試篇
- Practical DevOps
- 深度強(qiáng)化學(xué)習(xí)算法與實(shí)踐:基于PyTorch的實(shí)現(xiàn)
- 精通網(wǎng)絡(luò)視頻核心開發(fā)技術(shù)
- Keras深度學(xué)習(xí)實(shí)戰(zhàn)
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- Learning Node.js for .NET Developers
- Practical Predictive Analytics
- INSTANT Apache Hive Essentials How-to
- Java高手是怎樣煉成的:原理、方法與實(shí)踐
- Developing Java Applications with Spring and Spring Boot