Flask: Building Python Web Services
暫譯: Flask:構建 Python 網路服務

Gareth Dwyer, Shalabh Aggarwal, Jack Stouffer

  • 出版商: Packt Publishing
  • 出版日期: 2017-03-16
  • 售價: $3,810
  • 貴賓價: 9.5$3,620
  • 語言: 英文
  • 頁數: 770
  • 裝訂: Paperback
  • ISBN: 1787288226
  • ISBN-13: 9781787288225
  • 相關分類: FlaskPython程式語言
  • 已過版

商品描述

Unleash the full potential of the Flask web framework by creating small to large and powerful web applications

About This Book

  • Create your own world-class applications and master the art of Flask by unravelling its enigma through this journey
  • Packed with recipes containing lots of sample applications to help you understand the intricacies of Flask web programming
  • Work with scalable Flask application structures to create complex web apps

Who This Book Is For

This learning path is ideal developers who know the basics of Python and want to learn how to use the Flask framework to build powerful web solutions in Python.

What You Will Learn

  • Build three web applications from the ground up using the powerful Python micro framework, Flask.
  • Extend your applications to build advanced functionality, such as a user account control system using Flask-Login
  • Learn about web application security and defend against common attacks, such as SQL injection and XSS
  • Integrate with technologies like Redis, Sentry, MongoDB and so on
  • Build applications with integrations to most of the login mechanisms available
  • Don't just stop at development. Learn about deployment and post-deployment
  • Use SQLAlchemy to programmatically query a database
  • Develop a custom Flask extension

In Detail

Are you a fan of Python? Want to use it to create powerful web applications? Then Flask is the perfect choice for you. This course will take you through the intricacies of the Flask Microframework, covering all it's components and elements and how to integrate it with useful third party libraries. Dive deep into what Flask has to offer and then you will create multiple Python apps from scratch on your own.

The first module will introduce you to web development using Flask to building fully functional web applications. Hands-on and pragmatic, this tutorial goes right to the crux of Flask by showing you how to build challenging real-world applications.

The second module introduces you to a number of recipes that will help you understand the power of Flask and its extensions. Start by seeing the different configurations that a Flask application can make use of. By the end of this module, you will have gained all the knowledge required to write Flask applications in the best possible way, and scale them with best practices.

The final module will walk you through advanced Flask topics while providing practical examples of for all your lessons learned. The module closes with a discussion of the different platforms that are available to deploy a Flask app on, the pros and cons of each one, and how to deploy on each one.

This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:

  • Flask By-Example: Gareth Dwyer
  • Flask Framework Cookbook: Shalabh Aggarwal
  • Mastering Flask: Jack Stouffer

Style and approach

Filled with practical examples and recipes, this course is a great combination of example-driven learning complemented by exciting techniques to build powerful Python web applications with the Flask framework

商品描述(中文翻譯)

釋放 Flask 網頁框架的全部潛力,創建小型到大型的強大網頁應用程式

關於本書


  • 創建您自己的世界級應用程式,並通過這段旅程掌握 Flask 的藝術,揭開其神秘面紗

  • 包含大量範例應用程式的食譜,幫助您理解 Flask 網頁程式設計的複雜性

  • 使用可擴展的 Flask 應用程式結構來創建複雜的網頁應用程式

本書適合誰

這條學習路徑非常適合已經了解 Python 基礎的開發者,並希望學習如何使用 Flask 框架在 Python 中構建強大的網頁解決方案。

您將學到什麼


  • 從零開始使用強大的 Python 微框架 Flask 構建三個網頁應用程式。

  • 擴展您的應用程式以構建高級功能,例如使用 Flask-Login 的用戶帳戶控制系統

  • 了解網頁應用程式安全性,並防範常見攻擊,例如 SQL 注入和 XSS

  • 與 Redis、Sentry、MongoDB 等技術集成

  • 構建與大多數可用登錄機制集成的應用程式

  • 不僅僅停留在開發階段。學習有關部署和部署後的知識

  • 使用 SQLAlchemy 以程式化方式查詢資料庫

  • 開發自定義的 Flask 擴展

詳細內容

您是 Python 的粉絲嗎?想用它來創建強大的網頁應用程式?那麼 Flask 是您的完美選擇。本課程將帶您深入了解 Flask 微框架,涵蓋其所有組件和元素,以及如何將其與有用的第三方庫集成。深入探索 Flask 的所有功能,然後您將能夠獨立從零開始創建多個 Python 應用程式。

第一個模組將介紹使用 Flask 進行網頁開發,構建功能完整的網頁應用程式。這個實用且務實的教程直接切入 Flask 的核心,向您展示如何構建具有挑戰性的實際應用程式。

第二個模組將介紹多個食譜,幫助您理解 Flask 及其擴展的強大功能。首先了解 Flask 應用程式可以使用的不同配置。在這個模組結束時,您將獲得撰寫 Flask 應用程式所需的所有知識,並以最佳實踐擴展它們。

最後一個模組將帶您深入了解高級 Flask 主題,同時提供所有學習內容的實用範例。該模組以討論可用於部署 Flask 應用程式的不同平台結束,分析每個平台的優缺點,以及如何在每個平台上進行部署。

這條學習路徑結合了 Packt 提供的一些最佳內容,形成一個完整的精選包。它包括以下 Packt 產品的內容:


  • Flask By-Example: Gareth Dwyer

  • Flask Framework Cookbook: Shalabh Aggarwal

  • Mastering Flask: Jack Stouffer

風格與方法

這門課程充滿了實用範例和食譜,是一個以範例為驅動的學習與使用 Flask 框架構建強大 Python 網頁應用程式的激動人心技術的完美結合。

最後瀏覽商品 (20)