At last Moustache turns 1.0!
It includes a last-minute surprise feature: params destructuring.
An optional destructuring map positioned between middlewares and the
handler body will allow to destructure the :params entry of the
request.
When no :params entry is present, one will be created by applying
wrap-params and wrap-keyword-params.
What's next? I'd like to work on contexts and coneg.
Christophe
Hi David!
For contexts see
http://groups.google.com/group/ring-clojure/browse_thread/thread/ae317453a6d10a/b6cf142660de7f42
Coneg is "Content Negotiation" and is key to the design I try to
promote with Moustache: having representation (templating,
json-serialization etc) handled by middlewares.
I'd like an app to be an as straightforward[1] as possible mapping
from HTTP requests to backend operations and to have all other aspects
(incl. representation) handled by middlewares.
Christophe
[1] Clear and concise