Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-04 Thread Upayavira
Thorsten Scherler wrote: > El lun, 03-04-2006 a las 12:34 +0100, Upayavira escribió: >> Thorsten Scherler wrote: >>> El lun, 03-04-2006 a las 09:00 +0100, Upayavira escribió: David Crossley wrote: > Upayavira wrote: >> Sylvain Wallez wrote: >>> Carsten Ziegeler wrote: Sylv

Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-04 Thread Thorsten Scherler
El lun, 03-04-2006 a las 12:34 +0100, Upayavira escribió: > Thorsten Scherler wrote: > > El lun, 03-04-2006 a las 09:00 +0100, Upayavira escribió: > >> David Crossley wrote: > >>> Upayavira wrote: > Sylvain Wallez wrote: > > Carsten Ziegeler wrote: > >> Sylvain Wallez wrote: > >>>

Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-03 Thread Upayavira
Thorsten Scherler wrote: > El lun, 03-04-2006 a las 09:00 +0100, Upayavira escribió: >> David Crossley wrote: >>> Upayavira wrote: Sylvain Wallez wrote: > Carsten Ziegeler wrote: >> Sylvain Wallez wrote: >>> Hmm... the current CLI uses Cocoon's links view to crawl the website. So >

Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-03 Thread Thorsten Scherler
El lun, 03-04-2006 a las 09:00 +0100, Upayavira escribió: > David Crossley wrote: > > Upayavira wrote: > >> Sylvain Wallez wrote: > >>> Carsten Ziegeler wrote: > Sylvain Wallez wrote: > > Hmm... the current CLI uses Cocoon's links view to crawl the website. So > > although the new craw

Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-03 Thread Upayavira
David Crossley wrote: > Upayavira wrote: >> Sylvain Wallez wrote: >>> Carsten Ziegeler wrote: Sylvain Wallez wrote: > Hmm... the current CLI uses Cocoon's links view to crawl the website. So > although the new crawler can be based on servlets, it will assume these > servlets to ans

Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-02 Thread David Crossley
Upayavira wrote: > Sylvain Wallez wrote: > > Carsten Ziegeler wrote: > >> Sylvain Wallez wrote: > > > >>> Hmm... the current CLI uses Cocoon's links view to crawl the website. So > >>> although the new crawler can be based on servlets, it will assume these > >>> servlets to answer to a ?cocoon-vie

Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-02 Thread Upayavira
Sylvain Wallez wrote: > Carsten Ziegeler wrote: >> Sylvain Wallez wrote: >> > >>> Hmm... the current CLI uses Cocoon's links view to crawl the website. So >>> although the new crawler can be based on servlets, it will assume these >>> servlets to answer to a ?cocoon-view=links :-) >>> >> H

Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-02 Thread Carsten Ziegeler
Sylvain Wallez wrote: > Carsten Ziegeler wrote: > In the case of Forrest, you're probably right. Now the links view also > allows to follow links in pipelines producing something that's not HTML, > such as PDF, SVG, WML, etc. Yepp. > > We have to decide if we want to loose this feature. Right. So

Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-02 Thread Sylvain Wallez
Carsten Ziegeler wrote: > Sylvain Wallez wrote: > >> Hmm... the current CLI uses Cocoon's links view to crawl the website. So >> although the new crawler can be based on servlets, it will assume these >> servlets to answer to a ?cocoon-view=links :-) >> > Hmm, I think we don't need the lin

Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-02 Thread Carsten Ziegeler
Sylvain Wallez wrote: > Upayavira wrote: > >> Ah, I wasn't getting that subtle. I was simply saying that I can agree >> with using the servlet API for _all_ environments. The CLI becomes >> nothing more than a custom servlet container that uses a servlet to >> generate its pages. >> >> In fact, ha

Re: A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-02 Thread Sylvain Wallez
Upayavira wrote: > Ah, I wasn't getting that subtle. I was simply saying that I can agree > with using the servlet API for _all_ environments. The CLI becomes > nothing more than a custom servlet container that uses a servlet to > generate its pages. > > In fact, having said that, it becomes yet a

A new CLI (was Re: [RT] The environment abstraction, part II)

