Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
pyramid.pdf
Скачиваний:
11
Добавлен:
24.03.2015
Размер:
3.82 Mб
Скачать

CHAPTER

THIRTYSEVEN

SQLALCHEMY + URL DISPATCH WIKI TUTORIAL

This tutorial introduces a SQLAlchemy and url dispatch -based Pyramid application to a developer familiar with Python. When the tutorial is finished, the developer will have created a basic Wiki application with authentication.

For cut and paste purposes, the source code for all stages of this tutorial can be browsed at https://github.com/Pylons/pyramid/tree/1.3-branch/docs/tutorials/wiki2/src.

37.1 Background

This tutorial presents a Pyramid application that uses technologies which will be familiar to someone with SQL database experience. It uses SQLAlchemy as a persistence mechanism and url dispatch to map URLs to code.

To code along with this tutorial, the developer will need a UNIX machine with development tools (Mac OS X with XCode, any Linux or BSD variant, etc) or a Windows system of any kind.

latex-warning.png

This tutorial has been written for Python 2. It is unlikely to work without modification under Python 3.

Have fun!

439

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]