O'Reilly logo

Plone 3 Products Development Cookbook by Marcos F. Romero, Juan Pablo Giménez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Registering a global utility

Unlike local utilities, global utilities can't persist data, they are used to provide general functionality.

Note

Local utilities could also have their own functions and methods, but we prefer our example as it is: just to keep some useful data and make it available for other utilities.

Let's create the code we need to connect via XML-RPC to the remote OpenX server and get all the information we need.

Getting started

In this recipe, we will extend the pox.controlpanel package we started in Adding configuration options in Plone control panel (Chapter 9) and continued developing in Creating a configuration form and Registering a local utility. If you don't have that package, you can download it from this book's webpage. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required