2

Efficient Web programing with Erlang and Chicago Boss

This is the first post in a series to help spread the words erlang and Boss.

In the last 4 months I have been learning Erlang and I could start working with a web framework called Chicago Boss, Its simplicity and efficiency made me fall in love at first sight.

First I need to say that to develop simple web apps in Chicago Boss it is not necessary to know much about Erlang (just as ruby for rails). Chicago Boss was largely inspired by Rails,  so, many concepts will sound familiar if you come from Rails (MVC), the main features Chicago Boss provide are:

I have written simple applications with response times of 10-20 milliseconds without optimization. One of the things I like about Erlang and Boss is no magic, you never lose control of your application.

The key developer of Chicago Boss is Evan Miller, also key developer of the template engine erlydtl and other interesting projects, I had the opportunity of contribute recently with two core modules (Sessions and Flash), an excellent way to learn erlang.

Enough talk, if you need taste an example app, take an hour and follow this excelent tutorial (a bit outdated) .

I’m preparing a tutorial with a full application example, so, stay tunned.

  1. hwinkel says:

    Did you ever considered to use socket.io for Comet in CB ? http://github.com/yrashk/socket.io-erlang

  2. Hi,

    I really not played too much with Comet in CB yet, but sounds interesting.

    Evan’s vision goes beyond, the models integration (boss news) is a killer feature.

    I’ll try soon, currently I’m working on view helpers concept, thanks for the thoughts.