[Zope-dev] MethodGeddon

Shane Hathaway shane@digicool.com
Tue, 01 Aug 2000 11:46:31 -0400


Chris Withers wrote:
> 
> Shane Hathaway wrote:
> > After more pondering I decided to throw out the idea for typed
> > arguments.  I was trying to solve a difficult problem with a
> > roundabout, and in the end more difficult solution.
> 
> I thought that's what the following proposal was all about? :S
> http://dev.zope.org/Wikis/DevSite/Proposals/DTMLExpressionSyntax
> 
> The idea being to have the form:
> <dtml-TAGNAME ATTRIBUTE-FORMAT="VALUE">
> 
> instead
> 
> where FORMAT is in effect the type...
> 
> ...or have I got that wrong?

Hmm.  No, that's not really related.

> 
> > > Is it in the fishbowl under another name or should it be in the
> > > fishbowl?
> >
> > It would actually fall under the the "Current Projects" section.
> >
> > http://dev.zope.org/Wikis/DevSite/Projects/PythonMethods/MethodObjectInterface
> 
> Hurm, have I duplicated that with this?
> http://dev.zope.org/Wikis/DevSite/Proposals/GenericMethodInterface
> 
> If so, how do we squish the two together?

Just make sure they both refer to each other for now.

> How about having a 'Method' base class for _all_ methods, as I suggested
> in my proposal, which would provide the calling interface as well as
> some standard 'Method' management tabs?

That's the plan.  In fact, there is a difference between "templates"
and "methods", so the base class might be called "MethodOrTemplate".

> I like the idea of having a bindings tab and an argument tab. Why is
> that a bad idea? :-)

It's not, really, but the current management interface is restrictive
on the number of tabs you should use.

Shane