Morepath
Morepath: Super Powered Python Web Framework
Morepath Super Powers
Morepath Knows About Your Models
More documentation, please!
Quickstart
Hello world
Code Walkthrough
Routing
Request object
Redirects
HTTP Errors
Installation
Quick and Dirty Installation
Creating a Morepath Project
Depending on Morepath development versions
Superpowers
Link with Ease
Generic UI
Model-driven Permissions
Composable Views
Extensible Applications
Paths and Linking
Introduction
Paths
URL parameters
Extra URL parameters
Linking
Linking with path variables
Linking with URL parameters
Type hints
Conversion
Default converters
Type hints and converters
List converters
get_converters
Required
Absorbing
Views
Introduction
Named views
Default views
Generic views
Details
Ambiguity between path and view
render
Permissions
Manipulating the response
request_method
Predicates
request.view
Exception views
Security
Introduction
Identity
Verify identity
Session or ticket identity verification
Login and logout
Permissions
Permission rules
Morepath Super Powers Go!
REST
Introduction
Elements of REST
HTTP as a transport system
Modeling as resources
HTTP methods
HTTP response status codes
Linking: HATEOAS
Compose from reusable apps
Settings
Introduction
Defining a setting
Accessing a setting
Defining multiple settings
Organizing your Project
Introduction
Python project
Project layout
Project setup
Project naming
Namespace packages
Main Module
Model module
Path module
View module
App Reuse
Application Isolation
Application Extension
Application Overrides
Nesting Applications
Linking to other mounted apps
Application Reuse
Further reading
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
Tweens
Introduction
signature of a handler
Under and over
What can a tween do?
Creating a tween factory
Tweens and settings
Tweens and apps
more.transaction
Morepath API
Comparison with other Web Frameworks
Overview
Routing
Linking
View lookup
WSGI
Permissions
Explicit request
Testability and Global state
No default database
No template language
Code configuration
Components and Generic functions
Design Notes
Publish any model
Routing
Traversal
Linking
Model is web-agnostic
View/model separation
Isolation between applications
Sharing between applications
Models can be published once per application
Linking to another application
Reusable components
Declarative
Conflicts
Overrides
Developing Morepath
Install Morepath for development
Running the tests
flake8
radon
CHANGES
0.3 (2014-06-23)
0.2 (2014-04-24)
0.1 (2014-04-08)
History of Morepath
Web Framework Inspirations
Configuration system
Routing system
Reg
Publisher
Combining it all
Morepath
Docs
»
Edit on GitHub
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
I
|
L
|
M
|
N
|
P
|
R
|
S
|
V
A
Action (class in morepath.config)
action() (morepath.Config method)
(morepath.config.Configurable method)
action_classes() (morepath.config.Configurable method)
action_extends() (morepath.config.Configurable method)
actions() (morepath.config.Configurable method)
after() (morepath.Request method)
ANY (in module morepath)
App (class in morepath)
AppBase (class in morepath)
AppBase.converter() (in module morepath)
AppBase.function() (in module morepath)
AppBase.html() (in module morepath)
AppBase.identity_policy() (in module morepath)
AppBase.json() (in module morepath)
AppBase.mount() (in module morepath)
AppBase.path() (in module morepath)
AppBase.permission_rule() (in module morepath)
AppBase.predicate() (in module morepath)
AppBase.predicate_fallback() (in module morepath)
AppBase.setting() (in module morepath)
AppBase.setting_section() (in module morepath)
AppBase.tween_factory() (in module morepath)
AppBase.verify_identity() (in module morepath)
AppBase.view() (in module morepath)
argument_and_explicit_converters() (morepath.converter.ConverterRegistry method)
as_dict() (morepath.security.Identity method)
autoconfig() (in module morepath)
autosetup() (in module morepath)
B
BasicAuthIdentityPolicy (class in morepath.security)
C
child() (morepath.Request method)
clear() (morepath.AppBase method)
(morepath.config.Configurable method)
clone() (morepath.config.Action method)
codeinfo() (morepath.config.Action method)
(morepath.Directive method)
commit() (morepath.Config method)
Config (class in morepath)
Configurable (class in morepath.config)
configurable() (morepath.Config method)
Converter (class in morepath)
converter_for_explicit_or_type() (morepath.converter.ConverterRegistry method)
converter_for_explicit_or_type_or_list() (morepath.converter.ConverterRegistry method)
converter_for_type() (morepath.converter.ConverterRegistry method)
converter_for_value() (morepath.converter.ConverterRegistry method)
ConverterRegistry (class in morepath.converter)
D
Directive (class in morepath)
directive (class in morepath)
discriminators() (morepath.config.Action method)
E
execute() (morepath.config.Configurable method)
explicit_converters() (morepath.converter.ConverterRegistry method)
F
forget() (morepath.security.BasicAuthIdentityPolicy method)
G
global_app (in module morepath)
group_actions() (morepath.config.Configurable method)
I
identifier() (morepath.config.Action method)
identify() (morepath.security.BasicAuthIdentityPolicy method)
Identity (class in morepath.security)
identity (morepath.Request attribute)
L
link() (morepath.Request method)
lookup (morepath.AppBase attribute)
M
morepath (module)
mounted() (morepath.AppBase method)
N
NO_IDENTITY (in module morepath.security)
P
parent (morepath.Request attribute)
perform() (morepath.config.Action method)
prepare() (morepath.config.Action method)
prepared() (morepath.Config method)
R
register_converter() (morepath.converter.ConverterRegistry method)
remember() (morepath.security.BasicAuthIdentityPolicy method)
render_html() (in module morepath)
render_json() (in module morepath)
Request (class in morepath)
request() (morepath.AppBase method)
Response (class in morepath)
run() (in module morepath)
S
scan() (morepath.Config method)
settings() (in module morepath)
setup() (in module morepath)
V
view() (morepath.Request method)
Read the Docs
v: 0.3
Versions
latest
0.3
0.2
0.1
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.