cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan <alan-coc...@engrm.com>
Subject Re: [RT] Cocoon Input Model
Date Fri, 27 Feb 2004 16:27:37 GMT
* Guido Casper <gcasper@s-und-n.de> [2004-02-27 08:02]:
> Alan wrote:
> >* Guido Casper <gcasper@s-und-n.de> [2004-02-26 20:41]:
> >
> >>Daniel Fagerstrom wrote:
> >>
> >>
> >>>So a pipeline for input handling could look like:
> >>>
> >>>g -> t* -> store -> act -> [select] -> g -> t* -> s.
> >>
> >>I'm still not convinced by this symmetry thing :-)

> >>For inbound data flow (as you already mentioned) you need strongly typed
> >>data which requires parsing, validation and error handling. I do see
> >>value in putting this data - once grabbed and converted by the forms
> >>framework - into some sort fo pipeline. What I'm unsure about is if
> >>these pipelines will be of similar power as weakly typed pipelines. I
> >>believe Cocoon's pipelines achieve this level of component reusability
> >>because of its weakly typed (and therefore loosely coupled) nature.
> >>
> >>Now IIUC you suggest a pipelining architecture for inbound data flow
> >>with a DOM-like data model.
> >
> >
> >What do you mean by strongly typed? Are we discussiong form posts
> >    here?
> 
> Yes, form posts being the use case at hand, but there are other ways 
> input may be provided. Quoting Daniel:
> 
> >>>
> Besides using request parameters and "structured" request parameters as 
> user input. XML is used for WebDAV and web service applications, XML are 
> also becoming more common from more advanced user clients. And with new 
> environments like mail, CLI, JMS and possibly more, we will get even 
> more user input formats.
> <<<

I don't think of request parameters as strongly typed, they are all
    strings, often they are html form encoded strings, but that's
    does not include type information.

    I can see how XML-RPC is typed, however.

-- 
Alan / alan@engrm.com / http://engrm.com/
    aim/yim: alanengrm - icq: 228631855 - msn: alanengrm@hotmail.com

Mime
View raw message