Flask Framework Cookbook - Third Edition: Enhance your Flask skills with advanced techniques and build dynamic, responsive web applications
暫譯: Flask 框架食譜 - 第三版:透過進階技術提升您的 Flask 技能,構建動態、響應式的網頁應用程式
Aggarwal, Shalabh
- 出版商: Packt Publishing
- 出版日期: 2023-07-28
- 售價: $1,710
- 貴賓價: 9.5 折 $1,625
- 語言: 英文
- 頁數: 318
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1804611107
- ISBN-13: 9781804611104
-
相關分類:
Flask
立即出貨 (庫存=1)
相關主題
商品描述
Design and deploy robust state-of-the-art web applications using Flask 2.x and Python 3 frameworks and libraries for streamlined development and optimal performance
Purchase of the print or Kindle book includes a free PDF eBook
Key Features
- A practical and rich companion guide for web developers, offering real-world situations and use cases to learn Flask
- Get the most out of the powerful Flask framework while preserving the flexibility of your design choices
- Write cleaner, testable, and maintainable code with the help of sample apps
Book Description
Discover what makes Flask, the lightweight Python web framework, popular, as you delve into its modular design that enables the development of scalable web apps. With this practical guide, you'll explore modern solutions, recommended design patterns, and best practices for Flask web development.
Updated to the latest version of Flask and Python, this third edition of the Flask Framework Cookbook moves away from the outdated libraries, updates content to incorporate new coding patterns, and introduces recipes for the latest tools. You'll explore different ways to integrate with GPT to build AI-ready Flask applications. The book starts with an exploration of Flask application configurations and then guides you through working with templates and understanding the ORM and view layers. You'll also be able to write an admin interface and get to grips with testing using the factory pattern, debugging, and logging errors. Then you'll discover different ways of using Flask to create, deploy, and manage microservices using AWS, GCP, and Kubernetes. Finally, you'll gain insights into various deployment and post-deployment techniques for platforms such as Apache, Tornado, and Datadog.
By the end of this book, you'll have acquired the knowledge necessary to write Flask applications that cater to a wide range of use cases in the best possible way and scale them using standard industry practices.
What you will learn
- Explore advanced templating and data modeling techniques
- Discover effective debugging, logging, and error-handling techniques in Flask
- Work with different types of databases, including RDBMS and NoSQL
- Integrate Flask with different technologies such as Redis, Sentry, and Datadog
- Deploy and package Flask applications with Docker and Kubernetes
- Integrate GPT with your Flask application to build future-ready platforms
- Implement continuous integration and continuous deployment (CI/CD) to ensure efficient and consistent updates to your Flask web applications
Who this book is for
If you are a web developer seeking to expand your knowledge of developing scalable and production-ready applications in Flask, this is the book for you. It is also highly valuable if you are already aware of Flask's major extensions and want to leverage them for better application development. This book will come handy as a quick reference for specific topic on Flask, its popular extensions, or specific use cases. It assumes basic Python programming experience, as well as familiarity with web development and related terminology.
商品描述(中文翻譯)
設計和部署使用 Flask 2.x 和 Python 3 框架及庫的先進穩健網頁應用程式,以實現精簡的開發和最佳性能
購買印刷版或 Kindle 書籍包括免費 PDF 電子書
主要特點
- 一本實用且豐富的網頁開發者伴隨指南,提供現實世界的情境和使用案例來學習 Flask
- 在保留設計選擇靈活性的同時,充分利用強大的 Flask 框架
- 在範例應用程式的幫助下,撰寫更乾淨、可測試和可維護的代碼
書籍描述
探索使 Flask 成為流行的輕量級 Python 網頁框架的原因,深入了解其模組化設計,這使得可擴展網頁應用程式的開發成為可能。通過這本實用指南,您將探索現代解決方案、推薦的設計模式和 Flask 網頁開發的最佳實踐。
本書的第三版已更新至最新版本的 Flask 和 Python,擺脫過時的庫,更新內容以納入新的編碼模式,並介紹最新工具的食譜。您將探索與 GPT 整合的不同方法,以構建 AI 準備的 Flask 應用程式。本書首先探討 Flask 應用程式的配置,然後指導您使用模板並理解 ORM 和視圖層。您還將能夠撰寫管理介面,並掌握使用工廠模式進行測試、除錯和記錄錯誤的技巧。接著,您將發現使用 Flask 創建、部署和管理微服務的不同方法,並使用 AWS、GCP 和 Kubernetes。最後,您將獲得有關 Apache、Tornado 和 Datadog 等平台的各種部署和後部署技術的見解。
在本書結束時,您將獲得撰寫滿足各種使用案例的 Flask 應用程式所需的知識,並使用標準行業實踐進行擴展。
您將學到的內容
- 探索高級模板和數據建模技術
- 發現 Flask 中有效的除錯、記錄和錯誤處理技術
- 使用不同類型的數據庫,包括 RDBMS 和 NoSQL
- 將 Flask 與 Redis、Sentry 和 Datadog 等不同技術整合
- 使用 Docker 和 Kubernetes 部署和打包 Flask 應用程式
- 將 GPT 整合到您的 Flask 應用程式中,以構建未來準備的平台
- 實施持續集成和持續部署 (CI/CD),以確保對您的 Flask 網頁應用程式進行高效且一致的更新
本書適合誰
如果您是一位網頁開發者,尋求擴展在 Flask 中開發可擴展和生產就緒應用程式的知識,那麼這本書就是為您而寫。如果您已經了解 Flask 的主要擴展並希望利用它們來改善應用程式開發,這本書也非常有價值。這本書將作為 Flask、其流行擴展或特定使用案例的快速參考。它假設您具備基本的 Python 編程經驗,以及對網頁開發和相關術語的熟悉。
目錄大綱
- Flask Configurations
- Templating with Jinja
- Data Modeling in Flask
- Working with Views
- Web Forms with WTForms
- Authenticating in Flask
- RESTful API Building
- Admin Interface for Flask Apps
- Internationalization and Localization
- Debugging, Error Handling, and Testing
- Deployment and Post-Deployment
- Microservices and Containers
- GPT with Flask
- Additional Tips and Tricks
目錄大綱(中文翻譯)
- Flask Configurations
- Templating with Jinja
- Data Modeling in Flask
- Working with Views
- Web Forms with WTForms
- Authenticating in Flask
- RESTful API Building
- Admin Interface for Flask Apps
- Internationalization and Localization
- Debugging, Error Handling, and Testing
- Deployment and Post-Deployment
- Microservices and Containers
- GPT with Flask
- Additional Tips and Tricks