Foundation Dynamic Web Pages with Python: Create Dynamic Web Pages with Django and Flask
暫譯: 使用 Python 建立動態網頁:透過 Django 和 Flask 創建動態網頁

Ashley, David

  • 出版商: Apress
  • 出版日期: 2020-10-10
  • 售價: $1,740
  • 貴賓價: 9.5$1,653
  • 語言: 英文
  • 頁數: 130
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484263383
  • ISBN-13: 9781484263389
  • 相關分類: DjangoFlaskPython程式語言
  • 海外代購書籍(需單獨結帳)

商品描述

Discover the concepts of creating dynamic web pages (HTML) with Python. This book reviews several methods available to serve up dynamic HTML including CGI, SSI, Django, and Flask.
You will start by covering HTML pages and CSS in general and then move on to creating pages via CGI. It is easy to use and can serve as a foundation for the more advance services available for launching dynamic web pages. Next you'll explore the SSI (Server Side Interface) method. This is a slightly more advanced interface included in mots web servers that adds functionality to modify static HTML pages to add such things as the current date or time, include additional HTML, and other features to a static web page before it is delivered to the user.
The book also covers some of the key the Django module features, which must be added to the web server. These features include creating dynamic web pages and calling a database to provide additional information to the web page. Lastly we will explore the Flask module. While it has limited functionality on its own, it provides a very flexible environment for the programmer to create a self designed system for delivery of dynamic web pages.
By the time you finish this book, you will be able to choose the appropriate methodology for delivering dynamic information using fast HTML creation services.
What You'll Learn

  • Use HTML pages and CSS together to control the style of your web site.
  • Install and configure SSI, Django, and Flask for Apache.
  • Create dynamic web pages using CGI and creating a library of partial HTML pages to use in this task.
  • Build dynamic web pages using SSI and auxiliary Python programs to enhance the SSI functionality.
  • Develop dynamic web pages using Django

Who This Book Is For
Software Developers with basic Python programming skills interested in learning Web Development

 

商品描述(中文翻譯)

探索使用 Python 創建動態網頁 (HTML) 的概念。本書回顧了幾種可用於提供動態 HTML 的方法,包括 CGI、SSI、Django 和 Flask。

您將首先了解 HTML 頁面和 CSS 的基本知識,然後進入通過 CGI 創建頁面。這是一種易於使用的方法,可以作為啟動動態網頁的更高級服務的基礎。接下來,您將探索 SSI (Server Side Interface) 方法。這是一種稍微更高級的介面,包含在大多數網頁伺服器中,增加了修改靜態 HTML 頁面的功能,例如添加當前日期或時間、包含額外的 HTML 以及在靜態網頁交付給用戶之前的其他功能。

本書還涵蓋了一些 Django 模組的關鍵特性,這些特性必須添加到網頁伺服器中。這些特性包括創建動態網頁和調用資料庫以提供額外信息給網頁。最後,我們將探索 Flask 模組。雖然它本身的功能有限,但它為程序員提供了一個非常靈活的環境,以創建自定義系統來交付動態網頁。

當您完成本書時,您將能夠選擇適當的方法論來使用快速的 HTML 創建服務交付動態信息。

您將學到什麼


  • 將 HTML 頁面和 CSS 結合使用,以控制您的網站樣式。

  • 為 Apache 安裝和配置 SSI、Django 和 Flask。

  • 使用 CGI 創建動態網頁,並創建一個部分 HTML 頁面的庫以用於此任務。

  • 使用 SSI 和輔助的 Python 程式來增強 SSI 功能,構建動態網頁。

  • 使用 Django 開發動態網頁。

本書適合誰

具備基本 Python 程式設計技能的軟體開發人員,對學習網頁開發感興趣。

 

作者簡介

W. David Ashley is a technical writer for SkillSoft where he specializes in open source, particularly Linux. As a member of the Linux Fedora documentation team he recently led the Libvert project documentation, and wrote the Python programs included with it. He has developed in 20 different programming languages during his 30 years as a software developer and IT consultant, including more than 18 years at IBM and 12 years with American Airlines.

作者簡介(中文翻譯)

W. David Ashley 是 SkillSoft 的技術作家,專注於開源技術,特別是 Linux。作為 Linux Fedora 文檔團隊的成員,他最近負責 Libvirt 專案的文檔,並撰寫了隨附的 Python 程式。他在擔任軟體開發人員和 IT 顧問的 30 年職業生涯中,使用過 20 種不同的程式語言,其中在 IBM 工作超過 18 年,並在美國航空工作 12 年。