Return-Path: X-Original-To: apmail-tiles-users-archive@minotaur.apache.org Delivered-To: apmail-tiles-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43E8A10F85 for ; Wed, 6 Nov 2013 17:24:50 +0000 (UTC) Received: (qmail 44585 invoked by uid 500); 6 Nov 2013 17:24:49 -0000 Delivered-To: apmail-tiles-users-archive@tiles.apache.org Received: (qmail 44424 invoked by uid 500); 6 Nov 2013 17:24:45 -0000 Mailing-List: contact users-help@tiles.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@tiles.apache.org Delivered-To: mailing list users@tiles.apache.org Received: (qmail 44406 invoked by uid 99); 6 Nov 2013 17:24:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 17:24:43 +0000 X-ASF-Spam-Status: No, hits=1.2 required=5.0 tests=FORGED_HOTMAIL_RCVD2,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcatu-users@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 17:24:37 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ve6pr-0004vR-Ht for users@tiles.apache.org; Wed, 06 Nov 2013 18:24:07 +0100 Received: from modemcable234.38-37-24.static.videotron.ca ([24.37.38.234]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Nov 2013 18:24:07 +0100 Received: from ebenze by modemcable234.38-37-24.static.videotron.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Nov 2013 18:24:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@tiles.apache.org From: Eric B Subject: Re: Mustache templates? Date: Wed, 06 Nov 2013 12:23:57 -0500 Lines: 30 Message-ID: References: <1383689853.22155.39.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: modemcable234.38-37-24.static.videotron.ca User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 In-Reply-To: <1383689853.22155.39.camel@localhost> X-Virus-Checked: Checked by ClamAV on apache.org On 13-11-05 5:17 PM, Mick Semb Wever wrote: > >> Are there any examples how to use Mustache templates in Tiles? > > The datamodel coming into the tiles mustache attribute must also be made > available, through a separate url, to the client as json. > > The mustache template must also be available, through a url, to the > client. I'm still examining the need/use-case for using mustache vs plain JSP for a light-load server. I can definitely see the value for something that has high load, wanting to offset processing on the client side, but for light load, I haven't been convinced yet that logic-less templates have advantage over JSP models. > But I'd like to see tiles provide support for making this easier. A way > to extend the tiles implementation of the composite-pattern out into the > land of the client-side. We've had a number of discussions inside > Finn.no on this and believe that it is possible. If this is something > you'd like to help out with i can elaborate more our ideas. Within Finn > i can't see any traction on this idea until next February at the > earliest. I'm still trying to wrap my head around how to use Tiles over a basic level. The lack of documentation and complete examples (as opposed to small snippets here and there) to show a full implementation make it a tougher learning curve than I had anticipated or would have liked. Once I get over this hurdle, I'll see if there is a way I can contribute something back to the project. Thanks, Eric