Comments on: Talking to Erlang https://www.humani.st/talking-to-erlang/ Computer Science, Business, Blogging, and Technology Blog by Luke Hoersten Sat, 23 Jul 2011 17:10:00 +0000 hourly 1 http://wordpress.org/?v=3.2.1 By: Luke Hoersten https://www.humani.st/talking-to-erlang/comment-page-1/#comment-10784 Luke Hoersten Sun, 24 May 2009 07:54:46 +0000 https://www.humani.st/?p=393#comment-10784 Looks cool. Thanks. Looks cool. Thanks.

]]>
By: Luke Hoersten https://www.humani.st/talking-to-erlang/comment-page-1/#comment-10783 Luke Hoersten Sun, 24 May 2009 07:47:34 +0000 https://www.humani.st/?p=393#comment-10783 Thanks for the fixes. I actually did run this before posting it so they must have changed the interface... as for the missing semicolon, perhaps a bad paste? Thanks for the fixes. I actually did run this before posting it so they must have changed the interface… as for the missing semicolon, perhaps a bad paste?

]]>
By: Luke Hoersten https://www.humani.st/talking-to-erlang/comment-page-1/#comment-10717 Luke Hoersten Sun, 24 May 2009 03:54:46 +0000 https://www.humani.st/?p=393#comment-10717 Looks cool. Thanks. Looks cool. Thanks.

]]>
By: Luke Hoersten https://www.humani.st/talking-to-erlang/comment-page-1/#comment-10716 Luke Hoersten Sun, 24 May 2009 03:47:34 +0000 https://www.humani.st/?p=393#comment-10716 Thanks for the fixes. I actually did run this before posting it so they must have changed the interface... as for the missing semicolon, perhaps a bad paste? Thanks for the fixes. I actually did run this before posting it so they must have changed the interface… as for the missing semicolon, perhaps a bad paste?

]]>
By: Luke Venediger https://www.humani.st/talking-to-erlang/comment-page-1/#comment-10714 Luke Venediger Sat, 16 May 2009 19:10:33 +0000 https://www.humani.st/?p=393#comment-10714 Also, Req:ok() takes a single tuple, not three arguments. So, this:<br>Req:ok("text/plain",<br> [{"User-Agent", "Erlang/example/0.1"}],<br> <<"Processing Request">>)<br><br>Should be this:<br>Req:ok( { "text/plain",<br> [{"User-Agent", "Erlang/example/0.1"}],<br> <<"Processing Request">><br> } )<br><br>This had me stumped for hours! Also, Req:ok() takes a single tuple, not three arguments. So, this:
Req:ok(“text/plain”,
[{"User-Agent", "Erlang/example/0.1"}],
<<”Processing Request”>>)

Should be this:
Req:ok( { “text/plain”,
[{"User-Agent", "Erlang/example/0.1"}],
<<”Processing Request”>>
} )

This had me stumped for hours!

]]>
By: Justin Sheehy https://www.humani.st/talking-to-erlang/comment-page-1/#comment-10713 Justin Sheehy Sat, 16 May 2009 18:42:56 +0000 https://www.humani.st/?p=393#comment-10713 Luke,<br><br>This is a nice little example, and Mochiweb is indeed a great HTTP driver for Erlang. If you want a layer atop Mochiweb that adds easy and RESTful extensibility to your services, you might want to check out Webmachine:<br><br><a href="http://bitbucket.org/justin/webmachine" rel="nofollow">http://bitbucket.org/justin/webmachine</a><br><br>Cheers,<br><br>Justin Luke,

This is a nice little example, and Mochiweb is indeed a great HTTP driver for Erlang. If you want a layer atop Mochiweb that adds easy and RESTful extensibility to your services, you might want to check out Webmachine:

http://bitbucket.org/justin/webmachine

Cheers,

Justin

]]>
By: Luke Venediger https://www.humani.st/talking-to-erlang/comment-page-1/#comment-10712 Luke Venediger Sat, 16 May 2009 18:10:22 +0000 https://www.humani.st/?p=393#comment-10712 Hi,<br><br>You're missing a ; after <<"Processing Request">>).<br><br>Thanks,<br>Luke. Hi,

You're missing a ; after <<”Processing Request”>>).

Thanks,
Luke.

]]>
By: daniel palacio https://www.humani.st/talking-to-erlang/comment-page-1/#comment-10652 daniel palacio Thu, 18 Sep 2008 21:32:20 +0000 https://www.humani.st/?p=393#comment-10652 Did you became to important to write a blog ????????????? how are thing's ???? I have to go to chicago sometime and visit you. Did you became to important to write a blog ????????????? how are thing's ???? I have to go to chicago sometime and visit you.

]]>
By: Luke Hoersten https://www.humani.st/talking-to-erlang/comment-page-1/#comment-10325 Luke Hoersten Tue, 29 Jul 2008 04:26:47 +0000 https://www.humani.st/?p=393#comment-10325 Good find. Just to clarify for the readers, JSON-RPC is a special specification for calling functions remotely. This example is just a simple HTTP body with JSON. Designed with the explicit intent of simplicity. More functionality would come from adding different URLs like REST. <a href="http://weblog.hypotheticalabs.com/?p=282">Kevin Smith</a> has actually just completed a screencast that should describe this RESTful setup in more detail. I'll add a link when it becomes available. Good find. Just to clarify for the readers, JSON-RPC is a special specification for calling functions remotely. This example is just a simple HTTP body with JSON. Designed with the explicit intent of simplicity. More functionality would come from adding different URLs like REST. Kevin Smith has actually just completed a screencast that should describe this RESTful setup in more detail. I’ll add a link when it becomes available.

]]>
By: mark https://www.humani.st/talking-to-erlang/comment-page-1/#comment-10324 mark Tue, 29 Jul 2008 03:41:34 +0000 https://www.humani.st/?p=393#comment-10324 luke,<br>check this out, a somewhat similar but more constrained way of exposing erlang methods/ functions<br><br><a href="http://www.lshift.net/blog/2007/02/17/json-and-json-rpc-for-erlang">http://www.lshift.net/blog/2007/02/17/json-and-...</a> luke,
check this out, a somewhat similar but more constrained way of exposing erlang methods/ functions

http://www.lshift.net/blog/2007/02/17/json-and-…

]]>