Hi, Karl.
Sorry for the late reply and thanks for the proposal.
I'm feeling it is hard to make the only rule how to name for all middlewares, and I'm afraid some middlewares which depends on each other tightly could break "Be loosely coupled", the thought of Clack, but anyway, we can start trying about the two cases.
In CLSQL case, I don't get what kind of middlewares can be written, but it may be good for newbie they provides similar interface.
(FYI, if you're thinking to run your application on the both of CLSQL and Postmodern, you can also use CL-DBI and Clack.Middleware.DBI.)
> @url GET "/test"
> @require-roles (and :user :admin) "/access-denied"
> (defun test (params)
> ...)
This looks neat.
I was wondering what to implement something like access control on Caveman, so this example is really interesting for me.
OMHO, all auth middlewares put the user name into :remote-user for the time being, and let's start considering again when we bumped into any problems. (Or already you had?)
Regards,
Eitarow Fukamachi
--
--
深町英太郎 (Eitarow Fukamachi)