[pmwiki-users] Properties
Patrick R. Michaud
pmichaud at pobox.com
Wed Dec 14 11:49:18 CST 2005
On Wed, Dec 14, 2005 at 12:43:10PM -0500, Martin Fick wrote:
> On Wed, Dec 14, 2005 at 10:31:01AM -0600, Patrick R. Michaud wrote:
> > So, since properties aren't always saved, we can't really have a
> > markup that says "display property XYZ for page ABC" unless we're
> > willing to process page ABC's markup each time, or always save all
> > of its properties as something other than attributes.
>
> Unless we treated them as invariants per page. Then our
> lookup would not have to process the markup, but rather just
> search it like an include currently does.
Alas, it might not be quite that simple:
(:property xyz {$Name}:)
[=(:property this_is_not_a_property value:)=]
> Well, I am starting to wonder the same thing, it seems
> like a grand unification of ideas might be merrited. :)
>
> It seems hard to remember if something is a variable, a
> property, a saved property or an attribute, and what are the
> different behaviours of each, and do they need to be that
> way? Accessibility outside of a page (scope?), provided by
> pmwiki (constants?), author alterable, searchable, available
> to conditions, page invariant (constants?), ...very
> confusing.
Yes, and for a variety of reasons we need to be able to support
*all* of the above behaviors and restrictions, so unification
is going to be a bit tricky.
Pm
More information about the pmwiki-users
mailing list