- Flask By Example
- Gareth Dwyer
- 171字
- 2021-07-09 20:06:52
Introducing Flask
Flask is a micro framework for Python web development. A framework, in the simplest terms, is a library or collection of libraries that aims to solve a part of a generic problem instead of a complete specific one. When building web applications, there are some problems that will always need to be solved, such as routing from URLs to resources, inserting dynamic data into HTML, and interacting with an end user.
Flask is a micro framework because it implements only core functionality (including routing) but leaves more advanced functionality (including authentication and database ORMs) to extensions. The result of this is less initial setup for the first-time user and more choice and flexibility for the experienced user. This is in contrast with "fuller" frameworks, such as Django, which dictate their own ORM and authentication technologies.
As we'll discuss, our Hello World application in Flask can be written in only seven lines of code, with the entire application consisting of a single file. Does that sound good? Let's get going!
- SQL Server 從入門到項目實踐(超值版)
- 編程的修煉
- 編程珠璣(續(xù))
- 實用防銹油配方與制備200例
- Oracle Exadata專家手冊
- PhoneGap:Beginner's Guide(Third Edition)
- 編程菜鳥學(xué)Python數(shù)據(jù)分析
- 新一代SDN:VMware NSX 網(wǎng)絡(luò)原理與實踐
- ServiceNow:Building Powerful Workflows
- 智能搜索和推薦系統(tǒng):原理、算法與應(yīng)用
- 零基礎(chǔ)學(xué)Kotlin之Android項目開發(fā)實戰(zhàn)
- Java程序設(shè)計教程
- C語言程序設(shè)計
- Learning Unreal Engine Game Development
- AI自動化測試:技術(shù)原理、平臺搭建與工程實踐