Moustache 1.0 and beyond!

13 views
Skip to first unread message

Christophe Grand

unread,
Mar 9, 2011, 8:12:33 AM3/9/11
to moustache-club
Hi all,

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

David Nolen

unread,
Mar 9, 2011, 8:40:24 AM3/9/11
to moustac...@googlegroups.com
What are contexts and coneg?

David

Christophe Grand

unread,
Mar 9, 2011, 9:16:40 AM3/9/11
to moustache-club
On Wed, Mar 9, 2011 at 2:40 PM, David Nolen <dnolen...@gmail.com> wrote:
> On Wed, Mar 9, 2011 at 8:12 AM, Christophe Grand <chris...@cgrand.net>
>> What's next? I'd like to work on contexts and coneg.
>
> What are contexts and coneg?

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

Daniel Gregoire

unread,
Mar 9, 2011, 10:06:48 AM3/9/11
to moustac...@googlegroups.com
Congrats on Moustache 1.0 and the recent Enlive 1.0! Thanks for all your hard work, Christophe; it is greatly appreciated.
Reply all
Reply to author
Forward
0 new messages