mochiweb Questions
5
Solved
I have a var that has some JSON data:
A = <<"{\"job\": {\"id\": \"1\"}}">>.
Using mochijson2, I decode the data:
Struct = mochijson2:decode(A).
And now I have this:
{struct,[{...
Leatriceleave asked 29/4, 2010 at 17:19
2
Solved
I would like to build and deploy an application which has Django as frontend, YAWS (appmods) or Mochiweb/Webmachine as a backend and CouchDB as a datastore. Furthermore, I plan to extensively use C...
Luxurious asked 12/11, 2012 at 11:17
2
Solved
I would like to develop and deploy an Erlang/OTP application into production on a VPS.
I am pretty familiar with developing Erlang code on a local machine and my question is about deployment.
Bas...
Falgout asked 6/10, 2012 at 10:56
3
Solved
I am deploying an app on Heroku and trying to determine whether the request coming in is secure (request.secure). This is initially returning false on heroku because nginx handles the SSL work and ...
Oxa asked 14/12, 2011 at 22:50
2
Solved
My app uses Mochiweb.
I have noticed that Mochiweb files reside in the myapp/deps/mochiweb directory and rebar compiles them when I run make in the myapp directory.
I wanted to add ibrowse to wri...
Counterword asked 17/5, 2012 at 15:48
4
Solved
Mochiweb and webmachine are very promising applications when you see how those who have found they're way around them are using it. I need to be directed to where I can find beginners' tutori...
Arrangement asked 4/1, 2011 at 13:12
1
Solved
I have a list of tuples which are http headers. I want to convert the list to a JSON object. I try mochijson2 but to no avail.
So I have the following :
[{'Accept',"text/html,application/xhtml+xm...
Okun asked 13/10, 2010 at 12:6
2
Solved
I am using mochiweb and I don't know how to use its json encoder to deal with complex data structure. What's the differences between mochijson and mochijson2? Is there any good example? I always ge...
3
Solved
The Nitrogen project web page declares equal support for yaws, mochiweb, and inets, but with which of these web servers is it going to perform the best? I.e. for a large scale application with most...
1
Solved
I'm encoding some data using mochijson2.
But I found that it behaves strange on strings as lists.
Example:
mochijson2:encode("foo").
[91,"102",44,"111",44,"111",93]
Where "102", "111", "1...
2
Solved
I am attempting to run BeepBeep through Mochiweb on Port 80. It works if I type sudo ./start_server.sh. Are there any security risks with running Mochiweb like this? If so how to remedy?
Thanks!
...
2
Solved
Having read Joe Armstrong's book and watched Kevin Smith screencasts I've built a simple OTP application comprised of a single gen_server and single supervisor, bundled together as an OTP applicati...
Ciprian asked 31/8, 2009 at 20:14
1
© 2022 - 2024 — McMap. All rights reserved.