[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#712908: ITP: stencil-clojure -- implementation of the Mustache template system for Clojure



On Thu, Jun 20, 2013 at 20:09 +0200, Eugenio Cano-Manuel Mendoza wrote:
> Package: wnpp
> Severity: wishlist
> Owner: "Eugenio Cano-Manuel Mendoza" <eugeniocanom@gmail.com>
> 
> * Package name    : stencil-clojure
>   Version         : 0.3.2
>   Upstream Author : David Santiago <david.santiago@gmail.com>
> * URL             : https://github.com/davidsantiago/stencil
> * License         : EPL-1
>   Programming Lang: Clojure, Java
>   Description     : implementation of the Mustache template system for Clojure
> 
> Stencil is a Clojure implementation of Mustache, a template system.
> Mustache lacks of control flow statements such as if/else conditionals
> or for loops; it instead features section tag processing lists and
> lambdas. Mustache also enforces a strong separation of logic from
> presentation.

Thanks for working on this, but the description could certainly be improved.
The first step would be something like:

---
 Description     : implementation of mustache templates for Clojure
 .
 Stencil is a Clojure implementation of Mustache, a template system.
 Mustache lacks any explicit control flow statements such as if/else
 conditionals or for loops, but instead features section tag processing lists
 and lambdas. Mustache also enforces a strong separation of logic from
 presentation.
---

But I am not too happy about the "section tag processing lists lambdas. Can't
think of anything better right now, but lets find something that makes the
design decisions behind mustache and why one would want to use it a bit
clearer. A good idea is probably to look into the other mustache libraries
(ruby-mustache, libjs-mustache, node-mustache) for inspiration.
-- 
Wolodja <debian@babilen5.org>

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC

Attachment: signature.asc
Description: Digital signature


Reply to: