In order to establish communication with the remote OpenX server, we first need at least three pieces of data: the URL to connect to, a username with sufficient rights access to fetch the inventory, and the password.
We could just hard-code them and it would work perfectly well, but that's not even close to the ideal solution. That's why we will now create a general purpose form with the previously introduced
All the code detailed in this chapter will be added to the existing
pox.controlpanel package developed earlier. If you don't have it, you can download it from this book's webpage.
interfaces.pyfile in the
from zope import schema from ...