[Zope3-dev] Re: Better access to APIs in paths (was Re:
needingviewsclues - template/title troubles)
John D. Heintz
jheintz@isogen.com
25 Feb 2003 15:57:48 -0600
Ug, I meant:
On Tue, 2003-02-25 at 15:38, John D. Heintz wrote:
> URIs are necessary here, are they?
URIs aren't necessary here, are they?
Sorry for the accidental sarcasm... ;-(
>
> See the Saxon XSLT examples for a package that uses Java class names.
> http://saxon.sourceforge.net/saxon6.5.1/extensibility.html#Writing-extension-functions
>
> John
>
> On Tue, 2003-02-25 at 15:30, Jim Fulton wrote:
> > Shane Hathaway wrote:
> > > Jim Fulton wrote:
> > >
> >
> > ...
> >
> > >> I really don't think that the declaration adds anything but ceremony
> > >> in your example.
> > >
> > >
> > > I agree. But is it really safe to declare the extra-short acronym "sf"
> > > for all Zope users everywhere? A lot of people would think of
> > > Sourceforge, since "http://sf.net" redirects you to sourceforge.net.
> >
> > We'd probably want to pick a better name, like, uh, "format".
> >
> >
> > > Declaring namespaces in a template makes it more self-contained. If I
> > > want to know if I can use a template outside Zope, or in a different
> > > version of Zope, I have to know what APIs it depends on. If the
> > > template declares namespaces, reuse is easier. If *all* the templates
> > > I'm interested in reusing declare namespaces, reuse is much easier.
> >
> > Adding the namespace ceremony doesn't make the template self contained.
> > It won't work unless someone has separately configured some code to
> > implement the API.
> >
> > The only thing the declaration gives you is the ability to use the
> > same prefix for different APIs.
> >
> > Jim
> >
> >
> > --
> > Jim Fulton mailto:jim@zope.com Python Powered!
> > CTO (888) 344-4332 http://www.python.org
> > Zope Corporation http://www.zope.com http://www.zope.org
> >
> >
> > _______________________________________________
> > Zope3-dev mailing list
> > Zope3-dev@zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-dev
> --
> John D. Heintz | Senior Developer
>
> 1016 La Posada Dr. | Suite 240 | Austin TX 78752
> T 512.380.0347 | jheintz at isogen.com
>
> http://www.isogen.com
>
>
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-dev
--
John D. Heintz | Senior Developer
1016 La Posada Dr. | Suite 240 | Austin TX 78752
T 512.380.0347 | jheintz at isogen.com
http://www.isogen.com