Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 15429 invoked by uid 500); 9 Oct 2001 20:31:43 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 15409 invoked from network); 9 Oct 2001 20:31:42 -0000 From: "Liam Morley" To: Subject: RE: SV: Cocoon examples? Date: Tue, 9 Oct 2001 16:31:35 -0400 Message-ID: <001501c15101$64079440$01000001@IMOTIC> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C150DF.DCF5F440" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <002201c150e6$56ef2d60$3d3910ac@mt39neigaard> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0016_01C150DF.DCF5F440 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable First of all, you shouldn't need to, under normal circumstances; your servlet container does it. However, if you want to see inside a WAR without the servlet container doing it for you, it follows the same protocol as a ZIP file. So, from windows, just rename it to .zip, and unzip it. =20 Liam Morley =20 -----Original Message----- From: S=F8ren Neigaard [mailto:neigaard@mobilethink.dk]=20 Sent: Tuesday, October 09, 2001 1:18 PM To: cocoon-users@xml.apache.org; 'S=F8ren_Neigaard' Subject: SV: SV: Cocoon examples? =20 How do I unpack a WAR? -----Oprindelig meddelelse----- Fra: Jeremy Aston [mailto:jeremyaston@yahoo.co.uk] Sendt: 8. oktober 2001 07:42 Til: S=F8ren_Neigaard; cocoon-users@xml.apache.org Emne: Re: SV: Cocoon examples? Hi Soren,=20 Thanks for the comments.=20 I'm not sure that the map command you suggest would work however even it does then I would still use XSP. About 18 months ago I spent alot of time trying to work out the best way of building multi-lingual, branded sites using a java architecture. I thought XML/XSL offered alot of options however did not extend the whole thing to logicsheets. Once I saw Cocoon and logicsheets I found that someone had written a full implementation of the stuff I was mucking around with.=20 XSP on it's own does not offer a load more over a JSP type approach however with logicsheets you have alot of power. You have the ability to embed logic in the logicsheet or mix and match with bean calls to business logic, just like in JSP, but with a nice XML wrapping around it. I will be putting some more examples up on cTwIG in the next few days I hope btw.=20 If you compare it with actual servlets then IMHO XSP/Logicsheets/XSL offers a far better technology for publishing than raw servlets. Servlets have their place, in non presentational scenarios such as data exchange or some kind of SOAP environment for example, but I really do think that the Cocoon approach is the best publishing platform I have seen.=20 In my experience - 99% of the time whatever you munge around with business logic needs to be displayed. No matter how far you go with a "MVC" tiered approach, the results of logic have to be stuck into presenation code. Servlets will not make that easier - well designed XML/XSP/Logicsheets/XSL does.=20 Stepping off his soapbox...=20 Jez=20 S=F8ren_Neigaard wrote:=20 Great intro, thanks :) I'm still confused at one point though (well more than one, but here the most). I have some businessobjects I want to retrive data from (maybe as XML), and use this data as input for Cocoon. How is this done? I absolutly don't want to use XSP (I don't like the mix of content and logic). Should I set the "" = src to point at a servlet that returns XML? This sounds like a bad idea too me though, but it's my best idea. =20 Any ideas? -----Oprindelig meddelelse----- Fra: Jeremy Aston [mailto:jeremyaston@yahoo.co.uk] Sendt: 8. oktober 2001 01:15 Til: cocoon-users@xml.apache.org Emne: Re: Cocoon examples? Hi Soren,=20 You may also want to check out the idiots guide at http://www.pigbite.co.uk/ctwig/index.html=20 Best regards=20 Jeremy=20 S=F8ren_Neigaard wrote:=20 Are there any examples shipped with Cocoon2? I'm having some trubles finding out how it all works, so maybe some examples where I can see what to do, all the way from Java Servlets to XSL? Med venlig hilsen/Best regards S=F8ren Neigaard ------------------------------- Mobilethink A/S Arosgaarden =C5boulevarden 23, 5.sal DK - 8000 =C5rhus C Telefon: +45 86207800 Direct: +45 86207810 Fax: +45 86207801 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting.=20 To unsubscribe, e-mail:=20 For additional commands, e-mail:=20 =20 _____ =20 Do You Yahoo!? Get your free Yahoo! address at Yahoo! Mail: UK or IE . =20 _____ =20 Do You Yahoo!? Get your free Yahoo! address at Yahoo! Mail: UK or IE . ------=_NextPart_000_0016_01C150DF.DCF5F440 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

