Morepath
0.18.2
Getting Started
User Guide
Advanced Topics
Organizing your Project
Building Large Applications
REST
Writing automated tests
Directive tricks
Querying configuration
Reference
Contributor Guide
History
Morepath
Docs
»
Advanced Topics
Edit on GitHub
Advanced Topics
¶
A selection of special topics to get the best out of your Morepath project.
Organizing your Project
Introduction
Sounds Like a Lot of Work
Python project
Project layout
Project setup
Project naming
Namespace packages
App Module
Run Module
Upgrading your project to a newer version of Morepath
Debugging scanning problems
Model module
Path module
View module
Directive debugging
Building Large Applications
Introduction
A Code Hosting Site
Simplest approach
Problems
Multiple sub-apps
Mounting apps
No more path repetition
Testing in isolation
Reusing an app
Different teams
Swapping in a new sub-app
Customizing an app
Swapping in, for one customer
Framework apps
REST
Introduction
Elements of REST
HTTP as a transport system
Modeling as resources
HTTP response status codes
load
Linking: HATEOAS
Compose from reusable apps
Writing automated tests
Testing “Hello world!”
Directive tricks
Querying configuration
Creating a tool
Usage