Flask Web Development: Developing Web Applications with Python (Paperback)

Miguel Grinberg

買這商品的人也買了...

商品描述

Take full creative control of your web applications with Flask, the Python-based microframework. With this hands-on book, you’ll learn Flask from the ground up by developing a complete social blogging application step-by-step. Author Miguel Grinberg walks you through the framework’s core functionality, and shows you how to extend applications with advanced web techniques such as database migration and web service communication.

Rather than impose development guidelines as other frameworks do, Flask leaves the business of extensions up to you. If you have Python experience, this book shows you how to take advantage of that creative freedom.

  • Learn Flask’s basic application structure and write an example app
  • Work with must-have components—templates, databases, web forms, and email support
  • Use packages and modules to structure a large application that scales
  • Implement user authentication, roles, and profiles
  • Build a blogging feature by reusing templates, paginating item lists, and working with rich text
  • Use a Flask-based RESTful API to expose app functionality to smartphones, tablets, and other third-party clients
  • Learn how to run unit tests and enhance application performance
  • Explore options for deploying your web app to a production server

商品描述(中文翻譯)

以 Flask 為基礎的 Python 微框架,讓您完全掌握網頁應用程式的創意控制。這本實戰書籍將逐步開發一個完整的社交部落格應用程式,讓您從頭開始學習 Flask。作者 Miguel Grinberg 將引導您了解框架的核心功能,並展示如何透過進階的網頁技術,例如資料庫遷移和網路服務通訊,擴展應用程式。

與其他框架不同,Flask 不會強制制定開發指南,而是將擴展的業務交給您。如果您具備 Python 經驗,本書將教您如何充分利用這種創意自由。

本書內容包括:
- 學習 Flask 的基本應用程式結構並撰寫範例應用程式
- 使用必備元件,如模板、資料庫、網頁表單和電子郵件支援
- 使用套件和模組結構化可擴展的大型應用程式
- 實作使用者驗證、角色和個人檔案功能
- 透過重複使用模板、分頁項目列表和處理豐富文字,建立部落格功能
- 使用基於 Flask 的 RESTful API,將應用程式功能開放給智慧型手機、平板電腦和其他第三方客戶端
- 學習如何執行單元測試並提升應用程式效能
- 探索將網頁應用程式部署到生產伺服器的選項。