BYCEPS is structured using Flask’s Blueprints.
A blueprint acts as a namespace and container for functionality of a certain topic.
server-side code (Python,
and static files, including:
front-end styles (CSS,
Blueprints should use their own database tables instead of extending or modifying existing ones.
Generally, blueprints should be self-contained. This should make it easy to add them to an application, and to disable unwanted ones.
In order to add functionality to BYCEPS, developers are encouraged to wrap their extensions in a blueprint. This makes it easier to keep the base system updated without having to worry about conflicts with their additions. It also makes it easier to distribute their extensions to other interested BYCEPS users.
To fulfill their purpose, blueprints will need to be integrated into the system one way or another.
A blueprint may build entirely upon the existing system, and just require a few URL references to be inserted in the navigation or some templates of the base system.
If a blueprint should react on certain events, it can connect to the available signals.