[erlang-questions] newbie web-development advice / guidance
Sat Jul 30 18:51:52 CEST 2011
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:
If you want a web interface where you take the request once headers are
parsed and the request decoded, use mochiweb.
If you want an industrial-strength HTTP protocol server stack (things like
content type negotiation, etc) for a REST-only implementation, use
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.
On Fri, Jul 29, 2011 at 4:18 AM, Icarus Alive <icarus.alive@REDACTED>wrote:
> Looking for some suggestions on how to get started with Web
> development in Erlang.
> My background is largely C/C++ systems development, and picked up some
> i.e. I can understand most not-too-complex/large Erlang programs given
> a little time,
> unless very esoteric style is adopted, and still find it a bit hard to
> 'think in Erlang'
> (a decade of procedural and OO thinking often gets in the way). However,
> with a
> turn of events, now I need to do some web-development.
> Started looking at Nitrogen, but finding the syntax very hard. A steep
> learning curve.
> I've done some PHP programming a decade back, and found it to be very
> and this seems almost like a herculean learning exercise. The
> tutorial, didn't seem
> to be structured in a beginner friendly way, and there is hardly any
> alternative tutorial
> available. So I wonder as to how many people are really using it. I've
> had a look at
> Zotonic as well, but not sure if that might be easier / simpler, and
> also if it'd be
> too-much work separating out the CMS from the framework, it might be
> bit too hard
> for a beginner to make reasonable progress.
> My preferred approach would be to keep the backend pretty much REST'ish and
> heavier frontend (s.a. jQuery) to interact with it, although I've the
> need for delivering
> some streaming media, and strong authentication etc. Also, I shall the
> services to be
> available on mobile handsets.
> Would really appreciate if someone can share thoughts, advice, and pointer
> good / comprehensive tutorials etc., to make this learning (&
> adoption) as simple and
> easy as possible. Alternatively if someone feels that sticking to PHP
> (which I am slightly
> more comfortable with) would be a good idea, shall be happy to have that
> of confidence.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions