[Haskell-cafe] Re: [web-devel] Google Summer of Code: BlazeHTML
Jasper Van der Jeugt
jaspervdj at gmail.com
Sun May 30 12:36:41 EDT 2010
Yes, hsx/hsp could get a performance gain by using BlazeHtml as a
backend. However, I'm not sure if it is possible to change the backend
without changing the user API (but I do hope so).
Jasper Van der Jeugt
On Sun, May 30, 2010 at 5:58 PM, Thomas Hartman <tphyahoo at gmail.com> wrote:
> I'm a heavy hsp user. Could hsp benefit from this project by using
> blaze as a back end instead of whatever it's using now?
> IIUC, Hsp uses hsx (via the preprocessor program trhsx) to convert
> xml-containing hybrid hsp/xml/html files into compilable haskell.
> I expected hsx uses XHTML (which iiuc is what blaze would replace) on
> the backend but I don't see it listed in the dependencies at
> so I guess it doesn't and uses something internal rather than xhtml. (Right?)
> My question as regards BlazeHTML is if there could be any performance
> win/tie in for the hsp/hsx toolchain.
> FWIW, wrt to blaze sclv commented on reddit "The idea is rather that
> this would be a replacement for the html combinator library, as
> distinct from templating (hamlet, hstringtemplate, bravo, chunks,
> press, & co) and as distinct from the *sp model of inlined code (hsp).
> Edit: Ideally, and generally for Haskell libs, the choices of
> persistence layer, html generation library, dispatch model, and server
> layer are largely orthogonal. Strong typing makes any ad-hoc plumbing
> a breeze."
> 2010/5/30 Tom Lokhorst <tom at lokhorst.eu>:
>> +1 for HTML5.
>> Also, I suggest focussing on the html serialization of HTML5.
>> The xml serialization (XHTML5) is only useful in an XML environment.
>> For such environments pure xml libraries are more appropriate.
>> Besides, I like html syntax better.
>> On 30 May 2010 16:27, Jochem Berndsen <jochem at functor.nl> wrote:
>>> On 05/29/2010 08:05 PM, Gregory Collins wrote:
>>>> Matt Parker<moonmaster9000 at gmail.com> writes:
>>>>> Q3: Which HTML version would you preferably use?
>>>>> HTML 5. google summer of code should be about pushing the new and
>>>> Yes, definitely, this should be the default IMO.
>>> Jochem Berndsen | jochem at functor.nl
>>> Haskell-Cafe mailing list
>>> Haskell-Cafe at haskell.org
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the web-devel