Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 23695 invoked from network); 7 Sep 2005 02:18:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Sep 2005 02:18:11 -0000 Received: (qmail 72238 invoked by uid 500); 7 Sep 2005 02:18:10 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 72158 invoked by uid 500); 7 Sep 2005 02:18:10 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" List-Id: Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 72145 invoked by uid 99); 7 Sep 2005 02:18:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 19:18:10 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 06 Sep 2005 19:18:23 -0700 Received: (qmail 23673 invoked by uid 65534); 7 Sep 2005 02:18:09 -0000 Message-ID: <20050907021809.23671.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r279211 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/notes.txt Date: Wed, 07 Sep 2005 02:18:08 -0000 To: svn@forrest.apache.org From: twilliams@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: twilliams Date: Tue Sep 6 19:17:51 2005 New Revision: 279211 URL: http://svn.apache.org/viewcvs?rev=279211&view=rev Log: notes on name-location resolution irc discussion Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/notes.txt (with props) Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/notes.txt URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/notes.txt?rev=279211&view=auto ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/notes.txt (added) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/notes.txt Tue Sep 6 19:17:51 2005 @@ -0,0 +1,82 @@ + +Location Resolution +----------------------- +These are notes from a discussion on using URN-type names instead of filenames for locationmap +resolution. This is a summary of the the relevant pieces of the IRC discussion below. +As a part of the making deeper use of Locationmaps in the core Sitemaps with a goal of +letting locationmaps do all location resolution and letting sitemaps stick to the pipeline +processing. For those that are familiar with name resolution servers or the Handles Service, +it might be easier to think of the locationmap as a name resolution module or sort of a +handle resolution module in that it accepts "names" or whatever you desire to call these +"hints" and returns the location. The thought is that by using file name "looking" hints +it disguises what locationmaps are really doing for us. By using URN-style names, we are +truly disassociating the name/hint form the physical location. + +For example, here is a locationmap entry based purely on filename: + + + +and now below is that same entry using a "name" style. One implies a certain physical location +where as the one below is truly a name that needs to be resolved to a physical location. + + + +The format is essentially: +resource-type(dot)transform-type(dot)from-format(dot)to-format +resource-type(dot)type(dot)name + +Examples of these two: +transform.xslt.xthml2.html +graphic.png.project-logo + + + +twilliams_ i've been thinking lately about using URN's for locationmap resolution to totally separate the physicall locations. I realize you're wanting to get stuff done but maybe just think about it +* rgardler has quit (Remote closed the connection) +* rgardler (n=rgardler@ip-213-92-134-135.aramiska-arc.aramiska.net) has joined #for-s +twilliams_ was wondering if you broke it and took the rest of the night of;) +rgardler No, it was the wireless going down again, so I took a wlk to the sea. Bacl for another hour (I only paid for wireless until midnight GMT) +rgardler So, you've been thinking of URN's for locationmap resolving - tell me more +twilliams_ did your latest commit's work on your machine? +rgardler Yes (I think ;-) +twilliams_ for some sources, it's necessary to pass the path as matched in; for others like the ones we'll find ourselves doing more of in the near future will be for named "things" +rgardler OK +twilliams_ i'm just thinking it' look cleaner if the named things weren't {lm:mystylesheet.xsl} but were a standard scheme of some sort +rgardler Sounds good... +twilliams_ true urns won't work I think because of the ":" +rgardler (about the plugin - I have broken the index.xml page because it is not an XHTML2 page, but the sample works) +rgardler I'm listening regarding the URNs idea... +twilliams_ but we could do "." instead (e.g. {lm:graphic.project.logo} or something +twilliams_ okay, i was only trying the index page +twilliams_ i didn't see .xml on the lm matches though +twilliams_ e.g. +rgardler It's there (straight after the comment +twilliams_ I've got: (no .xml) am i missing something? +twilliams_ the xml isn't included in {0} +rgardler {0} means all of the pattern (i.e. including the .xml) +twilliams_ ok i goofed locally +twilliams_ essentially, instead of having a bunch of filenames in {lm:}'s it'd be some named resources. Stylesheets aren't so clean though +rgardler I just turned the index page into an XHTML page so it works as well now (svn up) +rgardler So, tell me more about the URN idea +rgardler What advantage does it give us over a defined URL space? +twilliams_ looks better and not associated with a physical location (ie filename) +twilliams_ may be cosmetic i suppose but it makes sense that we're going through the work of separating locations from pipeline processing might as well take it one step further +rgardler Ok, I don't see it as a filename, rather a hint +twilliams_ stylesheets don't fit very well obviously +rgardler however, I agree it *looks* like a filename +twilliams_ technically it is a hint +twilliams_ but, when a user sees xthml2html.xsl -- they don't think hint +rgardler so lets make it *not* look like a filename +twilliams_ that's essentially what i'm saying +rgardler :-) Damned IRC - we have the same thoughts but can't communicate them fast enough +rgardler So, what would you suggest in place of xhtml2html.xl? +twilliams_ not sure, stylesheets present the problem because it's not a simple name, we're conveying a lot of meaning in there +rgardler I would be tempted to do something like +twilliams_ transform.xhtml2.html would work if documented that the syntax was resource-type(dot)from-format(dot)to-format +twilliams_ where resource-type could be: transform, style, graphic, etc. +rgardler Looks good (close to what I was going to suggest)... +rgardler The problem I see is that it does not indicate what type of transformer it is... +rgardler i.e. XSLT, chaperon etc... +rgardler We could add a "tranformation type" in there? +twilliams_ yeah, transform.xslt.xhtml.html that's almost long enough to become offensive;) +rgardler Yes, the length is a problem, but it does convey the meaning we need. \ No newline at end of file Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/notes.txt ------------------------------------------------------------------------------ svn:eol-style = native