cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neeme Praks" <>
Subject RE: Cocoon2 Design
Date Wed, 31 May 2000 14:42:53 GMT

> -----Original Message-----
> From: Giacomo Pati []
> Sent: Wednesday, May 31, 2000 4:32 PM
> --- Neeme Praks <> wrote:
> > 
> > However, as HTTP allows only one URL at a time to be passed to the
> > server, Turbine introduces a way to include more than one URL to be
> > encoded in a single URL...
> > Right now I don't see a way how Cocoon could handle this need for
> > post-processing through a simple request for a single 
> URL... Maybe only
> > through POSTing information, instead of GETting it, but the 
> possibility
> > to do a POST is not always available.
> Where is the diffrence between GETing/POSTing and checking 
> some predefined variables (hit the
> submit button, hidden field in a form, variable coded into a link)?

Well, no real difference in the traditional sense ;-)
I brought it up because Stefano was against putting logic into URL. And
the only way around this would be to put the "logic" into the POST
variables, instead of GET variables. Or maybe I misunderstood and
Stefano wasn't referring to GET variables (the ones that come after "?"
in the URL) when he was talking about URL's. Probably he was just
arguing against putting logic into path part of the URL (like Turbine
does currently). And I agree with this objection, I also don't like the
way Turbine passes parameters in the URL (seems/feels like a "hack").

Well, actually the question isn't that much GET vs. POST but more
"should there be some way to indicate the post-processing action in the
URL?". And the next question would be: "should there be a way to handle
this logic in the URL before any other processing happens?" (so that I
can change the URL to be processed on the basis of information/logic


View raw message