Mastering Flask Web Development: Build enterprise-grade, scalable Python web applications, 2/e (Paperback)
Daniel Gaspar, Jack Stouffer
- 出版商: Packt Publishing
- 出版日期: 2018-10-31
- 售價: $1,400
- 貴賓價: 9.5 折 $1,330
- 語言: 英文
- 頁數: 332
- 裝訂: Paperback
- ISBN: 1788995406
- ISBN-13: 9781788995405
-
相關分類:
Flask、Python、程式語言、JVM 語言
立即出貨 (庫存=1)
買這商品的人也買了...
-
$580$458 -
$750$638 -
$520$442 -
$458JSP 項目開發全程實錄, 3/e
-
$990$941 -
$1,950$1,853 -
$1,230$1,169 -
$1,680$1,596 -
$1,540$1,509 -
$550$429 -
$383Flutter 實戰
-
$450$338 -
$594$564 -
$520$406 -
$500$375 -
$600$468 -
$2,470Quantum Computing Fundamentals (Paperback)
-
$1,470Developing IoT Projects with ESP32: Automate your home or business with inexpensive Wi-Fi devices
-
$658Swift 物聯網程序設計 (Program the Internet of Things with Swift for iOS)
-
$2,475Software Architecture: The Hard Parts: Modern Trade-Off Analyses for Distributed Architectures (Paperback)
-
$699$594 -
$620$527 -
$760$593 -
$2,010$1,910 -
$620$490
相關主題
商品描述
Learn to build modern, secure, highly available web MVC applications and API's using Python`s Flask framework.
Key Features
- Create production-ready MVC and REST API with the dynamic features of Flask
- Utilize the various extensions like Flask-JWT and Flask-SQLAlchemy to develop powerful applications
- Deploy your flask application on real-world platforms like AWS and Heroku on VM's or Docker containers
Book Description
Flask is a popular Python framework known for its lightweight and modular design. Mastering Flask Web Development will take you on a complete tour of the Flask environment and teach you how to build a production-ready application.
You'll begin by learning about the installation of Flask and basic concepts such as MVC and accessing a database using an ORM. You will learn how to structure your application so that it can scale to any size with the help of Flask Blueprints. You'll then learn how to use Jinja2 templates with a high level of expertise. You will also learn how to develop with SQL or NoSQL databases, and how to develop REST APIs and JWT authentication. Next, you'll move on to build role-based access security and authentication using LDAP, OAuth, OpenID, and database. Also learn how to create asynchronous tasks that can scale to any load using Celery and RabbitMQ or Redis. You will also be introduced to a wide range of Flask extensions to leverage technologies such as cache, localization, and debugging. You will learn how to build your own Flask extensions, how to write tests, and how to get test coverage reports. Finally, you will learn how to deploy your application on Heroku and AWS using various technologies, such as Docker, CloudFormation, and Elastic Beanstalk, and will also learn how to develop Jenkins pipelines to build, test, and deploy applications.
What you will learn
- Develop a Flask extension using best practices
- Implement various authentication methods: LDAP, JWT, Database, OAuth, and OpenID
- Learn how to develop role-based access security and become an expert on Jinja2 templates
- Build tests for your applications and APIs
- Install and configure a distributed task queue using Celery and RabbitMQ
- Develop RESTful APIs and secure REST API's
- Deploy highly available applications that scale on Heroku and AWS using Docker or VMs
Who this book is for
The ideal target audience for this book would be Python developers who want to use Flask and its advanced features to create Enterprise grade and lightweight applications. The book is for those who have some exposure of Flask and want to take it from introductory to master level.
Table of Contents
- Getting Started
- Creating Models with SQLAlchemy
- Creating Views with Templates
- Creating Controllers with Blueprints
- Advanced Application Structure
- Securing Your App
- Using NoSQL with Flask
- Building RESTful APIs
- Creating Asynchronous Tasks with Celery
- Useful Flask Extensions
- Building Your Own Extension
- Testing Flask Apps
- Deploying Flask Apps
商品描述(中文翻譯)
學習使用Python的Flask框架建立現代、安全、高可用的Web MVC應用程式和API。
主要特點:
- 使用Flask的動態功能建立生產就緒的MVC和REST API。
- 利用Flask-JWT和Flask-SQLAlchemy等擴展開發強大的應用程式。
- 在AWS和Heroku等真實世界平台上部署Flask應用程式,可以使用VM或Docker容器。
書籍描述:
Flask是一個輕量且模組化的Python框架。《精通Flask網頁開發》將帶您深入了解Flask環境,並教您如何建立一個生產就緒的應用程式。
您將首先學習有關Flask的安裝和基本概念,例如MVC和使用ORM存取資料庫。您將學習如何結構化應用程式,以便它可以隨著需求擴展。接著,您將學習如何使用Jinja2模板。您還將學習如何使用SQL或NoSQL資料庫開發REST API和JWT驗證。接下來,您將建立基於角色的存取安全性和使用LDAP、OAuth、OpenID和資料庫進行身分驗證。您還將學習如何使用Celery和RabbitMQ或Redis開發可擴展到任何負載的非同步任務。您還將介紹各種Flask擴展,以利用快取、本地化和除錯等技術。您將學習如何建立自己的Flask擴展,如何撰寫測試,以及如何獲得測試覆蓋報告。最後,您將學習如何使用Docker、CloudFormation和Elastic Beanstalk等技術,在Heroku和AWS上部署應用程式,並學習如何使用Jenkins管道建立、測試和部署應用程式。
您將學到什麼:
- 使用最佳實踐開發Flask擴展。
- 實現各種身分驗證方法:LDAP、JWT、資料庫、OAuth和OpenID。
- 學習如何開發基於角色的存取安全性,並成為Jinja2模板的專家。
- 為您的應用程式和API建立測試。
- 安裝和配置使用Celery和RabbitMQ的分散式任務佇列。
- 開發RESTful API並保護REST API。
- 使用Docker或VM部署高可用應用程式。
本書適合的讀者:
本書的理想目標讀者是希望使用Flask及其高級功能來創建企業級和輕量級應用程式的Python開發人員。本書適合那些對Flask有一定了解並希望將其提升到專家水平的讀者。
目錄:
1. 開始
2. 使用SQLAlchemy建立模型
3. 使用模板建立視圖
4. 使用藍圖建立控制器
5. 高級應用程式結構
6. 保護您的應用程式
7. 使用Flask的NoSQL
8. 建立RESTful API
9. 使用Celery建立非同步任務
10. 有用的Flask擴展
11. 建立自己的擴展
12. 測試Flask應用程式
13. 部署Flask應用程式