Re: Styling class proposal

From: Emmanuel Pietriga <Emmanuel.Pietriga_at_lri.fr>
Date: Thu, 16 Jun 2005 18:46:52 +0200

Ryan Lee wrote:
> Emmanuel Pietriga wrote:
>
>> As Chris, I'm very happy with the whole proposal. A few comments:
>>
>> 1) I'm a little worried about fresnel:Transform's "domain". Looking at
>> your example, it looks like you declare a Transform globally, and that
>> you define its scope/domain only by specifying
>> fresnel:transformProperty, giving the name of the property. Meaning
>> that it applies to all such properties, no matter the context of their
>> display (e.g., by which lens are they displayed). However, I can very
>> well imagine that for the same property type, people would like
>> different transforms to happen depending on the context (e.g. what
>> lens is displaying this property). Using FSL selectors as the value of
>> fresnel:transformProperty only solves part of the problem (it puts
>> constraints on the property's context (in the RDF graph), but not on
>> the presentation context (what lens/group is currently used to display
>> this bit of information). Or maybe I have missed something and you can
>> do something like that, maybe using groups, e.g. by associating the
>> Transform toa group?
>
>
> (using 'Transform' solely for the purpose of differentiating between our
> old Styles and what we aim to do now)
>
> In our previous vocabulary, Styles and Lenses were generally supposed to
> be grouped together for greater effect. My implementation experience
> grouped ungrouped strays together; 'global' doesn't mean quite the same
> thing to me since everything ended up in a group of some sort. The
> catch all group just didn't tend to look consistent. A Transform should
> be intentionally grouped with related lenses.
>
> I believe the intent behind using the :styleDomain is because we felt
> that it would cut out repetitive delcarations - associating Styles
> directly with the Lens would end up at least requiring a link from Lens
> to Style. I think it's probably the same for :transformDomain. For
> Styles, we gave ourselves an override in :PropertyDescription and :use
> in Lenses, and it could be the same for Transforms.

That's fine with me.

Emmanuel



> [[[
> :foafPersonDefaultLens rdf:type fresnel:Lens ;
> fresnel:domain foaf:Person ;
> fresnel:showProperties ( foaf:name
> foaf:surname
> [ rdf:type fresnel:PropertyDetails ;
> fresnel:property foaf:knows ;
> fresnel:sublens :friendsLens ;
> fresnel:use :someTransform ] ) .
> ]]]


-- 
Emmanuel Pietriga
INRIA Futurs - Projet In Situ    tel : +33 1 69 15 34 66
Bat 490, Université Paris-Sud    fax : +33 1 69 15 65 86
91405 ORSAY Cedex FRANCE     http://www.lri.fr/~pietriga
Received on Thu Jun 16 2005 - 16:44:49 EDT

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:40:51 EDT