2006-04-01 Thread Upayavira
Carsten Ziegeler wrote: > Upayavira wrote: >> David Crossley wrote: >>> Carsten Ziegeler wrote: I can't speak for Daniel, but my idea/suggestion was to forget about the different environments and let Cocoon always run in a servlet container. The CLI would then be kind of a http clien

Re: [RT] The environment abstraction, part II

2006-03-31 Thread Carsten Ziegeler
Upayavira wrote: > David Crossley wrote: >> Carsten Ziegeler wrote: >>> I can't speak for Daniel, but my idea/suggestion was to forget about the >>> different environments and let Cocoon always run in a servlet container. >>> The CLI would then be kind of a http client which starts up jetty and >>>

Re: [RT] The environment abstraction, part II

2006-03-31 Thread Upayavira
David Crossley wrote: > Carsten Ziegeler wrote: >> I can't speak for Daniel, but my idea/suggestion was to forget about the >> different environments and let Cocoon always run in a servlet container. >> The CLI would then be kind of a http client which starts up jetty and >> then generates the site

Re: [RT] The environment abstraction, part II

2006-03-31 Thread Thorsten Scherler
El vie, 31-03-2006 a las 14:32 +1100, David Crossley escribió: > Carsten Ziegeler wrote: > > > > I can't speak for Daniel, but my idea/suggestion was to forget about the > > different environments and let Cocoon always run in a servlet container. > > The CLI would then be kind of a http client whic

Re: [RT] The environment abstraction, part II

2006-03-31 Thread Ross Gardler
David Crossley wrote: Carsten Ziegeler wrote: I can't speak for Daniel, but my idea/suggestion was to forget about the different environments and let Cocoon always run in a servlet container. The CLI would then be kind of a http client which starts up jetty and then generates the site using htt

Re: [RT] The environment abstraction, part II

2006-03-30 Thread David Crossley
Carsten Ziegeler wrote: > > I can't speak for Daniel, but my idea/suggestion was to forget about the > different environments and let Cocoon always run in a servlet container. > The CLI would then be kind of a http client which starts up jetty and > then generates the site using http requests. This

Re: [RT] The environment abstraction, part II

2006-03-30 Thread Upayavira
Daniel Fagerstrom wrote: > Carsten Ziegeler skrev: >> David Crossley wrote: >> >> >>> Hi Daniel, sorry i cannot understand that last sentence. >>> Would you please re-phrase it. >>> >>> We currently have the three ways: >>> >>> 'forrest run' >>> Starts its packaged Jetty and uses Forrest/Cocoon a

Re: [RT] The environment abstraction, part II

2006-03-29 Thread Daniel Fagerstrom
Carsten Ziegeler skrev: David Crossley wrote: Hi Daniel, sorry i cannot understand that last sentence. Would you please re-phrase it. We currently have the three ways: 'forrest run' Starts its packaged Jetty and uses Forrest/Cocoon as a webapp. 'forrest war' Builds a projectName.war ready

Re: [RT] The environment abstraction, part II

2006-03-28 Thread Carsten Ziegeler
David Crossley wrote: > Hi Daniel, sorry i cannot understand that last sentence. > Would you please re-phrase it. > > We currently have the three ways: > > 'forrest run' > Starts its packaged Jetty and uses Forrest/Cocoon as a webapp. > > 'forrest war' > Builds a projectName.war ready for deplo

Re: [RT] The environment abstraction, part II

2006-03-28 Thread David Crossley
On Thu, Feb 02, 2006 Daniel Fagerstrom wrote: > Carsten Ziegeler skrev: > >Daniel Fagerstrom wrote: > >>AFAIK you can't call filters and listeners from within servlets, so they > >>are at the servlet container level, and I don't see how a block would > >>need them. A block could certainly need so

Re: [RT] The environment abstraction, part II

2006-02-02 Thread Daniel Fagerstrom
Carsten Ziegeler skrev: Daniel Fagerstrom wrote: AFAIK you can't call filters and listeners from within servlets, so they are at the servlet container level, and I don't see how a block would need them. A block could certainly need something that a listener put in a context attribute or that a

Re: [RT] The environment abstraction, part II

