WARNING: If you are reading this on GitHub, DON’T! Read it on ReadTheDocs:
references and proper formatting.

A Plone API

Overview

The plone.api is an elegant and simple API, built for humans wishing to develop with Plone.

It comes with cookbook-like documentation with step-by-step instructions for doing common development tasks in Plone. Recipes try to assume the user does not have extensive knowledge about Plone internals.

The intention of this package is to be transitional. It points out which parts of Plone are particularly nasty – we wish they get fixed so we can deprecate plone.api methods that cover them up, but leave the documentation in place.

Some parts of documentation already are this way: they don’t use plone.api methods directly, but simply provide guidance on achiving a task using Plone’s internals. Example: usage of the catalog in Find content object.

The intention is to cover 20% of tasks we do 80% of the time. Keeping everything in one place helps keep the API introspectable and discoverable, which are important aspects of being Pythonic.

Note

This package is still in development. It’s currently in Beta phase, meaning that most stuff should work, but some methods might still change in the future, breaking backwards compatibility. Keep that in mind when using it.

Indices and tables

Project Versions

Table Of Contents

Next topic

About

This Page