Full-Stack Flask and React: Learn, code, and deploy powerful web applications with Flask 2 and React 18 (全端 Flask 與 React:學習、編碼並部署強大的網頁應用程式,使用 Flask 2 和 React 18)

Adedeji, Olatunde

  • 出版商: Packt Publishing
  • 出版日期: 2023-10-06
  • 售價: $1,700
  • 貴賓價: 9.5$1,615
  • 語言: 英文
  • 頁數: 408
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1803248440
  • ISBN-13: 9781803248448
  • 相關分類: FlaskReact
  • 立即出貨 (庫存=1)

相關主題

商品描述

Get to grips with UI interaction, data modeling, API development, and documentation while building modern web apps for cloud deployment

Key Features

  • Combine Flask's pagination techniques with React's dynamic rendering for an enhanced user experience
  • Implement robust API development within Flask applications by performing CRUD operations
  • Improve Flask app scalability with blueprints using a modular development approach
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

Developing an interactive, efficient, and fast enterprise web application requires both the right approach and tooling. If you are a web developer looking for a way to tap the power of React’s reusable UI components and the simplicity of Flask for backend development to develop production-ready, scalable web apps in Python, then this book is for you.


Starting with an introduction to React, a JavaScript library for building highly interactive and reusable user interfaces, you’ll progress to data modeling for the web using SQLAlchemy and PostgreSQL, and then get to grips with Restful API development. This book will aid you in identifying your app users and managing access to your web application. You’ll also explore modular architectural design for Flask-based web applications and master error-handling techniques. Before you deploy your web app on AWS, this book will show you how to integrate unit testing best practices to ensure code reliability and functionality, making your apps not only efficient and fast but also robust and dependable.


By the end of this book, you’ll have acquired deep knowledge of the Flask and React technology stacks, which will help you undertake web application development with confidence.

What you will learn

  • Explore the fundamentals of React for building user interfaces
  • Understand how to use JSX to render React components
  • Handle data and integrate third-party libraries and APIs into React applications
  • Secure your Flask application with user authentication and authorization
  • Discover how to use Flask RESTful API to build backend services with React frontend
  • Build modular and scalable Flask applications using blueprints

Who this book is for

This book is for Python web developers who want to build full-stack applications, as well as for frontend developers seeking to expand their skillset by employing Flask as a backend development tool. You’ll gain proficiency in both frontend and backend skills, and acquire the knowledge necessary to deploy solutions in the cloud using AWS. Prior knowledge of basic HTML, CSS, JavaScript, and Python programming will help you to get the most out of this book.

商品描述(中文翻譯)

掌握UI互動、資料建模、API開發和文件撰寫,同時建立現代化的雲端部署網頁應用程式。

主要特點:

- 結合Flask的分頁技術和React的動態渲染,提升使用者體驗。
- 在Flask應用程式中實現強大的API開發,執行CRUD操作。
- 使用模組化開發方法,通過藍圖提升Flask應用程式的可擴展性。
- 購買印刷版或Kindle電子書,可免費獲得PDF電子書。

書籍描述:

開發一個互動、高效和快速的企業網頁應用程式需要正確的方法和工具。如果你是一個網頁開發人員,想要利用React的可重用UI元件和Flask的後端開發簡單性,使用Python開發可投入生產、可擴展的網頁應用程式,那麼這本書就是為你而寫的。

從介紹React開始,這是一個用於構建高度互動和可重用的使用者界面的JavaScript庫,然後進入使用SQLAlchemy和PostgreSQL進行網頁資料建模,接著學習Restful API開發。本書將幫助你識別應用程式使用者並管理對網頁應用程式的訪問。你還將探索基於Flask的網頁應用程式的模組化架構設計,並掌握錯誤處理技術。在將網頁應用程式部署到AWS之前,本書將向你展示如何整合單元測試的最佳實踐,以確保程式碼的可靠性和功能性,使你的應用程式不僅高效快速,而且堅固可靠。

通過閱讀本書,你將深入了解Flask和React技術堆棧,這將幫助你自信地進行網頁應用程式開發。

你將學到什麼:

- 探索使用React構建使用者界面的基礎知識。
- 瞭解如何使用JSX渲染React元件。
- 處理資料並將第三方庫和API整合到React應用程式中。
- 使用使用者驗證和授權來保護你的Flask應用程式。
- 瞭解如何使用Flask RESTful API在React前端上建立後端服務。
- 使用藍圖構建模組化和可擴展的Flask應用程式。

本書適合對象:

本書適合Python網頁開發人員想要建立全棧應用程式的人,以及前端開發人員希望通過使用Flask作為後端開發工具來擴展他們的技能。你將獲得前端和後端技能的熟練度,並獲得在AWS上部署解決方案所需的知識。基本的HTML、CSS、JavaScript和Python編程知識將幫助你充分利用本書的內容。

目錄大綱

  1. Getting Full Stack Ready with React and Flask
  2. Getting started with React
  3. Managing State with React Hooks
  4. Fetching Data with React APIs
  5. JSX and Displaying Lists in React
  6. Working with React Router and Forms
  7. React Unit Testing
  8. SQL and Data Modelling
  9. API Development and Documentation
  10. Integrating the React Frontend with the Flask Backend
  11. Fetching and Displaying Data in a React-Flask Application
  12. Authentication and Authorization
  13. Error Handling
  14. Modular Architecture- The Power of Blueprints
  15. Flask Unit Testing
  16. Containerization and Flask Application Deployment

目錄大綱(中文翻譯)

- 使用 React 和 Flask 準備全端開發環境
- 開始使用 React
- 使用 React Hooks 管理狀態
- 使用 React APIs 取得資料
- 在 React 中使用 JSX 和顯示清單
- 使用 React Router 和表單操作
- React 單元測試
- SQL 和資料建模
- API 開發和文件撰寫
- 整合 React 前端與 Flask 後端
- 在 React-Flask 應用程式中取得並顯示資料
- 認證和授權
- 錯誤處理
- 模組化架構- 藍圖的威力
- Flask 單元測試
- 容器化和 Flask 應用程式部署