2006-02-02 Thread Daniel Fagerstrom
Reinhard Poetz skrev: Daniel Fagerstrom wrote: Upayavira skrev: Daniel Fagerstrom wrote: Upayavira wrote: ... We can also release with non OSGi blocks. The blocks are ongoing work, the most important thing that lacks is "two level configuration". As discussed before the component configur

Re: [RT] The environment abstraction, part II

2006-01-31 Thread Carsten Ziegeler
Sylvain Wallez wrote: > Sorry, but I still fail to see how this changes anything. It makes it > easier to develop with Cocoon as using the standard servlet API rather > than with a "proprietary clone" eases the learning process and > facilitates the integration with 3rd-party libraries. But does

Re: [RT] The environment abstraction, part II

2006-01-31 Thread Carsten Ziegeler
Daniel Fagerstrom wrote: >> For me these things make more sense for a higher >> version than 2.2. I would love to get 2.2 out today with the main >> changes being ECM++ and the Maven build. > > I'm not so certain about this anymore as you can see in my answer to > Upayavira. But go ahead and writ

Re: [RT] The environment abstraction, part II

2006-01-31 Thread Carsten Ziegeler
Daniel Fagerstrom wrote: > > AFAIK you can't call filters and listeners from within servlets, so they > are at the servlet container level, and I don't see how a block would > need them. A block could certainly need something that a listener put in > a context attribute or that a filter did to

Re: [RT] The environment abstraction, part II

2006-01-31 Thread Reinhard Poetz
Daniel Fagerstrom wrote: Upayavira skrev: Daniel Fagerstrom wrote: Upayavira wrote: ... It starts to look like a 3.0 rather than a 2.2 and my personal goal is to implement the whole blocks design including OSGi. OTH I try to not hinder the possibility for a 2.2 release, given that someone

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Daniel Fagerstrom
Sylvain Wallez skrev: Daniel Fagerstrom wrote: Sylvain Wallez skrev: ... Now Cocoon is much more than a web framework, as we discussed in the "necessary mutation" thread: - a servlet - a component container - a controller - a pipeline engine - many blocks built on top of one of the above. The

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Daniel Fagerstrom
Carsten Ziegeler skrev: Sylvain Wallez wrote: Hmm... Not sure if I misunderstood or not. I'm ok to have a CLI-based implementation of the servlet API, but having the Cocoon CLI launching an internal Jetty for this really seems wrong to me. Forrest is already a large beast, now if you say that

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Sylvain Wallez
Daniel Fagerstrom wrote: Sylvain Wallez skrev: ... Now Cocoon is much more than a web framework, as we discussed in the "necessary mutation" thread: - a servlet - a component container - a controller - a pipeline engine - many blocks built on top of one of the above. The CocoonBean used by the

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Sylvain Wallez
Carsten Ziegeler wrote: Sylvain Wallez wrote: Hmm... Not sure if I misunderstood or not. I'm ok to have a CLI-based implementation of the servlet API, but having the Cocoon CLI launching an internal Jetty for this really seems wrong to me. Forrest is already a large beast, now if you say th

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Daniel Fagerstrom
Sylvain Wallez skrev: ... Now Cocoon is much more than a web framework, as we discussed in the "necessary mutation" thread: - a servlet - a component container - a controller - a pipeline engine - many blocks built on top of one of the above. The CocoonBean used by the CLI is actually parallel

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Daniel Fagerstrom
Carsten Ziegeler skrev: Daniel Fagerstrom wrote: Agree, but as people (you included) had valid reasons for not going that far in 2.2, I suggest something less radical this time, as I want to get rid of the problem of calling servlets from within Cocoon already in 2.2. Yes, true, I had reason

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Daniel Fagerstrom
Upayavira skrev: Daniel Fagerstrom wrote: Upayavira wrote: ... It starts to look like a 3.0 rather than a 2.2 and my personal goal is to implement the whole blocks design including OSGi. OTH I try to not hinder the possibility for a 2.2 release, given that someone is prepared to spearhead it.

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Peter Hunsberger
On 1/30/06, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > > Now, if I'm the only one thinking that removing the whole env > abstraction makes sense, I'll shut up for now. Nope. Makes perfect sense to me, please continue on this crusade. -- Peter Hunsberger

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Carsten Ziegeler
Sylvain Wallez wrote: > > Hmm... Not sure if I misunderstood or not. I'm ok to have a CLI-based > implementation of the servlet API, but having the Cocoon CLI launching > an internal Jetty for this really seems wrong to me. Forrest is already > a large beast, now if you say that generating a si

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Sylvain Wallez
Carsten Ziegeler wrote: Sylvain Wallez wrote: Sorry, what do you mean by "web framework"? Isn't it already one? Or do you mean "servlet"? Cocoon is currently a mixture. It's mostly used as a web framework through a servlet, but for example if you're using the cli you don't have a web

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Carsten Ziegeler
Daniel Fagerstrom wrote: > Agree, but as people (you included) had valid reasons for not going that > far in 2.2, I suggest something less radical this time, as I want to get > rid of the problem of calling servlets from within Cocoon already in 2.2. Yes, true, I had reasons against doing radical

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Carsten Ziegeler
Sylvain Wallez wrote: > > Sorry, what do you mean by "web framework"? Isn't it already one? Or do > you mean "servlet"? > Cocoon is currently a mixture. It's mostly used as a web framework through a servlet, but for example if you're using the cli you don't have a web framework or a web server o

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Upayavira
Daniel Fagerstrom wrote: > Upayavira wrote: > >> Daniel Fagerstrom wrote: >> >> >>> Carsten Ziegeler skrev: >>> > > ... > First, I'm still not sure if this should go into the current 2.2 code base, but apart from that I now think we should even be more radical in this area

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Daniel Fagerstrom
Upayavira wrote: Daniel Fagerstrom wrote: Carsten Ziegeler skrev: ... First, I'm still not sure if this should go into the current 2.2 code base, but apart from that I now think we should even be more radical in this area and remove the whole environment abstraction completly and make

