PyAMS pagelets management package
Project description
What is PyAMS
PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.
PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.
All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github.
What is PyAMS_pagelet?
This package is a small rewrite of z3c.pagelet package for use with Pyramid and PyAMS.
PyAMS_template allows to separate a view’s Python code from it’s template implementation, so that this template can be easilly overriden for a given view or a given layer; it also allows to separate a “content” template from a “layout” template which is handling all common elements in a web page.
PyAMS_pagelet is an implementation of this pattern: a pagelet is a Pyramid view registered with the name of the pagelet; the layout template can then just use a “${structure:provider:pagelet}” directive to automatically insert the pagelet matching the current browser URL.
Changelog
1.1.0
removed ZCML declarations
updated doctests
1.0.1
updated pagelet templates registration to use standard (context, request, view) multi-adapters
updated doctests
1.0.0
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pyams_pagelet-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90e17303b0648a1ae6d578ec5612e7d7751edf410ac814c207e8a56ef37875a6 |
|
MD5 | b38b0b5d6db55a64a7f612d6b85c4cd1 |
|
BLAKE2b-256 | a50a646114273c7b56f128093b803116b2fee6d2aeb0cdf0f3c9b05c2962ee36 |