<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Roger,</div><div><br></div><div>Sorry for the immensely late reply!</div><div><br></div><div>1) the yui-t7 class of the main div does this. it just is a header, content-area and footer, which is a very basic Grid, if it can be called a grid at all, indeed.</div><div><br></div><div>2) megrok.resource is used implicitly in part 1. I explain this in the paragraph&nbsp;</div><div>"<span class="Apple-style-span" style="font-size: 14px; border-collapse: collapse; color: rgb(51, 51, 51); line-height: 27px; "><font class="Apple-style-span" face="arial, helvetica, sans-serif">Enter megrok.resource. This package uses hurry.zoperesource, which will override the default Request object with a special one that will add the needed resources to the &lt;head&gt; tag of your HTML just before rendering. Kind
 of magic...</font></span><span class="Apple-style-span" style="font-family: verdana; font-size: 14px; border-collapse: collapse; color: rgb(51, 51, 51); line-height: 27px; ">"</span></div><div><br></div><div>3) You may have a point there, but my reasoning was this: since we are using YUI grids for layouting, we might as well 'do it right' by using megrok.layout as well, as I figured this to be the most used use-case. The biggest problem I have with tutorials (in general) is that most only focus on the task at hand, and leave you clueless if the off-topic parts of the tutorial are quick-and-dirty implementations, or still best-practises. If you cut corners in a tutorial, you should state that, and point readers where to find info on doing it right. I decided to try and not cut any corners. There was no megrok.layout tutorial, so I decided to incorporate it, otherwise I would have referred to it.</div><div>Maybe it makes this tutorial a bit 'heavy',
 indeed.</div><div><br></div><div>The big picture of the tutorial was (more or less): explain how to do some typical YUI use-cases the Grok way: Reset/Grid, a menu, getting data asynchronously, sending data async, using JSON.</div><div>Thanks for the remarks!</div><div><br><div>----- Original Message ----<br>From: Roger Erens &lt;roger.erens@e-s-c.biz&gt;<br>To: Jeroen Michiel &lt;jmichiel@yahoo.com&gt;<br>Cc: Sebastian Ware &lt;sebastian@urbantalk.se&gt;; grok-doc@zope.org<br>Sent: Tue, 30 March, 2010 19:21:14<br>Subject: Re: [Grok-doc] Volunteering for a YUI tutorial<br><br>Hi Jeroen,<br><br>Thanks for having solved the buidout issues. I've been busy editing<br>(mainly formatting) your tutorial. I'm still not&nbsp; yet clear about a<br>few things in part 1; can you enlighten me?<br><br>1)<br>Below the code for 'style.css' you mention that a basic Grid has been<br>created. Is it? Only the class-value "yui-g" hints to that, but I<br>wouldn't call that
 'creating a basic grid'.<br><br>2)<br>Then you mention megrok.resource, but this module is not used at all<br>in part 1. Or is it? Maybe mentioning and explaining (which happens<br>just above the 'app.py' code further down the page) it could be moved<br>to part 3 where I see megrok.resource being used in code the first<br>time.<br><br>3)<br>Although I'm still missing the big picture of the tutorial, I'd like<br>you to think about this:<br>is the (megrok.)layout stuff not too distracting for this tutorial?<br>Maybe it's worth a tutorial of its own; also simplifying the<br>YUI-tutorial?<br><br>Cheers,<br><br>Roger<br><br>On Mon, Mar 8, 2010 at 11:45, Jeroen Michiel &lt;<a ymailto="mailto:jmichiel@yahoo.com" href="mailto:jmichiel@yahoo.com">jmichiel@yahoo.com</a>&gt; wrote:<br>&gt; All typos are solved, and I'm looking into the buildout issues.<br>&gt;<br></div></div><div style="position:fixed"></div>   </div><br>



      </body></html>