Last updated September 23, 2010. Created by twistor on September 23, 2010.
Log in to edit this page.
Overview
Hookbox is another server that runs in parallel to your regular webserver that takes care of handling long running requests. An introduction and installation instructions can be found at http://hookbox.org/docs/intro.html.
Installation
Hookbox is written in python and depends on setuptools for installation. The fastest way to install hookbox is to type:
# easy_install hookboxIf you are missing python or setuptools, please refer to the following links:
install python
install setuptools
To confirm your installation succeeded, type:
# hookbox --helpAPI documentation
The API documentation is split into three parts:
Hooks that modules can implement
These correspond to http://hookbox.org/docs/webhooks.html. They don't match up exactly, as the Hookbox module customizes the api to be more Drupalish.
Functions in Hookbox
Every rest api call from http://hookbox.org/docs/rest.html has been implemented as a function in the Hookbox module in the format, hookbox_[function name].
Javascript API
This section covers the best practices of how to use the hookbox javascript object in such a manner that it gets along with other modules. It also covers some convenience methods the have been introduced to make things easier.