Jon Stevens wrote:
>
> on 9/24/2000 1:54 PM, "Geir Magnusson Jr." <[EMAIL PROTECTED]> wrote:
>
> > But we don't add any directives to the language here. I agree with you
> > that the core language should remain small. Real small.
>
> How is #isNull not a directive?
Sorry. I guess I meant that it wasn't a directive in the formal sense,
by that I mean adding elements to the language, because my intention was
interpret-time expansion into a snippet of macro code of 'regular'
directives.
But yes, structurally its a directive.
> > #showSmallTitle( "the title", "red")
> >
> > where
> >
> > showSmallTitle(x,y) := <center><b><font color=y>x</font></b></center>
>
> In Turbine, that is:
>
> $navigation.setTemplate("/foo.wm")
>
That's fine. I use the same pattern in WM to frame content with the
appropriate navigation and style framework. But there is only one in
the frame, corresponding to the content body. I don't think you would
want to scatter $navigation.setTemplate(---) throughout every <input>
tag where you want to check for a null value, would you?
> Again, #showSmallTitle is a directive because it is prefixed with a #.
Yes. Agreed.
>
> > I mean, if it was argued that adding multiple syntaxes to the language
> > was important to support special tasks and repetitive tasks, here is a
> > way of doing it w/o adding complexity to the engine.
> >
> > Further, this allows an uber-designer to create tools for a design group
> > to use to maintain consistancy in look/feel/design.
>
> Na...Turbine already does that. You are getting off focus here.
What about those of us (obviously foolish souls) that don't use Turbine?
--
Geir Magnusson Jr.
[EMAIL PROTECTED]