Python Pyramid 简明教程

Python Pyramid Tutorial

Pyramid 是一个用 Python 编写的开源、与 WSGI 兼容的 Web 框架。该项目最初命名为 Pylons,但后来以新名称 Pyramid 发布。除了 Pyramid 之外,Pylons 项目还包括不同的 Web 应用程序技术,例如 Waitress(一个 WSGI 服务器)、SubstanceD(基于 Pyramid 的应用程序服务器)、WebOb(一个 WSGI 请求/响应库)等等。

Pyramid is an open source, WSGI compliant web framework written in Python. Initially the project named as Pylons, but later released under the new name Pyramid. Apart from Pyramid, the Pylons Project consists of different web application technologies such as Waitress (a WSGI server), SubstanceD (Pyramid-based application server), WebOb (a WSGI request/response library), and many more.

Audience

本教程专为希望学习如何使用 Pyramid 框架构建健壮、可扩展的 MVC 模式 Web 应用程序的 Python 开发人员而设计。

This tutorial is designed for Python developers who want to learn to build robust, scalable MVC pattern web applications using Pyramid framework.

Prerequisites

在继续之前,请确保您了解 Python 中的过程和面向对象编程的基础知识。具备 REST 架构方面的知识是一个额外的优势。

Before you proceed, make sure that you understand the basics of procedural and object-oriented programming in Python. Knowledge of REST architecture is an added advantage.