You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Michael Hartle <mh...@hartle-klug.com> on 2001/11/01 20:06:55 UTC

Re: [RT] Integrating Cocoon with WebDAV

Stefano Mazzocchi wrote:

>Michael Hartle wrote:
>
>>Hello all,
>>
>>while looking for previous thoughts on combining Cocoon2 with WebDAV, I
>>luckily stumbled about this post from some time ago. I want to combine
>>Documentum, Cocoon2 and OpenOffice as a flexible
>>CMS/collaboration/portal solution due to some promising results
>>regarding OpenOffice and WebDAV. BTW, once you know you have to activate
>>the OpenOffice load/save dialogs somewhere in the Options (thanks to
>>Jörg Heilig from Sun), loading/saving over WebDAV really works
>>beautifully there.
>>
>><sigh>While MS developed filesystem namespaces to allow stuff like
>>virtual harddrives and the like for Win32, they ruined this wonderful
>>idea later on, for example by providing and using standard File
>>Open/Save dialogs that cannot use anything virtual properly...</sigh>
>>
>> I am looking for a way to perfectly (or better elegantly ?) integrate
>>WebDAV into Cocoon2, being able to provide virtual documents for editing
>>and retrieve the changes made to those virtual documents; as
>>OpenOffice/StarOffice6.0 saves zip archives containing XML files, this
>>practically screams for using Cocoon2 ;)
>>
>
>Ok, let me jump into this since I already spent lots of brain cycles on
>this.
>
Sounds good ;)

>Imagine you have something like a webdav enabled editor: you access the
>the page, you edit it and you PUT it back on that URI.
>
>Now what? XSLT is *NOT* (in general) reversible. Not even talking about
>aggregation, namespace reaction, dynamic XML expansion and so on. There
>is algorithmically no way that you can achive that.
>
I had some thoughts about this topic, too, and basically agree to your 
statement. I also came to the opinion that integrating WebDAV the way 
you just described does not make much sense, as resulting, mostly 
dynamic and intermixed content does not equal editable content. 
Nevertheless, let me give an example why Cocoon and WebDAV would team up 
nicely:

The file format of OpenOffice (http://www.openoffice.org) is a zip 
archive containing several XML files defining the content of an 
OpenOffice "Word" or "Excel" file. OpenOffice has WebDAV support (when 
activated via a checkbox in the options), so it can load and save on the 
web. Using a (yet to be written) CInclude2ZIPSerializer makes dynamic 
Cocoon content available in all OpenOffice components, reaching from 
text documents to spreadsheets to presentations. Moreover, the user can 
comfortably modify the content and save it back, returning it to the 
originating WebDAV server... if this was Cocoon, and the content would 
reach Cocoon in a WebDAV-compliant manner, this would enable editing 
solutions that beat highly expensive solutions like Arbortext Epic or 
SoftQuads XMetal  hands down.

This leads to the result that it is all about "complete atomic content 
units" such as a complete news report, a complete press release or a 
complete financial calculation must be edited instead, using Cocoon to 
retrieve, pack, deliver, receive, unpack and store these contents.

Best regards,

Michael Hartle,
Hartle & Klug GbR


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [RT] Integrating Cocoon with WebDAV

Posted by Michael Hartle <mh...@hartle-klug.com>.
Stefano Mazzocchi wrote:

> Damn, you "stole" some of my next RT about editing :)
>
> No, just kidding, I love to find the same reasoning in other people, 
> it shows I'm not crazy (or at least, there's another one I can talk to :) 

This is what makes Cocoon fun ;)

> What is the status of WebDAV support in OpenOffice?

Well... functionally up and running, as far as I can tell ;) Although 
the OpenOffice load/save dialog usage is currently not exactly a 
pleasure and yet a bit strange when you are accustomed to the standard 
Microsoft load/save dialogs, but I guess this will improve, too.

