[Zope3-checkins] SVN: Zope3/branches/philikon-simplify-skinning/src/zope/app/zopetop/ftests.py get rid of weird dotted names of skins in urls.

Philipp von Weitershausen philipp at weitershausen.de
Tue Feb 21 11:13:57 EST 2006


Stephan Richter wrote:
>>Which "API"? Got a link to the proposal?
> 
> http://www.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/ImplementViewsAsAdapters
> 
> Though I do not see this particualr decision. Jim and I must have discussed it 
> elsewhere.

I see. Well, if it's not in the proposal... ;)

>>The name a skin interface is registered with is usually meant to be seen
>>by the end user. They're descriptive names. Dotted names in an end user
>>interface would seem awkward.
> 
> 
> Anyways, the idea was that the skin name is *not* public at all, but always 
> hidden by Apache or specified as the default skin. The idea was to phase out 
> skin names altogether and only specify the skin interface. So to that effect 
> you have undone this implementation.

I guess, as my proposal suggests that skin names might be important to
users. In fact, this idea is based on usecases people had (Martijn for
example, IIRC). It wasn't necessarily mine.

If you want something hidden to the user, you should disable ++skin++
and have your own request factory put your layers on the request. There
is no "skin" needed for that anymore (as skins are just layers that
happen to be registered as IBrowserSkinType interfaces and with a name).


Anyway, I'm basically done with the implementation now, so looking for
feedback...

Philipp


More information about the Zope3-Checkins mailing list