<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi there, <div><br class="webkit-block-placeholder"></div><div>A missing piece of the grok puzzle is viewlets. I think it could</div><div>be a good idea to either merge one of the existing implementations</div><div>or implement a new one at the snow sprint?</div><div><br></div><div>Someone did implement groklets:</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="http://svn.zope.org/grok/branches/ksmith_mcweekly-groklets/src/grok/groklets.txt?rev=80455&amp;view=auto">http://svn.zope.org/grok/branches/ksmith_mcweekly-groklets/src/grok/groklets.txt?rev=80455&amp;view=auto</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">But I think I prefer normal viewlets (there's an example below</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">groklets in the same file). I don't think Groklets save very many</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">lines of code.</div></div><div><br class="webkit-block-placeholder"></div><div>There's another branch for viewlets:</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="http://svn.zope.org/grok/branches/ksmith_mcweekly-viewlets">http://svn.zope.org/grok/branches/ksmith_mcweekly-viewlets</a></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Not sure if that allows you to write viewlets as in the groklets</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">example file. But if it does maybe this could be considered to</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">be merged.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">What are your opinions about groklets and viewlets?</div> </div><div><br class="webkit-block-placeholder"></div><div>/Tim</div></body></html>