<div dir="ltr">Newbie question. Can anyone explain why people would want to override the standard dispatcher? E.g. in <br><a href="http://www.lispcast.com/files/episode3/reddit-lisp.lisp">http://www.lispcast.com/files/episode3/reddit-lisp.lisp</a> <br>
<br><pre>(defclass handler ()<br> ((url<br> :initarg :url<br> :accessor url<br> :type string)<br> (handler<br> :initarg :handler<br> :accessor handler)<br> (name<br> :initarg :name<br> :accessor name<br>
:type symbol)))<br><br>(defvar *handlers* (make-hash-table))<br><br>(defun our-handler (request)<br> (let ((handler (gethandler (hunchentoot:script-name request))))<br> (when handler (handler handler))))<br><br>(setf hunchentoot:*dispatch-table* (list 'our-handler))<br>
</pre><br></div>