Re: Calling handlers manually

"Jonathan Ellis" <[email protected]>
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
On Thu, 22 Dec 2005 22:18:01 -0700, "Conan C. Albrecht"
<conan-RXmsyT/Szrj2fBVCVOL8/[email protected]> said:
> So, the question is now, is there a way to design these handlers so  
> they *can* be called from a direct link?

Anything may be possible, but IMO this is one of the more difficult
anythings.

The MD5ing, for instance, is a way of generating unique tag ids with two
important properties:

- it's low-overhead (happens only at compile time; compiled spyces are
then cached until the source changes)
- it doesn't depend on things being processed in any particular order --
important for it to work in any non-single-process Spyce deployment

(We need unique IDs in the first place because you could conceivably
have multiple instances of the same tags, with different handlers.  The
"chatbox" demo illustrates this in a somewhat contrived fashion.)

-Jonathan
-- 
C++ is history repeated as tragedy. Java is history repeated as farce.  --Scott McKay



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.