<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Technology of Content &#187; erlang webmachine frameworks http REST</title>
	<atom:link href="http://blog.technologyofcontent.com/tag/erlang-webmachine-frameworks-http-rest/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.technologyofcontent.com</link>
	<description>Ramblings on the technology of content management</description>
	<lastBuildDate>Sun, 29 Jan 2012 16:38:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Webmachine and web frameworks</title>
		<link>http://blog.technologyofcontent.com/2009/06/webmachine-and-web-frameworks/</link>
		<comments>http://blog.technologyofcontent.com/2009/06/webmachine-and-web-frameworks/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 20:25:28 +0000</pubDate>
		<dc:creator>justin</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[erlang webmachine frameworks http REST]]></category>

		<guid isPermaLink="false">http://blog.technologyofcontent.com/?p=28</guid>
		<description><![CDATA[A short post about webmachine, and why it is an interesting web framework.]]></description>
			<content:encoded><![CDATA[<p>I have just started experimenting with <a href="http://bitbucket.org/justin/webmachine/wiki/Home">Webmachine</a>, an Erlang, well, REST framework for lack of anything better to call it.</p>

<p>I think what it does is best explained with the diagram <a href="http://bytebucket.org/justin/webmachine/wiki/http-headers-status-v3.png"><img src="http://bytebucket.org/justin/webmachine/wiki/http-headers-status-v3.png" width="500" alt="http state diagram" /></a>.</p>

<p>All you do is write functions that fill in the decision points in the diagram if necessary (the defaults are mostly sane), and write a list of
dispatch points (pattern matches against the URL in effect). Compared to other REST frameworks such as Rack or WSGI it is much more complete, as it fills in a lot more of the work you need to do, rather than just providing a way to pass back return codes, headers and bodies like many other libraries do. (To be fair some of these add other framework bits of functionality).</p>

<p>I really like this &#8211; it certainly seems the right way to go about the process, and to support the application developer, and I think it is worth a look even if you are not particularly interested in programming in Erlang.</p>

<p>Oh and it can draw you trace pictures of the progress of your requests through the state diagram, which is rather cool too.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.technologyofcontent.com/2009/06/webmachine-and-web-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: blog.edge3.org

Served from: blog.technologyofcontent.com @ 2012-02-04 14:24:33 -->
