Mockup and Patternslib#

Mockup together with Patternslib are used to build the UI toolkit for Classic UI, a frontend for Plone.

View the interactive documentation of Mockup.

Get started#

bobtemplates.plone provides mr.bob templates to generate packages for Plone projects. Plone CLI (plonecli) provides a command line client for bobtemplates.plone.

Install plonecli into your Python user packages to make it available to all your projects.

pip install plonecli --user

Create an add-on package with plonecli.

plonecli add project.addon

This will create a package project.addon, which you can install in your Plone site.

You can cd to the project, and add features to that package, such as content types, behaviors, control panels, or REST API endpoints.

cd project.addon
plonecli add content_type
plonecli add behavior
plonecli theme_barceloneta

Each of the features asks several questions to create the desired feature, customized to your preferences.

You can check the full list of available features using the -l parameter:

plonecli -l