<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Video Tutorial To Start Developing Web Applications on Erlang</title>
	<atom:link href="http://beebole.com/blog/erlang/tutorial-web-application-erlang/feed/" rel="self" type="application/rss+xml" />
	<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/</link>
	<description>The News about the Easiest and Fastest Timesheet</description>
	<lastBuildDate>Tue, 04 Nov 2008 03:22:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: How To Quickly Set Up Ubuntu 8.04 loaded with Erlang, Mochiweb and Nginx &#124; BeeBuzz</title>
		<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/#comment-176</link>
		<dc:creator>How To Quickly Set Up Ubuntu 8.04 loaded with Erlang, Mochiweb and Nginx &#124; BeeBuzz</dc:creator>
		<pubDate>Tue, 04 Nov 2008 03:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=387#comment-176</guid>
		<description>[...] UPDATE, Octobre 20th 2008: Read and view more about installing Mochiweb and creating a first Erlang Web application on our video [...] </description>
		<content:encoded><![CDATA[<p>[...] UPDATE, Octobre 20th 2008: Read and view more about installing Mochiweb and creating a first Erlang Web application on our video [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel</title>
		<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/#comment-170</link>
		<dc:creator>Pavel</dc:creator>
		<pubDate>Tue, 28 Oct 2008 17:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=387#comment-170</guid>
		<description>Thank you very much. The demo project is a great start point to build my own app.</description>
		<content:encoded><![CDATA[<p>Thank you very much. The demo project is a great start point to build my own app.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hughes</title>
		<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/#comment-175</link>
		<dc:creator>Hughes</dc:creator>
		<pubDate>Fri, 24 Oct 2008 09:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=387#comment-175</guid>
		<description>@Tim

Thanks for sharing.  Just as a side note, we didn&#039;t choose to go Restful because we wanted a clear separation between our client side/view stack and the business logic.


@Justin

Really interesting article.  I like the lightweight approach you have taken.

My tutorial is definitively not full-fledged app minded as I wanted it as close to the mochiweb metal as possible ;)

Having said that, we are addressing some of the details you mentioned in your post but using a home made layer since we are not building a http general purpose application.

We are actually tunneling all of the &#039;Jsons&#039; trough both the GET(jsonp) and the POST method and we are using a unique interface to handle them (the exceptions are few).
Keep up the good work.</description>
		<content:encoded><![CDATA[<p>@Tim</p>
<p>Thanks for sharing.  Just as a side note, we didn&#8217;t choose to go Restful because we wanted a clear separation between our client side/view stack and the business logic.</p>
<p>@Justin</p>
<p>Really interesting article.  I like the lightweight approach you have taken.</p>
<p>My tutorial is definitively not full-fledged app minded as I wanted it as close to the mochiweb metal as possible <img src='http://beebole.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Having said that, we are addressing some of the details you mentioned in your post but using a home made layer since we are not building a http general purpose application.</p>
<p>We are actually tunneling all of the &#8216;Jsons&#8217; trough both the GET(jsonp) and the POST method and we are using a unique interface to handle them (the exceptions are few).<br />
Keep up the good work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas O</title>
		<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/#comment-174</link>
		<dc:creator>Nicolas O</dc:creator>
		<pubDate>Fri, 24 Oct 2008 08:55:34 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=387#comment-174</guid>
		<description>This tutorial is clear and complete. The online documentation about web servers in Erlang is desperately poor, but here is all the useful info to get started.

Looking forward for more info on your server-side work. Nice that you keep it open.</description>
		<content:encoded><![CDATA[<p>This tutorial is clear and complete. The online documentation about web servers in Erlang is desperately poor, but here is all the useful info to get started.</p>
<p>Looking forward for more info on your server-side work. Nice that you keep it open.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Sheehy</title>
		<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/#comment-173</link>
		<dc:creator>Justin Sheehy</dc:creator>
		<pubDate>Thu, 23 Oct 2008 19:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=387#comment-173</guid>
		<description>Hughes,

This is a really neat video, thanks for making it.  It seems like an excellent way to get people quickly excited about making Web applications atop mochiweb.

In order to help me figure out if some of my own assumptions were correct, I lifted your tutorial application up on top of the Webmachine layer.  I posted about that experience here:

http://blog.therestfulway.com/2008/10/beebole-erlangweb-tutorial-webmachine.html

Cheers!</description>
		<content:encoded><![CDATA[<p>Hughes,</p>
<p>This is a really neat video, thanks for making it.  It seems like an excellent way to get people quickly excited about making Web applications atop mochiweb.</p>
<p>In order to help me figure out if some of my own assumptions were correct, I lifted your tutorial application up on top of the Webmachine layer.  I posted about that experience here:</p>
<p><a href="http://blog.therestfulway.com/2008/10/beebole-erlangweb-tutorial-webmachine.html" rel="nofollow">http://blog.therestfulway.com/2008/10/beebole-erlangweb-tutorial-webmachine.html</a></p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Dysinger</title>
		<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/#comment-172</link>
		<dc:creator>Tim Dysinger</dc:creator>
		<pubDate>Wed, 22 Oct 2008 02:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=387#comment-172</guid>
		<description>I did a similar demo app with rails talking to mochiweb.
http://github.com/dysinger/mochirest/tree/master
http://dysinger.net/2008/10/09/mochirest-rails-ui-and-erlangmochiweb-rest-json-service/

Mine is not as cool as yours though.  I didn&#039;t use mnesia and I don&#039;t have a drag and drop UI.

Cool tip from Bob above.  I used erlang record.</description>
		<content:encoded><![CDATA[<p>I did a similar demo app with rails talking to mochiweb.<br />
<a href="http://github.com/dysinger/mochirest/tree/master" rel="nofollow">http://github.com/dysinger/mochirest/tree/master</a><br />
<a href="http://dysinger.net/2008/10/09/mochirest-rails-ui-and-erlangmochiweb-rest-json-service/" rel="nofollow">http://dysinger.net/2008/10/09/mochirest-rails-ui-and-erlangmochiweb-rest-json-service/</a></p>
<p>Mine is not as cool as yours though.  I didn&#8217;t use mnesia and I don&#8217;t have a drag and drop UI.</p>
<p>Cool tip from Bob above.  I used erlang record.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hughes</title>
		<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/#comment-167</link>
		<dc:creator>Hughes</dc:creator>
		<pubDate>Tue, 21 Oct 2008 06:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=387#comment-167</guid>
		<description>@Bob Ippolito

﻿Thank you very much. That&#039;s certainly the kind of feedback I was waiting for ; ) Your small example brings a good point and I&#039;ll test implementing this module that way. I really appreciate it.


@madlep, JT Archie

Thanks both for your positive comments</description>
		<content:encoded><![CDATA[<p>@Bob Ippolito</p>
<p>﻿Thank you very much. That&#8217;s certainly the kind of feedback I was waiting for ; ) Your small example brings a good point and I&#8217;ll test implementing this module that way. I really appreciate it.</p>
<p>@madlep, JT Archie</p>
<p>Thanks both for your positive comments</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JT Archie</title>
		<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/#comment-171</link>
		<dc:creator>JT Archie</dc:creator>
		<pubDate>Tue, 21 Oct 2008 01:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=387#comment-171</guid>
		<description>Brilliant! I have been waiting for something like this for awhile. Thanks.</description>
		<content:encoded><![CDATA[<p>Brilliant! I have been waiting for something like this for awhile. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Ippolito</title>
		<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/#comment-168</link>
		<dc:creator>Bob Ippolito</dc:creator>
		<pubDate>Mon, 20 Oct 2008 19:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=387#comment-168</guid>
		<description>Given that the structure of the JSON return values is {struct, X} you can actually make your struct module a parameterized module with a Proplist parameter, and call things in-place like the Request &quot;object&quot; in mochiweb. This would probably break if they optimize parameterized instances but it works fine now ;)

Here&#039;s a minimal example:

-module(struct, [Proplist]).
-export([lookup/1, to_proplist/0]).

key(Key) when is_binary(Key) -&gt;
    Key;
key(Key) when is_atom(Key) -&gt;
    list_to_binary((atom_to_list(Key)));
key(Key) when is_list(Key) -&gt;
    list_to_binary(Key).

lookup(Key) -&gt;
    case proplists:lookup(key(Key), to_proplist()) of
        none -&gt;
            none;
        {_K, Value} -&gt;
            {Key, Value}
    end.

to_proplist() -&gt;
    Proplist.</description>
		<content:encoded><![CDATA[<p>Given that the structure of the JSON return values is {struct, X} you can actually make your struct module a parameterized module with a Proplist parameter, and call things in-place like the Request &#8220;object&#8221; in mochiweb. This would probably break if they optimize parameterized instances but it works fine now <img src='http://beebole.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Here&#8217;s a minimal example:</p>
<p>-module(struct, [Proplist]).<br />
-export([lookup/1, to_proplist/0]).</p>
<p>key(Key) when is_binary(Key) -&gt;<br />
    Key;<br />
key(Key) when is_atom(Key) -&gt;<br />
    list_to_binary((atom_to_list(Key)));<br />
key(Key) when is_list(Key) -&gt;<br />
    list_to_binary(Key).</p>
<p>lookup(Key) -&gt;<br />
    case proplists:lookup(key(Key), to_proplist()) of<br />
        none -&gt;<br />
            none;<br />
        {_K, Value} -&gt;<br />
            {Key, Value}<br />
    end.</p>
<p>to_proplist() -&gt;<br />
    Proplist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madlep</title>
		<link>http://beebole.com/blog/erlang/tutorial-web-application-erlang/#comment-169</link>
		<dc:creator>madlep</dc:creator>
		<pubDate>Mon, 20 Oct 2008 12:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://beebole.com/blog/?p=387#comment-169</guid>
		<description>Wow, excellent video.

I&#039;ve been playing around with Mochiweb a bit lately, but never gotten far past the &quot;hello world&quot; level with it. This really shows off how to get up and running :)</description>
		<content:encoded><![CDATA[<p>Wow, excellent video.</p>
<p>I&#8217;ve been playing around with Mochiweb a bit lately, but never gotten far past the &#8220;hello world&#8221; level with it. This really shows off how to get up and running <img src='http://beebole.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

