<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Aug 18, 2009 at 10:22 PM, Max Desyatov <span dir="ltr">&lt;<a href="mailto:explicitcall@googlemail.com">explicitcall@googlemail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Simon Michael &lt;<a href="mailto:simon@joyful.com">simon@joyful.com</a>&gt; writes:<br>
<br>
&gt; I can give a +1 vote for the Hack api and related libs. (Jinjing Wang<br>
&gt; is a one-man army.) Below hack you&#39;ll run happstack or another<br>
&gt; web-serving lib. Above hack you might run some combination of loli,<br>
&gt; maid, the hack middleware modules, hsp.<br>
&gt;<br>
&gt; The advantage is that changing the low-level server in future is a<br>
&gt; matter of changing one or two lines; and the upper-level utilities<br>
&gt; seem more usable to me than current happstack&#39;s.<br>
<br>
</div>The problem is that `hack` isn&#39;t documented at all and that prevents it<br>
from being in wide use.  At least, when I started my web app, I<br>
preferred happstack, as low-level and documented API is better than<br>
high-level API without a little bit of documentation, examples and<br>
tutorials.<br>
<div><div></div></div></blockquote><div><br>I don&#39;t see how you can call hack a &quot;high-level API.&quot; It&#39;s about as low-level as it gets, kind of equivalent to the CGI protocol. I wrote up a little blog article with a hack introduction (<a href="http://blog.snoyman.com/2009/06/28/hack-introduction/">http://blog.snoyman.com/2009/06/28/hack-introduction/</a>). I would also recommend checking out my hack-samples repo on github (<a href="http://github.com/snoyberg/hack-samples/tree/master">http://github.com/snoyberg/hack-samples/tree/master</a>).<br>
<br>Overall, hack is still developing, so the documentation is a little lacking. However, I at least am using it in production on a few sites (<a href="http://eliezer.snoyman.com">http://eliezer.snoyman.com</a>, <a href="http://wordify.snoyman.com">http://wordify.snoyman.com</a>).<br>
<br>Michael<br></div></div></div>