AW: [Zope3-checkins] Re: [Checkins] SVN:zope.publisher/trunk/src/zope/publisher/ Generalised the skinsupport a bit to allow skins not only for browser but also

Roger Ineichen dev at projekt01.ch
Fri Aug 10 05:42:34 EDT 2007


Hi Stephan, Fred, Christian

> Betreff: [Zope3-checkins] Re: [Checkins] 
> SVN:zope.publisher/trunk/src/zope/publisher/ Generalised the 
> skinsupport a bit to allow skins not only for browser but also

[...]

> I think it was a discussion between me and Jim during a 
> sprint. ;-) We noticed that skins certainly would not make 
> sense for FTP. When I implemented XML-RPC, we did not think 
> it was necessary there either, because XML-RPC represents an 
> API, not a UI.
> 
> I just want to hear at least one use case why this is needed. 
> I still cannot see it.

+1 

for layer where requset is given. But you are right this
is probably not needed for FTP. But also there you can map
ftp://foo.com/bar to a directory and ftp ftp://foo.org/bar
to the same directory with different permission settings.
Probably this makes not sense for FTP. But without layers
you can't do that without proxy things servers side or 
something else more complicated the layers.


The skin or let's say layer support is all about to allow
to register the same view in different projects on one server
with different permission.

I will implement a request type (layer) attribute in the 
zif.jsonserver too as we discussed. Otherwise I can't register
a global JSON method for e.g. live search in one project, it whould
be a global registration based on the packages permission for 
all projects on one server.

I know, we could use the baseregistry for this, but since 
Apache can made a mapping from url to layers/skins it's very 
comfortable to use layers for everything which is based on a 
reguest discriminator

I like to say, that a layer is a namspace for permission 
mappings for different instances on one server in that sense.

Or did I understand something wrong?

Regards
Roger Ineichen

> Regards,
> Stephan
> --
> Stephan Richter
> CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. 
> student) Web2k - Web Software Design, Development and 
> Training _______________________________________________
> Zope3-Checkins mailing list
> Zope3-Checkins at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-checkins
> 



More information about the Checkins mailing list