Skip to Content
Python 技術手冊 第三版
book

Python 技術手冊 第三版

by lex Martelli, Anna Martelli Ravenscroft, Steve Holden
January 2018
Intermediate to advanced content levelIntermediate to advanced
856 pages
17h 17m
Chinese
GoTop Information, Inc.
Content preview from Python 技術手冊 第三版
638
|
20 章 HTTP 網路服務
Python Web 框架
要找大多數 Python web 框架的介紹,請參閱 Python wiki 面(
https://
wiki.python.org/moin/WebFrameworks
)。這是權威性的,因為它有出現在
官方的 python.org 網站上,並且是社群所彙整的,所以它會保持在最新
的狀態。在本文寫作之時,它列出了 56
4
標示為「active(持續發展
中)」的框架,加上更多標示為「discontinued/inactive(停止發展)」的其
他框架。此外,它還分別指出了有關 Python 內容管理系統(
https://wiki.
python.org/moin/ContentManagementSystems
)、 web 伺服器(
https://wiki.
python.org/moin/WebServers
),以及web 件(
https://wiki.python.org/moin/
WebComponents
)與其程式庫的 wiki 頁面。
Full-Stack 框架 vs. Lightweight 框架
粗略地說,Python web 框架可被分為兩類:
full-stack
全端的
,試圖
提供建置一個 web 應用程式所需的全部功能性),或
lightweight
輕量化
,只提供你所需的最少功能性,作為 web 服務本身的一種便利介面,並
且可以讓你挑選你最愛的、不相關的元件用於像是與資料庫互動,涵蓋於
前面的
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

測試驅動開發|使用 Python

測試驅動開發|使用 Python

Harry J.W. Percival
Linux 内核观测技术BPF

Linux 内核观测技术BPF

David Calavera, Lorenzo Fontana

Publisher Resources

ISBN: 9789864766819