[Zope3-Users] Re: AW: View or content provider

Daniel Nouri daniel.nouri at gmail.com
Mon Jul 16 19:32:24 EDT 2007


Roger Ineichen wrote:
>> I need very basic content providers to generate HTML contents 
>> from a set of classes, inside pages templates.
>> Is there a huge difference between using views (and 
>> "context/@@viewname"
>> syntax) and using content providers (with "provider:providername"
>> syntax), mainly in terms of performances, CPU usage and/or 
>> memory usage ??
>>
>> Thanks for any advise for this simple "problem", as both 
>> methods work perfectly...
> 
> I do not recommend using views for content that is only 
> used inside a template. Because "context/@@viewname"
> is also traversable as a real view and will probably show
> up in google.

How would it show up in Google?  Google bots don't try arbitrary URLs, they
follow links.

Using ordinary views for parts of a HTML page works perfectly for me.


Daniel



More information about the Zope3-users mailing list