<div>The "web" pages I've written in Erlang are mostly just status and management REST interfaces for a system whose main goal is something else, but what I've found so far:</div><div> </div><div>If you want a web interface where you take the request once headers are parsed and the request decoded, use mochiweb.</div>
<div> </div><div>If you want an industrial-strength HTTP protocol server stack (things like content type negotiation, etc) for a REST-only implementation, use webmachine.</div><div> </div><div>Sincerely,</div><div> </div>
<div>jw</div><div><br clear="all"><br>--<br>Americans might object: there is no way we would sacrifice our living standards for the benefit of people in the rest of the world. Nevertheless, whether we get there willingly or not, we shall soon have lower consumption rates, because our present rates are unsustainable. <br>
<br>
<br><br></div><div class="gmail_quote">On Fri, Jul 29, 2011 at 4:18 AM, Icarus Alive <span dir="ltr"><<a href="mailto:icarus.alive@gmail.com">icarus.alive@gmail.com</a>></span> wrote:<br><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">
Hi,<br>
<br>
Looking for some suggestions on how to get started with Web<br>
development in Erlang.<br>
My background is largely C/C++ systems development, and picked up some Erlang,<br>
i.e. I can understand most not-too-complex/large Erlang programs given<br>
a little time,<br>
unless very esoteric style is adopted, and still find it a bit hard to<br>
'think in Erlang'<br>
(a decade of procedural and OO thinking often gets in the way). However, with a<br>
turn of events, now I need to do some web-development.<br>
<br>
Started looking at Nitrogen, but finding the syntax very hard. A steep<br>
learning curve.<br>
I've done some PHP programming a decade back, and found it to be very simple,<br>
and this seems almost like a herculean learning exercise. The<br>
tutorial, didn't seem<br>
to be structured in a beginner friendly way, and there is hardly any<br>
alternative tutorial<br>
available. So I wonder as to how many people are really using it. I've<br>
had a look at<br>
Zotonic as well, but not sure if that might be easier / simpler, and<br>
also if it'd be<br>
too-much work separating out the CMS from the framework, it might be<br>
bit too hard<br>
for a beginner to make reasonable progress.<br>
<br>
My preferred approach would be to keep the backend pretty much REST'ish and use<br>
heavier frontend (s.a. jQuery) to interact with it, although I've the<br>
need for delivering<br>
some streaming media, and strong authentication etc. Also, I shall the<br>
services to be<br>
available on mobile handsets.<br>
<br>
Would really appreciate if someone can share thoughts, advice, and pointer to<br>
good / comprehensive tutorials etc., to make this learning (&<br>
adoption) as simple and<br>
easy as possible. Alternatively if someone feels that sticking to PHP<br>
(which I am slightly<br>
more comfortable with) would be a good idea, shall be happy to have that vote<br>
of confidence.<br>
<br>
Icarus<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br>