These are chat archives for synrc/n2o

5th
Nov 2017
Zelphir Kaltstahl
@ZelphirKaltstahl
Nov 05 2017 00:42
Unfortunately I could not get even a "Hello World!" kind of thing running either and the n2o book is missing crucial detail. The technical feats of n2o seem very impressive and I like using Erlang, partly also because of its technical features, so I would like to use n2o, but so far I've been unable to do anything with it.
This is not uncommon with Erlang web frameworks. There have been at least 3 others I've tried to use, but none of their examples were up to date, or they had no documentation to begin with or every blog post I found did simply not work or leave out crucial information.
The only exception was Cowboy, but there TLS did not work as described in the tutorials and without that many use cases fall flat.
Best thing that could happen to the ecosystem of web frameworks in Erlang is, that the people who have the knowledge put it out there in readable form of tutorials, which are up to date and go in baby steps, telling people where to put what code, including every single file path used in the tutorial.
One of the challenges for learners is how to use the tools like rebar rebar3 mad erlangmk and so on. There is little information about which tool is preferred and why. Some projects seem to use their own tools and some use rebar instead of rebar3 (What is rebar2? Does it exist?). Why one would use an older version is only one of many questions, which arise. This increases the difficulty to get started with things.