# Example: Proxy

AOLserver Process

Proxy Shell

1. At startup, pool is initialized with init script, e.g., open db

3. Script evaluated in proxy, results returned through pipe

4. Proxy results available in

AOLserver interp->result

2. Scripts sent to proxy with proxy.send:

<html>

Search Results:

<%

set script “pls.search $query”

foreach doc [proxy.send db $script] {

ns_adp_puts [putheadline $doc]

}

%>

...

Previous slide | Next slide | Back to first slide | View graphic version