Erlang Web is an MVC web framework written in Erlang.
Questions tagged [erlangweb]
37 questions
5
votes
2 answers
is membase a good persistence layer for a erlang gamer server?
I aim to create a browser game where players can set up buildings.
Each building will have several modules (engines, offices,production lines, ...). Each module will have enentually one or more actions running, like creation of 2OO 'item X' with…

lud
- 1,941
- 20
- 35
4
votes
1 answer
Compiling and running Yaws appmods
Appmods are a way to let the application programmer take control over the URL path. They are implemented as Erlang modules. For example myappmod.erl
-module(myappmod).
-include("../../yaws_api.hrl").
-compile(export_all).
out(Arg) ->
Method =…

Vianney Sserwanga
- 313
- 2
- 10
4
votes
3 answers
TinyMCE textarea problem
I have an automatically generated text-area (by the Erlang Web framework) that looks like the following:
I'm trying to apply the…

Roberto Aloi
- 30,570
- 21
- 75
- 112
3
votes
1 answer
Analytics counter using sofa and couchApp
Couch has a REST interface.
This means that data-updates are exclusive to PUT calls.
I'm inspecting ways to implement a humble analyics counters, and came accross the features of couchdb, sofa and couchapp - which are kin'da cool, having in mind my…

Radagast the Brown
- 3,156
- 3
- 27
- 40
3
votes
1 answer
Adding International support in Erlang Web 1.4
I'm trying to add international support for a website based on the Erlang Web 1.4.
I would like to have a couple of links on every page (the notorious Country flags) that allow the user to set his language session variable.
What I have right now is…

Roberto Aloi
- 30,570
- 21
- 75
- 112
3
votes
3 answers
Erlang Web and Inets BindAddress
After installing Erlang Web 1.3 and starting it in interactive mode, I get the following error in the logs:
Failed to start service:
"config/inets.conf"
due to: "httpd_conf: 0.0.0.0 is an
invalid address"
In my inets.conf I have the…

Roberto Aloi
- 30,570
- 21
- 75
- 112
2
votes
1 answer
How do i get values from this URL? and execute an erlang module with the values to reply the client with result?
http://www.myserver.com/exile?Key1=Value1&Key2=Value2
When i get a request in this format to my server,
how do i handle this request?
What i need to do: Need to get all the values and run a Erlang module, and send the result to the client.Is exile a…

Gokul
- 455
- 6
- 17
2
votes
1 answer
error "init terminating in do_boot" in chicago boss
I just tried "make" in Chicago Boss(Erlang web framework) dir and failed
with error
{"init terminating in do_boot",{undef,[{make,all,[]},{init,start_it,1},{init,start_em,1}]}}
What is wrong? What should I do?
My environment is Ubuntu 10.04,…

Stan
- 4,169
- 2
- 31
- 39
2
votes
2 answers
Erlang: Output Problem
In my erlang web application, there is a list, which contains integers to be printed on the web page.
But when the script executes, it prints this, instead of actual list,
Please look at this Image showing characters for unicode codepoint 1, 1, 2,…

indranama
- 1,183
- 2
- 9
- 6
2
votes
1 answer
How to add Access-Control-Allow-Origin headers to yaws file?
I send a post request to YAWS server using AJAX from a different port/domain but javascript returns this error message:
XMLHttpRequest cannot load http://0.0.0.0:8000/index.yaws. Origin http://localhost is not allowed by…
user4672604
2
votes
1 answer
How to connect to mysql database with Erlang, Yaws
I am new to Erlang and Yaws... I am trying to connect to a mysql database but I am not sure about a few things..
Questions.
1. Do I need additional library to connect to mysql database with Erlang?
2. How Do I list available database drivers with…
user4672604
2
votes
1 answer
Starting Nitrogen Web framework at boot time
I have always started nitrogen to run as a daemon using the command below:
sudo /home/someuser/myapp/bin/nitrogen start
It works well but i have to repeat the same activity should the server reboot.
Most web servers by default start at boot time.…

Vianney Sserwanga
- 313
- 2
- 10
2
votes
2 answers
A good OpenID implementation in Erlang?
I'm looking for a good (Or at least working) implementation of OpenID in erlang. I've looked
at several different solutions, but non of them are working 100%.

Burbas
- 803
- 7
- 20
2
votes
1 answer
Erlang ChicagoBoss passing url get parameters
I would like to perform a simple operation that takes me hours to solve in erlang and ChicagoBoss:
Here is the url:
http://example.com?string=some+string
Desired result:
some…

busy
- 367
- 1
- 4
- 14
2
votes
2 answers
Erlang - Parse data from the enclosed curly braces
Erlang experts, I am getting a data like the following from ejabberd server
I(<0.397.0>:mod_http_offline:38) : Data of Fromu {jid,"timok","localhost",
"25636221451404911062246700",
…

Timothy Rajan
- 1,947
- 8
- 38
- 62