orthecreedence/rest-api — Issue #1: rest-api
Author: hanshuebner
Created: 2011-12-20 06:28:59+00:00
State: open

Hi,

just a few notes on your rest-api:

There really seems no need to use easy-acceptor at all. What you could do instead would be to create a rest-api-acceptor class and specialize the acceptor-dispatch-request method for that class. The easy-handlers.lisp file in the Hunchentoot source base is a good module to look at.

Also, it seems to me that pre-handler could really be a :before method on a function that handles requests.

These are just a few thoughts. I'm writing similar stuff myself at the moment, and RESTAS also does more or less the same thing, and it seems as if it would be nice to eventually have one restful framework rather than many, but maybe not :)

Cheers,
Hans