Post response processing, useful or not?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Post response processing, useful or not?

keith1y
I was thinking mad thoughts today:

"Would it be useful if I could perform some potentially slow application
processing after the response has been sent to the browser?"

So... after some investigation I discover that WAKom can add
postProcessors to each request.
Wiring these back into seaside your session class and any
WASessionHelper(s) can now be informed of.

WASession-postProcessRequest: aRequest response: aResponse

Now this could be handy for testing since I can now look at my own
responses. I have not tried any of the testing solutions yet, so I would
be interested to know whether this would be useful in that context.

Any thoughts as to other potential uses?

best regards

Keith

=========

This code has been added to the latest Seaside28Jetsam package.



 
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside