Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 76878 invoked from network); 8 Mar 2005 15:50:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Mar 2005 15:50:19 -0000 Received: (qmail 13334 invoked by uid 500); 8 Mar 2005 15:50:16 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 13275 invoked by uid 500); 8 Mar 2005 15:50:15 -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 13262 invoked by uid 99); 8 Mar 2005 15:50:15 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from viefep11-int.chello.at (HELO viefep19-int.chello.at) (213.46.255.27) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 08 Mar 2005 07:50:15 -0800 Received: from [192.168.1.31] (really [62.178.239.20]) by viefep19-int.chello.at (InterMail vM.6.01.03.04 201-2131-111-106-20040729) with ESMTP id <20050308155012.HFVY4105.viefep19-int.chello.at@[192.168.1.31]> for ; Tue, 8 Mar 2005 16:50:12 +0100 Message-ID: <422DC9B2.3090502@apache.org> Date: Tue, 08 Mar 2005 16:50:10 +0100 From: Reinhard Poetz User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Whiteboard Forms - Reusable form definitions (imports) References: <422D5BF7.5030602@apache.org> <20050308150719.GA30663@localhost> In-Reply-To: <20050308150719.GA30663@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Tim Larson wrote: > On Tue, Mar 08, 2005 at 09:01:59AM +0100, Reinhard Poetz wrote: > >>I was looking at http://wiki.apache.org/cocoon/WhiteBoardCocoonForms and I >>liked what I saw. > > > Thanks for taking a look. Any refinements are welcome. > > Side note: Remeber items in the whiteboard are often initially > motivated by an individual, but are intended for community ownership > and involvement and potential merging into the mainline when/if ready. > So, anybody can dive right in and make any changes that are needed. ok. another questions (see below) before doing so :-) >>This document defines reusable macro libraries. I'm sure this is useful for >>some usecases (e.g. editors) but I have a simpler one that goes into the >>direction of reusable form definitions. > > > Macros give saving in maintenance, processing time, and memory usage. > Maintenance -- one shared definition to edit instead of x instances. > Processing -- definitions are are only parsed and built one time. > Memory -- only one copy is stored for use in multiple forms. > > The maintenance savings are my main concern. By permitting reuse of > snippets of bindings, form definitions, and templates you can more > readily create and maintain consistent applications. > > For example, macros could be used to implement a common "search" > sub-form for use throughout the many forms in an application, or > to load and display common data in a consistent manner in multiple > forms. > > >>In many of my forms date widgets are used: birthdate, start date, end date, >>... Definining those widgets is nearly always the same, except the label. >>IMO it would make sense not only to have reusable macro libraries but also >>reusable widget libraries (renamed fd:macros to fd:library): > > > I was already considering renaming fd:macros to fd:library; do you > want to change it or should I? can do it. What do you thing about reusable widgets as mentioned in my initial mail of this thread? Shall I add them? -- Reinhard P�tz Independant Consultant, Trainer & (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc --------------------------------------------------------------------