On 2/28/07, David Karger <[EMAIL PROTECTED]> wrote:
> I agree with Johan that it is good to keep the old forms---not because
> the we need to be backwards compatible, but because those forms were
> generally simpler than the new forms, so the right entry path for new
> exibitors might be to use the old forms until they feel too limited and
> they want the new forms.

My thoughts exactly. (Though backwards compatibility doesn't
particularly hurt, if it comes for free, IMO. And here, it just might,
I think.)

> >> - Change <div id="exhibit-browse-panel" ex:facets=".abc, .def"></div> to
> >>
> >>     <div ex:role="exhibit-facet" ex:expression=".abc" ex:facetLabel="Abc
> >> or whatever"></div>
> >>     <div ex:role="exhibit-facet" ex:expression=".def" ex:facetLabel="Def
> >> or whatever"></div>
> >
> > Would you be against me re-adding support for the old format too (by
> > having it construct above contents from its ex:facets attribute, if
> > found on an empty div of the right id, detected old style)?
>
> Good, but I suggest changing the old
> <div id="exhibit-browse-panel" ex:facets=".abc, .def">
> to
> <div ex:role="exhibit-browse-panel" ex:facets=".abc, .def">
> because the move to ex:role makes sense.

I was thinking of keeping the id so the change does not incur an
additional performance hit (we can query nodes in documents by id
using a speedy DOM native call, but have to traverse the entire
document to find ex:role attributes).

At least I assume that is what David's new code does now; I have not
read through it yet, because it's a huge checkin that isn't unreadable
in email form, and I'm hopeful I'll be able to wait for a fix that
gets us a proper webside changeset browser first, and be up to speed
in five minutes sharp. Apparently your new UROP Mason could get it
done before long, if he only had the bits to set it up:

  http://simile.mit.edu/issues/browse/SIMILE-27

But there is merit to the thought. I think I'd prefer
ex:role="facets-panel" though; I always have to think for a while to
remember the right noun, whereas I always remember the ex:facets
attribute.

> I'd say this should be done by "desugaring" the above into an html
> fragment containing the new syntax, in case the response to the new
> syntax changes later.

We think alike.

-- 
 / Johan Sundström, http://ecmanaut.blogspot.com/

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to