Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 25750 invoked from network); 22 Jul 2005 14:21:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jul 2005 14:21:38 -0000 Received: (qmail 13366 invoked by uid 500); 22 Jul 2005 14:21:37 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 13325 invoked by uid 500); 22 Jul 2005 14:21:36 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 13312 invoked by uid 99); 22 Jul 2005 14:21:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2005 07:21:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of cjxaf-forrest-dev-1@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2005 07:21:28 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DvyOk-0007VP-Dc for dev@forrest.apache.org; Fri, 22 Jul 2005 16:21:10 +0200 Received: from host190-154.pool80204.interbusiness.it ([80.204.154.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2005 16:21:10 +0200 Received: from nicolaken by host190-154.pool80204.interbusiness.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Jul 2005 16:21:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@forrest.apache.org From: Nicola Ken Barozzi Subject: Views... or Templates? Date: Fri, 22 Jul 2005 16:20:22 +0200 Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host190-154.pool80204.interbusiness.it User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have been thinking a lot about "Views", the positioning in the Forrest concepts and the naming. I came to the conclusion that the best thing to do is to call them Forrest Templates. It's the templating system that is used to style the pages. At this point, one thing comes to mind... what makes this different from other templating systems? I mean, why not use [Velocity], [XSLTAL] or JXpath templates from Cocoon? Whichever system, the Forrest templates will be the first to be called for processing, and they will be resolved through the locationmap instead of the source files as now. Then, the template found will point to the source(s) needed, and again ask for those through the locationmap. The default templates will point to the sourcefiles with the same name, but users will be able to override this. [Velocity] http://jakarta.apache.org/velocity [XSLTAL] http://wiki.bitflux.org/Templates_TAL -- Nicola Ken Barozzi nicolaken@apache.org - verba volant, scripta manent - (discussions get forgotten, just code remains) ---------------------------------------------------------------------