Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A convenient setup using Erlang for your web app. (buffered.io)
41 points by setori88 on Dec 15, 2010 | hide | past | favorite | 5 comments


I found it very useful to look at a few other Webmachine examples to understand this. http://bitbucket.org/justin/webmachine/wiki/Home


Actually this setup is really nice, by including the use of reltool it makes life really easy for distributing your code. Reltool is like a jar file in the java world - except it actually includes the entire erlang runtime. Thus eradicating shared library nightmares.


Details of this is coming in a future post. The early parts of the series are focussed on the development environment set up :)


You should also mention Mochi Reloader and Distel. The first one takes no time to set up and removes so much friction from the dev process. Distel requires some set up and learning time, but that will pay off very quickly.


Webmachine uses Mochiweb behind the scenes, hence the reloader comes for free in this setup.

Distel is specific to Emacs. In this series I don't want to discuss which editor to use (esp given I prefer using VIM ;)) as that can come across as constraining. I'd rather leave IDE/Editor discussions elsewhere.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: