<div class="gmail_quote">On Mon, Jan 31, 2011 at 5:22 PM, Glyph Lefkowitz <span dir="ltr">&lt;<a href="mailto:glyph@twistedmatrix.com">glyph@twistedmatrix.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div style="word-wrap:break-word"><br><div><div>On Jan 31, 2011, at 11:41 AM, Tom Davis wrote:</div><br><blockquote type="cite"><span style="border-collapse:separate;font-family:&#39;Bitstream Vera Sans Mono&#39;;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div>

Thoughts?</div></span></blockquote><br></div><div>I&#39;ll have to write more later, but maybe you should read <i>all</i> of the existing twisted.web documentation first?  I am sorry to say it, but this seems like a less informative and more confusing version of &lt;<a href="http://twistedmatrix.com/documents/10.2.0/web/howto/web-in-60/static-content.html" target="_blank">http://twistedmatrix.com/documents/10.2.0/web/howto/web-in-60/static-content.html</a>&gt; and &lt;<a href="http://twistedmatrix.com/documents/10.2.0/web/howto/web-in-60/wsgi.html" target="_blank">http://twistedmatrix.com/documents/10.2.0/web/howto/web-in-60/wsgi.html</a>&gt;.</div>

<div><br></div></div></blockquote><div><br></div><div>It is certainly less informative than those. I borrowed what I did from the larger &quot;using twisted.web&quot; document just to illustrate some intent. It is by no means finished or necessarily representative of the actual content of those sections (static files and wsgi).</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div></div><div>For example: Why are you talking about SimpleHTTPServer?  Does <i>anybody</i> actually use that or know about it any more?  I haven&#39;t heard it brought up in years.  For people who do know about what it is, comparing it to that makes it sound like twisted.web is a toy and should not be used in production, since SimpleHTTPServer certainly isn&#39;t capable of serving a real site.</div>

</div></blockquote><div><br></div><div>Fair enough.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><br></div>

<div>Again, the problem is not really the content, we have a surprising amount of content, it&#39;s fixing the architecture so that people <i>find</i> the content that they&#39;re looking for.</div></div></blockquote><div>

<br></div><div>Right, I agree. I&#39;m not saying content *is* the problem. The problem is both discoverability from the standpoint of ToC, orphaned pages, etc. *and* from the per-document standpoint. What one really wants to *do* is often mixed in with the details of how you could do *everything* related to that one task. Or it&#39;s duplicated. Or in a random file elsewhere.</div>

<div><br></div><div>Perhaps it&#39;s best to say that you could consider the text in that tutorial to be the equivalent of &quot;Lorem Ipsum&quot;, except context-relevant enough to get across the general idea of splitting things up by task, complexity, and level of existing knowledge (or desired future knowledge).</div>

<div><br></div><div>Take &lt;<a href="http://twistedmatrix.com/documents/10.2.0/web/howto/web-in-60/static-content.html" target="_blank">http://twistedmatrix.com/documents/10.2.0/web/howto/web-in-60/static-content.html</a>&gt;:</div>

<div><br></div><div>Tell me the one command I need to serve a directory, <i>then</i> show me the code that one command effectively runs and vaguely what it does. Then tell me where I can learn about twistd and reactors and Sites and Files. And take that chunk of [usage -&gt; implementation -&gt; further understanding] and call it a Task (or sub-Task in the case of serving static files).</div>

<div><br></div><div>The content is already there; it&#39;s just about arranging it properly. I hope that helps clear up my opinion a bit.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br>