<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-8212254010436871241.post2234444080702819626..comments</id><updated>2009-05-12T09:20:52.292+02:00</updated><title type='text'>Comments on Mock It!: Viewlets are simple again</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mockit.blogspot.com/feeds/2234444080702819626/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html'/><author><name>malthe</name><uri>http://www.blogger.com/profile/06350993952511336935</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-1781028919675959831</id><published>2008-01-04T15:41:00.000+01:00</published><updated>2008-01-04T15:41:00.000+01:00</updated><title type='text'>Certainly with the current approach, this is possi...</title><content type='html'>Certainly with the current approach, this is possible but would probably hurt performance a lot.&lt;BR/&gt;&lt;BR/&gt;There's only one instance of the PageTemplate object and it would have to compile the template each time we change the source (discriminated on the layer).&lt;BR/&gt;&lt;BR/&gt;To support layers like this we'd need to spawn new PageTemplate object instances for each different file source and then choose the right instance on the render method.&lt;BR/&gt;&lt;BR/&gt;This approach needs some considering I think, but I can certainly see that it's useful to support layers.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/1781028919675959831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/1781028919675959831'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1199457660000#c1781028919675959831' title=''/><author><name>malthe</name><uri>http://www.blogger.com/profile/06350993952511336935</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00836402726323686912'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-8408453498829050988</id><published>2008-01-04T15:31:00.000+01:00</published><updated>2008-01-04T15:31:00.000+01:00</updated><title type='text'>It doesn't seem possible to use a 'layer' with the...</title><content type='html'>It doesn't seem possible to use a 'layer' with the templateOverrides directive, e.g. layer=".interfaces.IThemeSpecific".  This would be nice so that you aren't overriding the templates for all Plone sites in the instance.  Any thoughts on that?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/8408453498829050988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/8408453498829050988'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1199457060000#c8408453498829050988' title=''/><author><name>claytron</name><uri>http://www.blogger.com/profile/13033722905290393004</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-5905464355588814182</id><published>2007-12-14T21:22:00.000+01:00</published><updated>2007-12-14T21:22:00.000+01:00</updated><title type='text'>thanks, works perfectly!</title><content type='html'>thanks, works perfectly!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/5905464355588814182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/5905464355588814182'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1197663720000#c5905464355588814182' title=''/><author><name>hari</name><uri>http://www.blogger.com/profile/11589688727467952815</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-8746168804627415636</id><published>2007-12-14T17:17:00.000+01:00</published><updated>2007-12-14T17:17:00.000+01:00</updated><title type='text'>You need to add a declaration for the browser name...</title><content type='html'>You need to add a declaration for the browser namespace; see any browser/configure.zcml in the plone packages.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/8746168804627415636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/8746168804627415636'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1197649020000#c8746168804627415636' title=''/><author><name>malthe</name><uri>http://www.blogger.com/profile/06350993952511336935</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00836402726323686912'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-8719303382490327948</id><published>2007-12-14T17:15:00.000+01:00</published><updated>2007-12-14T17:15:00.000+01:00</updated><title type='text'>dear all, i'm zope/plone newbie and this post make...</title><content type='html'>dear all, i'm zope/plone newbie and this post makes my task to create a custom skin for a plone instance much easier; however, one problem: installed the egg and followed instructions from readme (put the respective package include into meta.zcml in my skin-product) and get a ZopeSAXParseException "unbound prefix" - probably a beginners error, any hints for me? thanks a lot</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/8719303382490327948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/8719303382490327948'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1197648900000#c8719303382490327948' title=''/><author><name>hari</name><uri>http://www.blogger.com/profile/11589688727467952815</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-1473360034853597126</id><published>2007-11-29T22:30:00.000+01:00</published><updated>2007-11-29T22:30:00.000+01:00</updated><title type='text'>I'm using it. Just easy_install z3c.jbot or add it...</title><content type='html'>I'm using it. Just easy_install z3c.jbot or add it to your buildout. There's further instructions in the README.txt.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/1473360034853597126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/1473360034853597126'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1196371800000#c1473360034853597126' title=''/><author><name>malthe</name><uri>http://www.blogger.com/profile/06350993952511336935</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00836402726323686912'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-6368920706250103583</id><published>2007-11-29T20:53:00.000+01:00</published><updated>2007-11-29T20:53:00.000+01:00</updated><title type='text'>when can we look forward to using this? :)</title><content type='html'>when can we look forward to using this? :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/6368920706250103583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/6368920706250103583'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1196365980000#c6368920706250103583' title=''/><author><name>robzonenet</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-4104314948666576198</id><published>2007-11-28T16:55:00.000+01:00</published><updated>2007-11-28T16:55:00.000+01:00</updated><title type='text'>oooohhhh Heading home to change my pants</title><content type='html'>oooohhhh Heading home to change my pants</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/4104314948666576198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/4104314948666576198'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1196265300000#c4104314948666576198' title=''/><author><name>Rob</name><uri>http://www.blogger.com/profile/02440650949407916533</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-2242049710187754827</id><published>2007-11-28T14:40:00.000+01:00</published><updated>2007-11-28T14:40:00.000+01:00</updated><title type='text'>claytron is right. I just peed myself. This is rea...</title><content type='html'>claytron is right. I just peed myself. This is really cool!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/2242049710187754827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/2242049710187754827'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1196257200000#c2242049710187754827' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-7385270443895664162</id><published>2007-11-28T10:33:00.000+01:00</published><updated>2007-11-28T10:33:00.000+01:00</updated><title type='text'>Thanks for the feedback everyone. Just a note that...</title><content type='html'>Thanks for the feedback everyone. Just a note that I've fixed the package so it works in production mode as well.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/7385270443895664162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/7385270443895664162'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1196242380000#c7385270443895664162' title=''/><author><name>malthe</name><uri>http://www.blogger.com/profile/06350993952511336935</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00836402726323686912'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-8877774501041650733</id><published>2007-11-28T09:39:00.000+01:00</published><updated>2007-11-28T09:39:00.000+01:00</updated><title type='text'>Ooooh, I like this. :-)@Jon - inclusion in plone c...</title><content type='html'>Ooooh, I like this. :-)&lt;BR/&gt;&lt;BR/&gt;@Jon - inclusion in plone core may be a good idea, but note that it's absolutely not a pre-requisite. Unless I'm missing something, this is a standalone package. Put "install_requires='z3c.jbot'" in your setup.py and you can just start using it. Today.&lt;BR/&gt;&lt;BR/&gt;It may be better of this approach matures outside the Plone core for a bit, not at least to encourage alternatives to be explored. Still, it sounds like a solid convention-over-configuration type pattern, so I would welcome a PLIP too.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/8877774501041650733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/8877774501041650733'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1196239140000#c8877774501041650733' title=''/><author><name>Martin Aspeli</name><uri>http://www.blogger.com/profile/11251335463579376973</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-3797704183186911920</id><published>2007-11-28T08:27:00.000+01:00</published><updated>2007-11-28T08:27:00.000+01:00</updated><title type='text'>Ah, logo viewlet *is* class-based. So, seems like ...</title><content type='html'>Ah, logo viewlet *is* class-based. So, seems like this technique is really cool then. I should definitely try this.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/3797704183186911920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/3797704183186911920'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1196234820000#c3797704183186911920' title=''/><author><name>spliter</name><uri>http://www.blogger.com/profile/05726803289246197407</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-9157417472786652490</id><published>2007-11-28T08:25:00.000+01:00</published><updated>2007-11-28T08:25:00.000+01:00</updated><title type='text'>Nice. It really will make life of integrators slig...</title><content type='html'>Nice. It really will make life of integrators slightly easier. Though I wonder how does it behave with viewlets, defined with the class. I think it's impossible to override templates for those viewlets (portal_siteactions for example) without overriding their class. If yes, then this way just adds complexity in my opinion, since people will need to know 2 approaches for viewlets' overriding instead of one. Can you tell how this way behaves with class-based viewlets?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/9157417472786652490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/9157417472786652490'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1196234700000#c9157417472786652490' title=''/><author><name>spliter</name><uri>http://www.blogger.com/profile/05726803289246197407</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-3367349773551956940</id><published>2007-11-28T03:30:00.000+01:00</published><updated>2007-11-28T03:30:00.000+01:00</updated><title type='text'>This. Does. Not. Suck.  At all.PLIP it for 3.1?</title><content type='html'>This. Does. Not. Suck.  At all.&lt;BR/&gt;&lt;BR/&gt;PLIP it for 3.1?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/3367349773551956940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/3367349773551956940'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1196217000000#c3367349773551956940' title=''/><author><name>Jon Stahl</name><uri>http://www.blogger.com/profile/01965431267437542533</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-8212254010436871241.post-6783302508199734784</id><published>2007-11-28T01:48:00.000+01:00</published><updated>2007-11-28T01:48:00.000+01:00</updated><title type='text'>That's really cool.  Our template developer is goi...</title><content type='html'>That's really cool.  Our template developer is going to pee himself!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/6783302508199734784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8212254010436871241/2234444080702819626/comments/default/6783302508199734784'/><link rel='alternate' type='text/html' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html?showComment=1196210880000#c6783302508199734784' title=''/><author><name>claytron</name><uri>http://www.blogger.com/profile/13033722905290393004</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://mockit.blogspot.com/2007/11/viewlets-are-simple-again.html' ref='tag:blogger.com,1999:blog-8212254010436871241.post-2234444080702819626' source='http://www.blogger.com/feeds/8212254010436871241/posts/default/2234444080702819626' type='text/html'/></entry></feed>