[Zope] about zope and mouse event handling
tino at wildenhain.de
Fri Feb 10 09:25:29 EST 2006
Allen Huang schrieb:
> I want to make a web page that could handle mouse events. My primary goal is to do some image processing like zooming and panning on an image displayed and redisplay it on the same page. But I don't really know how to approach this and at the same time interacting with Zope to retrieve relevent information from the database.
If the only mouse "event" you like to know is left-button-click - then
just use an HTML image-map.
python has no business here. All you do is to trigger GET requests
with parameters or URLs which are then handled in Zope.
> I was reading GUI with python coding but I don't know how to connect it with zope database. Is this method possible? Is there any other methods I could look into?
This is not even remotely related - maybe if there is a chapter about
image manipulation on the fly with PIL (python imaging lib)
Zooming, panning can all be done but you need to get a deep
As well as to write a zope product which does the data
preparation (e.g. tiling/resizing of the images)
More information about the Zope