On Wed, Jun 29, 2011 at 2:14 PM, Walter Bright <span dir="ltr"><<a href="mailto:newshound2@digitalmars.com">newshound2@digitalmars.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 6/29/2011 4:03 AM, Adam Richardson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'll admit that I looked through to see what I could help out with on the<br>
website, but ddoc stopped me in my tracks.<br>
</blockquote>
<br></div>
How did it stop you?</blockquote><div><br></div><div>I'm a web developer by trade, and ddoc, while nice for generating documentation, is not as nice (relatively speaking) for managing a website. I'd rather bring in elements of ddoc into an html site rather than try to bring in the appropriate html into ddocs (that's not to say that D wouldn't handle templating for the site, just that the site wouldn't be built on top of ddoc.)</div>
<div><br></div><div>For example:</div><div><ol><li>Use simple templating system written in D for site.</li><li>Pages within templating system are built using HTML, CSS, Javascript.</li><li>DDoc material that's pulled from D source is dynamically brought in to the pages in the site using the templating system.</li>
</ol><div>DDoc would be used, but not as the foundation for the site.</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
it's just not built for web site development.<br>
</blockquote>
<br></div>
Anything you can do in HTML, you can do in Ddoc.</blockquote><div><br></div><div>This is true. That said, what does the "Anything you can do in X, you can do in Y" prove regarding the efficacy of using ddoc as the primary tool for managing the website? </div>
<div><br></div><div>For example, anything I can do in D I can also do in C (or assembly), but I prefer not to use C merely because I can. I prefer to use D because you've carefully crafted a systems programming language that provides many of the functional programming features I value,  whilst maintaining succinct, clear syntax that affords great parsimony.</div>
<div><br></div><div>For the same reason, I would prefer not to manage a website using DDoc, but rather use tools that are crafted specifically for the job and then augment those tools with DDoc.</div><div><br></div><div>Adam</div>
</div>