O'Reilly logo

Plone 3 Multimedia by Tom Gross

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

Publisher hooks

All the storage solutions we have seen so far have one thing in common: They all use the publishing engine of Zope. Actually, they have one more thing in common, which is the storage of the binary content on the filesystem. But this behavior is shared by the following solution too. So what is different then?

Usually, the ZServer of Zope—responsible for handling the web traffic—is not exposed to the Internet directly, but is proxied by a dedicated web server such as Apache, Ngnix, or lighttpd. The approach of the following section takes this fact into account. It hooks into the proxy and with certain control flags in the request it catches the binary data, stores it on the filesystem, and passes on a key to the CMS. This key is later ...

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