[erlang-questions] Thoughts on EHE - the PHP killer
Sun Feb 19 04:20:56 CET 2012
On Sat, Feb 18, 2012 at 5:19 PM, Tim Watson <> wrote:
> On 18 February 2012 20:05, Wes James <> wrote:
>> On Sat, Feb 18, 2012 at 4:13 AM, Joe Armstrong <> wrote:
>>> Thoughts on EHE
>>> I'm playing with a little language for writing web applications.
>>> It's called EHE. All it is HTML with embedded Erlang
>> Isn't this what is in YAWS already?
> It kind of is isn't it, although I must admit I'm a bit confused by
> the relationship between the erlang code and the surrounding HTML,
> especially as none of the examples seems to have any html around them.
> What's the difference between .yaws files and an appmod? The latter
> 'feels' more natural to me, although clearly I don't really understand
> how the former works.
How I think of .yaws vs appmods:
.yaws files are like .php files. You can have html content with
erlang interspersed throughout the html with <erl> </erl>.
appmods are erlang modules where in yaws.conf you can control the url
paths that run the appmod web application
more details on appmods here -> http://yaws.hyber.org/appmods.yaws
More information about the erlang-questions