Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 65408 invoked from network); 7 Dec 2004 18:35:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Dec 2004 18:35:28 -0000 Received: (qmail 48468 invoked by uid 500); 7 Dec 2004 18:35:09 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 48354 invoked by uid 500); 7 Dec 2004 18:35:09 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 48302 invoked by uid 99); 7 Dec 2004 18:35:08 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from lakermmtao07.cox.net (HELO lakermmtao07.cox.net) (68.230.240.32) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 10:35:07 -0800 Received: from [192.168.1.100] (really [68.11.49.127]) by lakermmtao07.cox.net (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20041207183459.DZDL20686.lakermmtao07.cox.net@[192.168.1.100]> for ; Tue, 7 Dec 2004 13:34:59 -0500 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <41B58384.8080104@nada.kth.se> References: <41B0D196.5080707@apache.org> <41B1B208.2080809@nada.kth.se> <41B509FB.8070408@reverycodes.com> <41B58384.8080104@nada.kth.se> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Glen Ezkovich Subject: Re: [Templates] Summary and Voting aspects (was: [RT] Attribute Driven Templates) Date: Tue, 7 Dec 2004 12:34:58 -0600 To: dev@cocoon.apache.org X-Mailer: Apple Mail (2.619) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Dec 7, 2004, at 4:18 AM, Daniel Fagerstrom wrote: > > Refactoring JXTG > ================ I think everything starts here. Once this gets refactored the opportunities for further development should become apparent. There is nothing terribly wrong with JXTG, except that it is a monolithic class with monolithic methods. > > For 1), the back compabillity preserving refactoring of JXTG. I cannot > see any need for voting about this. Either it gains community support > in terms of that people joins in design, implementation and testing, > or it don't. And in that case we just remove it. Then if the new > refactored implementation should replace the current one and get > "oficial status", thats certainly something to vote about. Also if we > develop some new interfaces e.g. for ELs or formaters that we feel > that should be made part of core, it will also be something that > should be handled by proposals and votes. > > I can assure you that I have no urge to implement everything myself at > all (as some of you might have noticed I enjoy design descussions and > proposals more than implementing stuff ;) ), You mean some people actually LIKE to implement stuff? ;-) > I will continue to strive for community involvment. And I will write > a proposal about how to continue the refactoring as soon as I find > time. > > Next Generation JXTG > ==================== > > This is about how we should continue our development of the template > language beyond JXTG 1.0. It is purely at the RT stage, no concrete > design proposals yet. Later there might be proposals in form of > documents or proof of concept implementations. But that is a later > question. And an interesting discussion. I think once people look at the refactored JXTG and have an itch to scratch you will see a few attempts at expression language development. > > Attribute Driven Templating > =========================== > > This is ongoing discussions. My hope is that we can design the > template engine in such a way that the synatx handling part is > plugable so that attribute and tag driven templates (JXTG) can > coexist, (although not in the same document ;) ). I'm guessing that after refactoring JXTG you will see that this is easily doable. I'm only guessing because I have only taken a brief look at JXTG's code, but one of the goals of refactoring is to organize the code properly. > But that is a technical quiestion IMO. Anyway, we need to discuss the > consequences of dirrerent syntaxes a little bit more before > implementing anything. You mean defining the language. No one wants to implement. ;-) Glen Ezkovich HardBop Consulting glen at hard-bop.com http://www.hard-bop.com A Proverb for Paranoids: "If they can get you asking the wrong questions, they don't have to worry about answers." - Thomas Pynchon Gravity's Rainbow