[Product-Developers] Re: Reflecto and kupu

Martin Aspeli optilude at gmx.net
Thu Jun 5 17:53:20 UTC 2008




wichert wrote:
> 
> Previously Martin Aspeli wrote:
>> However, I think being able to treat images separately from regular files
>> can make a lot of sense, especially if we ship with kupu integration so
>> that
>> using reflecto'd media (presumably a big use case for reflecto) in kupu
>> is
>> natural. It doens't look very difficult, even, if I'm understanding
>> correctly?
> 
> The original use case was only exposing downloads managed via the
> filesystem through a website. 
> 
>> Perhaps we just want to make the lookup of the proxy class into e.g. a
>> named
>> utility lookup using file extension as the name?
> 
> I think you are overusing the ZCA too much - it may be a big hammer
> but not everything is a nail :). A simpe lookup table or perhaps a hook
> into the existing content_type_registry should be more than enough. All
> you need is a major mime type -> content type mapping.
> 

Sure - my thinking was just that it would mean third party packages could
hook in new proxy types, e.g. for things like MS office support or whatever.

Would you be amenable to having this kind of thing Reflecto, though? I may
have scope to implement it on a current project.

Martin
-- 
View this message in context: http://www.nabble.com/Reflecto-and-kupu-tp17670400s20094p17675976.html
Sent from the Product Developers mailing list archive at Nabble.com.





More information about the Product-Developers mailing list