I’ve started learning Erlang a few days ago and it’s definitely a very interesting language and very suitable for web development (back end at least). I am going to experiment and eventually settle with one Erlang web framework to use for my next project. Since Erlang is “new” is kind of hard to decide which framework to use (i.e. lack of documentations and blog posts). So far my googleing has returned me 3 results and I am wondering anyone who has experience in Erlang (especially Erlang web development) please comment on the pros and cons on each framework and add any missing frameworks.
Project requirement:
Erlang web framework:
Erlang database:
Concrns:
Nitrogen
JavaScript generation
Since Nitrogen generates and embeddes JavaScript code on to the page which increased the page size. I am not sure if it’s even possible to somehow “separte” the generated JavaScript code from raw html (somehow it can be cached by browser) in order to reduce data transferred down the wire. But I think in general event model and auto wire event is very suitable for application type but not so much for content/public facing type.
Web frameworks provide a standard way to build and deploy web applications on the World Wide Web. Web frameworks aim to automate the overhead associated with common activities performed in web development.
Laravel is rated as one of the best web frameworks and some experts consider this technology the best software for backend development. Laravel also provides its users with multiple ways of accessing relational databases along with application maintenance and deployment utilities.
(d).Nitrogen is an Erlang-based web framework that allows you to develop infinitely scaleable, Ajax-rich web applications using a pure Erlang technology stack.
Which is the fastest web framework? In benchmark tests, Spring has shown to be the fastest back-end web framework currently available to developers.
This blog post compares a few Erlang web frameworks.
Personally, I went with mongodb (cos it has native erlang drivers and other advantages) and webmachine for URL dispatching. I like the idea of having very simple wireframe HTML and mostly piping JSON from webmachine and mongodb to the front end to be processed by JQuery or whatever. However, another interesting front end would be cappuccino.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With