[erlang-questions] Thoughts on EHE - the PHP killer

Ulf Wiger ulf@REDACTED
Sat Feb 18 15:26:19 CET 2012


On 18 Feb 2012, at 13:31, Matti Oinas wrote:

> Biggest problem with enlive is that it is written with clojure. Not that clojure isn't great but it still isn't erlang.

I agree that this is a great way to keep the HTML/CSS side pure, and still have lots of power to enhance it with dynamic content.

There is an (experimental?) xmerl_sax_parser-based module that is able to parse most existing HTML - certainly enough to handle the kind of templates one should be able to expect from a professional web designer*. With it, and perhaps something like xmerl_xs, it shouldn't be that hard to come up with an enliven-inspired lib in Erlang.

BR,
Ulf W


* I think this is one of the harder problems in the mix: accepting more or less malformed HTML. I know yaws has a HTML parser as well (yaws_html), but don't know how robust it is.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120218/7044e37d/attachment.htm>


More information about the erlang-questions mailing list