You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Henning Schmiedehausen <hp...@intermeta.de> on 2003/04/02 19:16:04 UTC
cvs commit:
jakarta-turbine-2/proposals/henning/new-uri/src/java/org/apache/turbine/util/uri
BaseURI.java DataURI.java TemplateURI.java TurbineURI.java URIParam.java
URIUtils.java
henning 2003/04/02 09:11:34
Added: proposals/henning/new-uri README
proposals/henning/new-uri/src/java/org/apache/turbine/services/pull/tool
ContentTool.java RelativeTemplateLink.java
TemplateLink.java TemplateLinkWithSlash.java
proposals/henning/new-uri/src/java/org/apache/turbine/util/uri
BaseURI.java DataURI.java TemplateURI.java
TurbineURI.java URIParam.java URIUtils.java
Log:
A new implementation of the whole URI handling in Turbine. This is intented
to be a "drop in" replacement for the current mess.
Testers welcome, comments wanted! Please read the README file.
Revision Changes Path
1.1 jakarta-turbine-2/proposals/henning/new-uri/README
Index: README
===================================================================
Version: $Id: README,v 1.1 2003/04/02 17:11:33 henning Exp $
Author: Henning P. Schmiedehausen <hp...@intermeta.de>
org.apache.turbine.util.uri.BaseURI
org.apache.turbine.util.uri.DataURI
org.apache.turbine.util.uri.TemplateURI
org.apache.turbine.util.uri.TurbineURI
org.apache.turbine.util.uri.URIParam
org.apache.turbine.util.uri.URIUtils
org.apache.turbine.services.pull.tool.ContentTool
org.apache.turbine.services.pull.tool.RelativeTemplateLink
org.apache.turbine.services.pull.tool.TemplateLink
org.apache.turbine.services.pull.tool.TemplateLinkWithSlash
This package provides a new implementation for storing URIs and using
them in templates in Turbine. It avoids the confusion that arose from
mixing tools with internal classes and provides a uniform access to
the various URI types in Turbine.
This is intended to replace the following classes:
org.apache.turbine.util.ContentURI.java
org.apache.turbine.util.DynamicURI.java
org.apache.turbine.util.RelativeDynamicURI.java
org.apache.turbine.util.RelativeTemplateLink.java
org.apache.turbine.util.TemplateLink.java
org.apache.turbine.util.TemplateLinkWithSlash.java
If you want to try it out, simply copy the tree under src/java onto
the Turbine-2.3 HEAD tree in src/java and rebuild Turbine.
Then change the definition of the following pull tools:
tool.request.link = org.apache.turbine.services.pull.tools.TemplateLink
tool.request.content = org.apache.turbine.services.pull.tools.ContentTool
and restart your Turbine.
[... ommitted, because of > 100.000 bytes ... ]
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org