Re: [RT] The environment abstraction, part II

2006-01-30 Thread Upayavira
Daniel Fagerstrom wrote: > Carsten Ziegeler skrev: > >> Daniel Fagerstrom wrote: >> >>> I suggested that we should ditch our environment abstraction and >>> replace it with the javax.servlet.http set of interfaces, as one step >>> in simplifying Cocoon in >>> http://marc.theaimsgroup.com/?t=113432

Re: [RT] The environment abstraction, part II

2006-01-29 Thread Daniel Fagerstrom
Sylvain Wallez skrev: ... AFAIU, what Daniel is proposing is to add an "extends" statement to our environment interfaces, which are very close to the standard javax.servlet ones. Just like we did with Cocoon's SourceResolver extending Excalibur's SourceResolver. Exactly /Daniel

Re: [RT] The environment abstraction, part II

2006-01-29 Thread Daniel Fagerstrom
Carsten Ziegeler skrev: Daniel Fagerstrom wrote: I suggested that we should ditch our environment abstraction and replace it with the javax.servlet.http set of interfaces, as one step in simplifying Cocoon in http://marc.theaimsgroup.com/?t=11343238821&r=1&w=2. The result of the discussi

Re: [RT] The environment abstraction, part II

2006-01-29 Thread Sylvain Wallez
Carsten Ziegeler wrote: Daniel Fagerstrom wrote: I suggested that we should ditch our environment abstraction and replace it with the javax.servlet.http set of interfaces, as one step in simplifying Cocoon in http://marc.theaimsgroup.com/?t=11343238821&r=1&w=2. The result of the discu

Re: [RT] The environment abstraction, part II

2006-01-28 Thread Carsten Ziegeler
Daniel Fagerstrom wrote: > I suggested that we should ditch our environment abstraction and replace > it with the javax.servlet.http set of interfaces, as one step in > simplifying Cocoon in > http://marc.theaimsgroup.com/?t=11343238821&r=1&w=2. > > The result of the discussion was that the

[RT] The environment abstraction, part II

2006-01-25 Thread Daniel Fagerstrom
I suggested that we should ditch our environment abstraction and replace it with the javax.servlet.http set of interfaces, as one step in simplifying Cocoon in http://marc.theaimsgroup.com/?t=11343238821&r=1&w=2. The result of the discussion was that there are some "extras" in our interfa