<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://nolan.eakins.net" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Nolan&#039;s Corner - Erlang</title>
 <link>http://nolan.eakins.net/taxonomy/term/29/0</link>
 <description>Posts about Erlang.</description>
 <language>en</language>
<item>
 <title>Experiments with Erlang</title>
 <link>http://nolan.eakins.net/node/310</link>
 <description>&lt;p&gt;Earlier today I setup an instance of &lt;a href=&quot;http://hg.oss.semanticgap.com/&quot;&gt;HgWeb&lt;/a&gt; to host some old and new code bases of mine. Two of the repositories may interest those learning or looking to learn Erlang. Both repositories contain a simple project that doesn&#039;t amount to much of anything at the moment, though they could prove useful for some code reading/banging.&lt;/p&gt;
&lt;p&gt;The two repositories are:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://hg.oss.semanticgap.com/station&quot;&gt;Station&lt;/a&gt;: This is a super basic, simple HTTP server framework. It can currently parse an HTTP request which gets dispatched to a station behavior that you can define. The station behavior contains a function that gets called on each valid request and returns a response which is sent back to the requestor. Proper query string and form handling still needs to be done along with dispatching to different modules based on the requested path.&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://hg.oss.semanticgap.com/mod_rest/trunk&quot;&gt;mod_rest&lt;/a&gt;: This is an &lt;a href=&quot;http://www.ejabberd.ru/&quot;&gt;ejabberd&lt;/a&gt; module that adds an HTTP handler that allows HTTP clients to literally post arbitrary message stanzas to ejabberd. Those stanzas then get shoved through ejabberd&#039;s router just like any other stanza. My original use for this was to allow a Rails app to send messages through ejabberd without needing to be a full XMPP client.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You will need to install &lt;a href=&quot;http://www.selenic.com/mercurial/wiki/&quot;&gt;Mercurial&lt;/a&gt; to get the code onto your machine. It&#039;s the next best thing to git.&lt;/p&gt;</description>
 <comments>http://nolan.eakins.net/node/310#comment</comments>
 <category domain="http://nolan.eakins.net/taxonomy/term/29">Erlang</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/11">Jabber</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/14">Personal</category>
 <category domain="http://nolan.eakins.net/taxonomy/term/9">Programming</category>
 <pubDate>Sat, 07 Jun 2008 17:32:33 -0700</pubDate>
 <dc:creator>sneakin</dc:creator>
 <guid isPermaLink="false">310 at http://nolan.eakins.net</guid>
</item>
</channel>
</rss>
