Re: Register programs

"John C. Mallery" <[email protected]> Mon, 1 Dec 2003 14:21:56 -0500
Newsgroups gmane.lisp.cl-http
Message-ID <p06010206bbf1449164b4@[10.0.1.3]>
Hi Helmut,

There isn't currently any facility for doing what you seem to want.

You could place advice on enable/disable-http-service, but bear in
mind that these may be called at times other that start up or shut down
for maintenance reasons.

Why don't you use require (available in many lisps)?

Why not just keep the small programs loaded in the lisp image?

If there is a general mechanism here useful to others, we can always add it
to cl-http. :-)

At 12:00 PM +0100 12/1/03, helmut wrote:
>As it is time to change versions
>and I'm using cl-http with many small "programs"
>and this damn cl-http does not crash :-),
>I often forget some things when starting all new, because there are
>some months gone, since I did it last time.
>
>So I'm looking for an automatic mechanism for the "programs"
>
>-to  register (load  or load/dump)
>(-to  unregister (remove))
>-to get called by the enable/disable-http-service
>for local start/stop handling (e.g. clear cache to db).
>
>do such "hooks" exist, is there a standard way to do this,
>or how do you handle these problems?
>
>Helmut