As a user, I have too many HTML generators, a few of them with Ajax and none with server-side event handling (like ASPX or JSPX).  Ajax is complicated but server side event handling is  what I really miss because it is simple  from the user point of view, my ervents could be handled in haskell code rather than in javaScript and I  implicitly could  use the advantages of  dinamic HTML and Ajax without the need to know them at all. <div>
<br></div><div>Imagine a dynamic Web application  with 100% haskell code made with dynamic widgets created by third party developers.<div><br></div><div>So, anyone want to create a HTML templating system with server side event handling? It is not terribly hard to do. (I refer to <a href="http://ASP.NET">ASP.NET</a> documentation or the JavaServer Faces framework).</div>
<div><br>By the way, I vote for XML templating or else, combinator templating that produce XHML templating because it can be handled by a future graphical IDE.<br><br><div class="gmail_quote">2010/5/27 Jasper Van der Jeugt <span dir="ltr">&lt;<a href="mailto:jaspervdj@gmail.com">jaspervdj@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hey Bas,<br>
<div class="im"><br>
&gt; How about also providing an enumerator back-end?<br>
&gt; <a href="http://hackage.haskell.org/packages/archive/iteratee/0.3.5/doc/html/Data-Iteratee-Base.html#t%3AEnumeratorGM" target="_blank">http://hackage.haskell.org/packages/archive/iteratee/0.3.5/doc/html/Data-Iteratee-Base.html#t%3AEnumeratorGM</a><br>

&gt;<br>
&gt; Then your library can integrate more easily with the snap framework:<br>
&gt; <a href="http://snapframework.com" target="_blank">http://snapframework.com</a><br>
<br>
</div>Sure, I can do that. But I already tested integration with the snap<br>
framework, the best path here seems to call the `writeLBS` function<br>
from the snap framework on the `L.ByteString` that BlazeHtml produces<br>
(`writeLBS` internally uses an enumerator).<br>
<br>
Kind regards,<br>
<font color="#888888">Jasper Van der Jeugt<br>
</font><div><div></div><div class="h5"><br>
On Thu, May 27, 2010 at 10:38 AM, Bas van Dijk &lt;<a href="mailto:v.dijk.bas@gmail.com">v.dijk.bas@gmail.com</a>&gt; wrote:<br>
&gt; Q14: Do you see any problems with respect to integrating BlazeHtml in<br>
&gt; your favourite web-framework/server?<br>
&gt;<br>
&gt; How about also providing an enumerator back-end?<br>
&gt; <a href="http://hackage.haskell.org/packages/archive/iteratee/0.3.5/doc/html/Data-Iteratee-Base.html#t%3AEnumeratorGM" target="_blank">http://hackage.haskell.org/packages/archive/iteratee/0.3.5/doc/html/Data-Iteratee-Base.html#t%3AEnumeratorGM</a><br>

&gt;<br>
&gt; Then your library can integrate more easily with the snap framework:<br>
&gt; <a href="http://snapframework.com" target="_blank">http://snapframework.com</a><br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Bas<br>
&gt;<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</div></div></blockquote></div><br></div></div>