I tried OpenOffice 638c with the WebDAV-Servlet of Tomcat 4.0.1, and I 
was able to load and save documents from/to a WebDAV-enabled URL without 
any problem. Just remember in case you want to play with StarOffice 6.0 
/ OpenOffice 638c, that you first have to check the checkbox "Use 
StarOffice/OpenOffice dialogs" in the Options, otherwise you will just 
get Microsofts Common Dialogs which due to unfortunate design choices 
cannot handle virtual or remote resources properly and thus cannot allow 
entering a URL  like http://192.168.0.32:8080/webdav without complaining 
about an invalid file C:\http://192.168.0.32:8080/webdav. Maybe I am a 
bit repeditive regarding that option, but it took some time and advice 
until I got that straight ;)

Hm... as I am definitely +1 on WebDAV,  I have to spend some more 
thoughts on that topic...

Best regards,

Michael Hartle,
Hartle & Klug GbR



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [RT] Integrating Cocoon with WebDAV

Posted by Stefano Mazzocchi <st...@apache.org>.
Michael Hartle wrote:

> Stefano Mazzocchi wrote:
> 
>> Michael Hartle wrote:
>>
>>> Hello all,
>>>
>>> while looking for previous thoughts on combining Cocoon2 with WebDAV, I
>>> luckily stumbled about this post from some time ago. I want to combine
>>> Documentum, Cocoon2 and OpenOffice as a flexible
>>> CMS/collaboration/portal solution due to some promising results
>>> regarding OpenOffice and WebDAV. BTW, once you know you have to activate
>>> the OpenOffice load/save dialogs somewhere in the Options (thanks to
>>> Jörg Heilig from Sun), loading/saving over WebDAV really works
>>> beautifully there.
>>>
>>> <sigh>While MS developed filesystem namespaces to allow stuff like
>>> virtual harddrives and the like for Win32, they ruined this wonderful
>>> idea later on, for example by providing and using standard File
>>> Open/Save dialogs that cannot use anything virtual properly...</sigh>
>>>
>>> I am looking for a way to perfectly (or better elegantly ?) integrate
>>> WebDAV into Cocoon2, being able to provide virtual documents for editing
>>> and retrieve the changes made to those virtual documents; as
>>> OpenOffice/StarOffice6.0 saves zip archives containing XML files, this
>>> practically screams for using Cocoon2 ;)
>>>
>>
>> Ok, let me jump into this since I already spent lots of brain cycles on
>> this.
>>
> Sounds good ;)
> 
>> Imagine you have something like a webdav enabled editor: you access the
>> the page, you edit it and you PUT it back on that URI.
>>
>> Now what? XSLT is *NOT* (in general) reversible. Not even talking about
>> aggregation, namespace reaction, dynamic XML expansion and so on. There
>> is algorithmically no way that you can achive that.
>>
> I had some thoughts about this topic, too, and basically agree to your 
> statement. I also came to the opinion that integrating WebDAV the way 
> you just described does not make much sense, as resulting, mostly 
> dynamic and intermixed content does not equal editable content. 
> Nevertheless, let me give an example why Cocoon and WebDAV would team up 
> nicely:
> 
> The file format of OpenOffice (http://www.openoffice.org) is a zip 
> archive containing several XML files defining the content of an 
> OpenOffice "Word" or "Excel" file. OpenOffice has WebDAV support (when 
> activated via a checkbox in the options), so it can load and save on the 
> web. Using a (yet to be written) CInclude2ZIPSerializer makes dynamic 
> Cocoon content available in all OpenOffice components, reaching from 
> text documents to spreadsheets to presentations. Moreover, the user can 
> comfortably modify the content and save it back, returning it to the 
> originating WebDAV server... if this was Cocoon, and the content would 
> reach Cocoon in a WebDAV-compliant manner, this would enable editing 
> solutions that beat highly expensive solutions like Arbortext Epic or 
> SoftQuads XMetal  hands down.
> 
> This leads to the result that it is all about "complete atomic content 
> units" such as a complete news report, a complete press release or a 
> complete financial calculation must be edited instead, using Cocoon to 
> retrieve, pack, deliver, receive, unpack and store these contents.


Damn, you "stole" some of my next RT about editing :)

No, just kidding, I love to find the same reasoning in other people, it 
shows I'm not crazy (or at least, there's another one I can talk to :)

What is the status of WebDAV support in OpenOffice?

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                           able to give birth to a dancing star.
<st...@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org