SimonRedfern 45 Followers
CEO of TESOBE / Music Pictures Ltd, founder of the Open Bank Project. I'm a programmer and composer and Supa' proud dadda.
Location: Berlin, Germany
Authors (1)
Erlang Web servers / Web App Servers
Public Techcy posted on Thu, 25 Aug 2011 by Simon RedfernI'm looking into Erlang http://www.erlang.org/doc/
http://www.erlang.se/doc/programming_rules.shtml
http://www.erlang.org/doc/reference_manual/functions.html#id73904
functional programming: http://ontwik.com/erlang/introduction-to-functional-programming/
Critism: http://www.unlimitednovelty.com/2011/07/trouble-with-erlang-or-erlang-is-ghetto.html
and Erlang web servers / Erlang web frameworks...
For web servers there is Yaws (developed by one of the main Erlang guys and about 10 years ago and still actively worked on) and Mochiweb (apparently a bit lighter) and something else.
There is not much documentation online for mochiweb but apparently people are using it anyway.
http://alexmarandon.com/articles/mochiweb_tutorial/
http://erldocs.com/R14Bextra/index.html?i=171#mochiweb
comparison to twisted: http://groups.google.com/group/mochiweb/browse_thread/thread/da3a3b84e35cb797/2f961b3dcc4706cf
Webmachine builds on mochiweb:
urls etc. http://blog.erlware.org/2011/02/08/ecloudedit-erlang-webmachine-and-backbone-js/
http://userprimary.net/posts/2009/06/29/writing-a-url-shortening-service-in-erlang-part-4/
url dispatch: http://wiki.basho.com/Webmachine-Dispatching.html
request params: https://bitbucket.org/justin/webmachine/wiki/WebmachineReqData
intro: http://wiki.basho.com/Webmachine-Resource.html
Zotronic builds on Webmachine (Django like templates :-) http://zotonic.com/page/516/webmachine
I came across a web framework called Chicago Boss which is Django/Ruby like but written in Erlang. The documentation seems quite good so far. Chicago Boss seems to use mochiweb by default.
http://www.evanmiller.org/chicago-boss-guide.html#my-first-boss

