forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: [RT] plugin infrastructure
Date Tue, 09 Nov 2004 18:32:15 GMT
Dave Brondsema wrote:
> On Mon, 8 Nov 2004, Ross Gardler wrote:
> 
>>Nicola Ken Barozzi wrote:
...
>>>    Proposal:
>>>
>>>      MyClass.java
>>>         -> MyClass-javadocs.html   javadocs
>>>         -> MyClass-uml.html        UML graph
>>>         -> MyClass-source.html     highlighted source code
>>>         -> MyClass-checkstyle.html checkstyle result
>>
>>I already came across this very issue in the s5 (slides) plugin and the
>>(soon to be announced) WYSIWYG editor plugin.
>>
>>My current solution has been to encode it in the URL, i.e.
>>slides/index.html gives the slides, index.html gives the default HTML
>>output. The problem with this solution, is that it causes some
>>complications with relative linking from one type of document to the
>>other (i.e. slides to normal HTML) and it reserves some patterns in the
>>URL space.
> 
> I would suggests MyClass.javadocs.html, MyClass.source.html, etc.  This
> would be in alignment with the filename format used in content negotiation
> by Apache HTTPD.  We've discussed this already in terms of i18n.
> 
> http://httpd.apache.org/docs-2.0/content-negotiation.html

Excellent, I like it! :-)

+1

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message