> Read the latest version of this page
Edit me on GitHub
Logo

Navigation

  • index
  • modules |
  • next |
  • previous |
  • The Pyramid Web Application Development Framework v1.0.2 »

SQLAlchemy + URL Dispatch Wiki TutorialΒΆ

This tutorial introduces a SQLAlchemy and url dispatch -based Pyramid application to a developer familiar with Python, and will be most familiar to developers who have used the Pylons 1.X web framework. 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 http://github.com/Pylons/pyramid/tree/1.0-branch/docs/tutorials/wiki2/.

  • Background
  • Installation
    • Preparation
    • Making a Project
    • Installing the Project in “Development Mode”
    • Running the Tests
    • Starting the Application
    • Exposing Test Coverage Information
    • Visit the Application in a Browser
    • Decisions the pyramid_routesalchemy Template Has Made For You
  • Basic Layout
    • App Startup with __init__.py
    • Content Models with models.py
  • Defining the Domain Model
    • Making Edits to models.py
    • Looking at the Result of Our Edits to models.py
    • Viewing the Application in a Browser
  • Defining Views
    • Declaring Dependencies in Our setup.py File
    • Adding View Functions
    • Viewing the Result of Our Edits to views.py
    • Adding Templates
    • Mapping Views to URLs in __init__.py
    • Viewing the Application in a Browser
    • Adding Tests
  • Adding Authorization
    • Changing __init__.py For Authorization
    • Viewing the Application in a Browser
    • Seeing Our Changes To views.py and our Templates
    • Revisiting the Application
  • Distributing Your Application

Previous topic

Distributing Your Application

Next topic

Background

Quick search

Enter search terms or a module, class or function name.

Navigation

  • index
  • modules |
  • next |
  • previous |
  • The Pyramid Web Application Development Framework v1.0.2 »
© Copyright 2016, Agendaless Consulting. Last updated on Mar 24, 2016. Created using Sphinx 1.3.5.