1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft Internet Assistant for PowerPoint 97">
<TITLE>Example: Proxy</TITLE>
</HEAD>
<BODY >
<H1>Example: Proxy</H1>
<P><UL>
AOLserver Process</UL></P>
<P><UL>
Proxy Shell</UL></P>
<P><UL>
1. At startup, pool is initialized with init script, e.g., open db</UL></P>
<P><UL>
3. Script evaluated in proxy, results returned through pipe</UL></P>
<P><UL>
4. Proxy results available in
</UL><UL>
AOLserver interp->result</UL></P>
<P><UL>
2. Scripts sent to proxy with proxy.send:
</UL><UL>
</UL><UL>
<html>
</UL><UL>
Search Results:
</UL><UL>
<%
</UL><UL>
set script pls.search $query
</UL><UL>
foreach doc [proxy.send db $script] {
</UL><UL>
ns_adp_puts [putheadline $doc]
</UL><UL>
}
</UL><UL>
%>
</UL><UL>
...</UL></P>
<P></P>
<P>
<TABLE>
<TD HEIGHT=100 WIDTH=100> <A HREF="tsld053.htm">Previous slide</A> </TD>
<TD HEIGHT=100 WIDTH=100> <A HREF="tsld055.htm">Next slide</A> </TD>
<TD HEIGHT=100 WIDTH=150> <A HREF="tsld001.htm">Back to first slide</A> </TD>
<TD HEIGHT=100 WIDTH=150> <A HREF="sld054.htm">View graphic version</A> </TD>
</TABLE>
<BR>
</P>
</Body>
</HTML>
|