First of all, you shouldn't need = to, under normal circumstances; your servlet container does it. However, if = you want to see inside a WAR without the servlet container doing it for you, = it follows the same protocol as a ZIP file. So, from windows, just rename = it to .zip, and unzip it.

 

Liam = Morley

 

-----Original = Message-----
From: S=F8ren Neigaard [mailto:neigaard@mobilethink.dk]
Sent: Tuesday, October = 09, 2001 1:18 PM
To: = cocoon-users@xml.apache.org; 'S=F8ren_Neigaard'
Subject: SV: SV: Cocoon = examples?

 

How do I unpack = a WAR?

-----Oprindelig meddelelse-----
Fra: Jeremy Aston [mailto:jeremyaston@yahoo.co.uk]
Sendt: 8. oktober 2001 = 07:42
Til: S=F8ren_Neigaard; cocoon-users@xml.apache.org
Emne: Re: SV: Cocoon = examples?

Hi Soren,

Thanks for the comments. =

I'm not sure that the map command you suggest = would work however even it does then I would still use XSP.  About 18 = months ago I spent alot of time trying to work out the best way of building = multi-lingual, branded sites using a java architecture.  I thought XML/XSL offered = alot of options however did not extend the whole thing to logicsheets.  = Once I saw Cocoon and logicsheets I found that someone had written a full implementation of the stuff I was mucking around with. =

XSP on it's own does not offer a load more = over a JSP type approach however with logicsheets you have alot of power.  You = have the ability to embed logic in the logicsheet or mix and match = with bean calls to business logic, just like in JSP, but with a nice XML wrapping = around it.  I will be putting some more examples up on cTwIG in the next = few days I hope btw.

If you compare it with actual servlets then = IMHO XSP/Logicsheets/XSL offers a far better technology for publishing than = raw servlets.  Servlets have their place, in non presentational = scenarios such as data exchange or some kind of SOAP environment for example, but I = really do think that the Cocoon approach is the best publishing platform I have = seen.

In my experience - 99% of the time whatever = you munge around with business logic needs to be displayed.  No matter how = far you go with a "MVC" tiered approach, the results of logic have to = be stuck into presenation code.  Servlets will not make that easier - = well designed XML/XSP/Logicsheets/XSL does.

Stepping off his soapbox... =

Jez

S=F8ren_Nei= gaard <neigaard@mobilethink.dk> wrote: =

Great intro, = thanks :) I'm still confused at one point though (well more than one, but here the = most). I have some businessobjects I want to retrive data from (maybe as XML), = and use this data as input for Cocoon. How is this done? I absolutly don't want = to use XSP (I don't like the mix of content and logic). Should I set the "<map:generate src=3D""/>" src to point at a = servlet that returns XML? This sounds like a bad idea too me though, but it's my = best idea.

 

Any = ideas?

-----Oprindelig meddelelse-----
Fra: Jeremy Aston [mailto:jeremyaston@yahoo.co.uk]
Sendt: 8. oktober 2001 = 01:15
Til: = cocoon-users@xml.apache.org
Emne: Re: Cocoon = examples?

Hi Soren,

You may also want to check out the idiots = guide at http://www.pigbite.co.= uk/ctwig/index.html

Best regards

Jeremy

  S=F8ren_Neigaard <neigaard@mobilethink.dk> = wrote:

Are there any examples shipped with Cocoon2? = I'm having some trubles finding
out how it all works, so maybe some examples where I can see what to do, = all
the way from Java Servlets to XSL?

Med venlig hilsen/Best regards
S=F8ren Neigaard
-------------------------------
Mobilethink A/S
Arosgaarden
=C5boulevarden 23, 5.sal
DK - 8000 =C5rhus C
Telefon: +45 86207800
Direct: +45 86207810
Fax: +45 86207801


---------------------------------------------------------------------
= Please check that your question has not already been answered in the
FAQ before posting.

To unsubscribe, e-mail:
For additional commands, = e-mail:

 


Do You Yahoo!?
Get your free Yahoo! address at Yahoo! Mail: UK or IE.

 


Do You Yahoo!?
Get your free Yahoo! address at Yahoo! Mail: UK or IE.

------=_NextPart_000_0016_01C150DF.DCF5F440--