I've updated http://dev.zope.org/Zope3/TALESPathExpressionAdapters
based on comments to date.
I think we are narrowing down on a short syntx of the form:
ob/##adaptername
where '#' is some character. See the proposal for reasons.
I've also given the current status there.
Jim
Jim Fulton wrote:
Ji
Chris Withers wrote:
How does:
"take adapter, apply to it object with name as a parameter"
That's close to the meaning of Even Simpson's Zope 2 ':' extension.
Which is why we don't want to use this syntax for adapters.
...differ from:
Well, what we did in bristol, enabled:
my_content_object/zop
How does:
"take adapter, apply to it object with name as a parameter"
That's close to the meaning of Even Simpson's Zope 2 ':' extension.
Which is why we don't want to use this syntax for adapters.
...differ from:
Well, what we did in bristol, enabled:
my_content_object/zope:title
Which really ge
Chris Withers wrote:
Jim Fulton wrote:
Yup. We implemented:
ob/adapter:name
...which to me says:
"take adapter, apply to it object with name as a parameter"
That's close to the meaning of Even Simpson's Zope 2 ':' extension.
Which is why we don't want to use this syntax for adapters.
...what I'd
Jim Fulton wrote:
Yup. We implemented:
ob/adapter:name
...which to me says:
"take adapter, apply to it object with name as a parameter"
...what I'd like it to say would give meaning to:
my_content_object/zapi:title
...meaning apply the title adapter from the zapi package to my_content_object,
wh
Chris Withers wrote:
...
I thought we had this whole discussion about 1-2 years ago, and I
REMEMBER writing CODE for this back then that involved : as the adapter
indicator.
Yup. We implemented:
ob/adapter:name
which is equivalent to:
ob/adapter:/name
and, in fact, you can say just:
ob/adap
Garrett Smith wrote:
I want to thank everyone who's participating in this
thread. The input is extremely valuable.
This might get an award for longest thread before The Edict is handed
down ;)
Yeah, and I have to admit being a bemused bystander...
I thought we had this whole discussion about 1-2 y
Garrett Smith wrote:
What was the reasoning behind selecting @@ for the view namespace
shortcut? (IIRC, the motivation was to use characters that could be used
in URLs, but I'm not sure that's an issue for adapters...or is it?)
Legal in urls, no English. @@ looks like two eyes viwing something. :
On Friday 28 May 2004 11:21, Garrett Smith wrote:
> What was the reasoning behind selecting @@ for the view namespace
> shortcut?
Because it looks like two eyes.
> (IIRC, the motivation was to use characters that could be used
> in URLs, but I'm not sure that's an issue for adapters...or is it?)
On Friday 28 May 2004 11:21, Garrett Smith wrote:
> context/##dc/title
Not so good; looks convoluted.
> context/**dc/title
This one looks good. Remind me of the power of a number, like dc takes over
context. :-)
> context/::dc/title
I am fine with this one as well.
Regards,
Stephan
On Friday 28 May 2004 02:48, Philipp von Weitershausen wrote:
> Garrett Smith wrote:
> > This problem seems analogous to view lookup --
> > "content/++view++index.html" and "content/@@index.html" are equivalent.
> >
> > So, applied to adapters, we could use:
> >
> > content/++adapter++dc/title (o
On Thu, May 27, 2004 at 10:00:50PM +0200, Tonico Strasser wrote:
> Jim Fulton wrote:
> >On IRC, Martijn Faassen suggested (brainstormed really :) '#', as in:
> >
> > context#dc/title
> >
> >I like this becase # kinda looks like a special kind of slash. :)
Looks ok to me.
> Hm, special kind of s
Casey Duncan wrote:
On Fri, 21 May 2004 09:07:24 -0400
Jim Fulton <[EMAIL PROTECTED]> wrote:
Jim Fulton wrote:
I've posted two proposals:
http://dev.zope.org/Zope3/TALESPathExpressionAdapters
Proposes a mechanism for easily using adapters in TALES expressions.
http://dev.zope.org/Zope3/ZPTVariab
On Wed, 19 May 2004 17:01:57 -0400
Jim Fulton <[EMAIL PROTECTED]> wrote:
> Casey Duncan wrote:
[..]
> > Which seems reasonable. The dotted notation seems ok, but it implies
> > that this notation is recognized in general in path expressions
> > which is confusing because it isn't. If we didn't use
Casey Duncan wrote:
On Wed, 19 May 2004 16:00:43 -0400
Jim Fulton <[EMAIL PROTECTED]> wrote:
I've posted two proposals:
http://dev.zope.org/Zope3/TALESPathExpressionAdapters
I have to say I am not found of "*",
I'm not attached to '*'. Feel free to suggest alternatives
(other than ':', '/', '|
15 matches
Mail list logo