Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 72911 invoked by uid 500); 20 Dec 2002 13:44:08 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 72894 invoked from network); 20 Dec 2002 13:44:07 -0000 From: "Carsten Ziegeler" To: Subject: RE: [RT]: PropertyContainer (aka InputModule) Date: Fri, 20 Dec 2002 14:38:53 +0100 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <3E02F8A5.6020109@apache.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 20.12.2002 14:45:04, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 20.12.2002 14:45:05, Serialize complete at 20.12.2002 14:45:05 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Nicola Ken Barozzi wrote: > > Carsten Ziegeler wrote: > > Hi, > > > > to get some basis for discussion about the move of the > > InputModules from the Cocoon.xconf to the sitemap > > I checked in a proposal in o.a.c.sitemap. > > > > I named this concept PropertyContainer (great, isn't it?) > > Actually, also given the recent difficulties in naming, it's eally quite > good! The "property" part is IMHO to the point, I just don't like the > "container" part much. > > What about > > PropertyAccessor > PropertyResolver > > But given that they could also write, > > PropertyHandler > PropertyManager > Hmm, PropertyDeliverer or PropertyProvider? From your list above I like PropertyAccessor the most. > > The new interface is different from the inputmodule one, and lacks the > output module part. > > Why are they different? > There is no more the capability of getting the names and values of all > propertis it seems. > Yupp. It's not always possible to get all the names - so getting the names does not make so much sense. For example if JXPath is used it's useless. So instead of defining a method which is only usable in 5% of the use cases, I just left it out. > Should we combine input and output module interfaces or define two > different components? > > I just had a revelation! ;-) > > > With inputmodules we finally have the simmetry between the object stuff > in the environment stuff and the pipeline stuff! > > Environment Pipeline > > inputmodule generator > action transformer > outputmodule serializer > > The sitemap ties them together in a request. > The flow between requests. > > Cool ;-) > > > The idea is to declare the property containers in the > > sitemap in the components section: > > > > > > > src="o.a.c...."/> > > ... > > > > +1 > > > Chaining of containers is also customizable: > > > > > > > src="o.a.c.sitemap.properties.ChainingPropertyContainer"> > > session > > request > > global > > > > ... > > > > :-D > > > The usage works like the "old" InputModules: {my-container:skin}. > > > > I only added the interfaces for discussion, it's not integrated in the > > sitemap yet. > > > > What do you think? > > I'm definately for it, let's define the details :-) > What do you think is missing? Carsten Carsten Ziegeler Open Source Group, S&N AG --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org