<?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>Xavier Llorà &#187; SEASR</title>
	<atom:link href="http://www.xavierllora.net/tag/seasr/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xavierllora.net</link>
	<description>A notebook on data-intensive computing, genetics-based machine learning &#38; more.</description>
	<lastBuildDate>Sun, 08 Jan 2012 19:39:15 +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>Fast REST API prototyping with Crochet and Scala</title>
		<link>http://www.xavierllora.net/2010/01/21/fast-rest-api-prototyping-with-crochet-and-scala/</link>
		<comments>http://www.xavierllora.net/2010/01/21/fast-rest-api-prototyping-with-crochet-and-scala/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 14:59:59 +0000</pubDate>
		<dc:creator>Xavier</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Crochet]]></category>
		<category><![CDATA[meandre]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[scala]]></category>
		<category><![CDATA[SEASR]]></category>

		<guid isPermaLink="false">http://www.xavierllora.net/?p=650</guid>
		<description><![CDATA[I just finished committing the last changes to Crochet and tagged version 0.1.4vcli now publicly available on GitHub (http://github.com/xllora/Crochet). Also feel free to visit the issues page in case you run into question/problems/bugs. Motivation Crochet is a light weight web framework oriented to rapid prototyping of REST APIs. If you are looking for a Rails [...]
Related posts:<ol>
<li><a href='http://www.xavierllora.net/2010/07/15/meandre-2-0-alpha-preview-scala-mongodb/' rel='bookmark' title='Meandre 2.0 Alpha Preview = Scala + MongoDB'>Meandre 2.0 Alpha Preview = Scala + MongoDB</a></li>
<li><a href='http://www.xavierllora.net/2009/12/01/meandre-is-going-scala/' rel='bookmark' title='Meandre is going Scala'>Meandre is going Scala</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I just finished committing the last changes to <em>Crochet</em> and tagged version 0.1.4vcli now publicly available on GitHub (<a href="http://github.com/xllora/Crochet">http://github.com/xllora/Crochet</a>).  Also feel free to visit the <a href="http://github.com/xllora/Crochet/issues">issues</a> page in case you run into question/problems/bugs.</p>
<h2>Motivation</h2>
<p><em>Crochet</em> is a light weight web framework oriented to rapid prototyping of REST APIs. If you are looking for a <a href="http://rubyonrails.org/">Rails</a> like framework written in <a href="http://www.scala-lang.org/">Scala</a>, please take a look at Lift at <a href="http://liftweb.net/">http://liftweb.net/</a> instead.</p>
<p><a href="http://github.com/xllora/Crochet">Crochet</a> targets quick prototyping of REST APIs relying on the flexibility of the <a href="http://www.scala-lang.org/">Scala</a> language. The initial ideas for Crochet were inspired while reading Gabriele Renzi post on creating the <a href="http://www.riffraff.info/2009/4/11/step-a-scala-web-picoframework">STEP</a> picoframework with <a href="http://www.scala-lang.org/">Scala</a> and the need for quickly prototyping APIs for pilot projects. <em>Crochet</em> also provides mechanisms to hide repetitive tasks involved with default responses and authentication/authorization piggybacking on the mechanics provided by application servers.</p>
<h2>Who uses Crochet?</h2>
<p><em>Crochet</em> was born from the need for quickly prototyping REST APIs which required exposing legacy code written in Java. I have been actively using <a href="http://github.com/xllora/Crochet">Crochet</a> to provide REST APIs for a variety of projects developed at the <a href="http://www.ncsa.illinois.edu">National Center for Supercomputing Applications</a>. One of the primary adopters and movers of <em>Crochet</em> is the <a href="http://seasr.org/meandre/">Meandre</a> Infrastructure for data-intensive computing developed under the <a href="http://seasr.org/">SEASR</a> project.</p>
<h2>Crochet in 2 minuts</h2>
<p>Before you start please check you have <a href="http://www.scala-lang.org/">Scala</a> installed on your system. You can find more information on how to get Scala up and running <a href="http://www.scala-lang.org/downloads">here</a>.</p>
<ol>
<li>Get the latest <em>Crochet</em> jar from the <a href="http://github.com/xllora/Crochet/downloads">Downloads</a> section at <a href="http://github.com/xllora/Crochet/">GitHub</a> and the third party dependencies. </li>
<li>Copy the following code into a file named <code>hello-world.scala</code>.

<div class="wp_syntax"><div class="code"><pre class="scala" style="font-family:monospace;"><span style="color: #0000ff; font-weight: bold;">import</span> crochet.<span style="color: #000080;">_</span>
<span style="color: #0000ff; font-weight: bold;">new</span> Crochet <span style="color: #F78811;">&#123;</span>
     get<span style="color: #F78811;">&#40;</span><span style="color: #6666FF;">&quot;/message&quot;</span><span style="color: #F78811;">&#41;</span> <span style="color: #F78811;">&#123;</span> 
         <span style="color: #000080;">&lt;</span>html<span style="color: #000080;">&gt;</span>
               <span style="color: #000080;">&lt;</span>head<span style="color: #000080;">&gt;&lt;</span>title<span style="color: #000080;">&gt;</span>Hello World<span style="color: #000080;">&lt;</span>/title<span style="color: #000080;">&gt;&lt;</span>/head<span style="color: #000080;">&gt;</span>
               <span style="color: #000080;">&lt;</span>body<span style="color: #000080;">&gt;&lt;</span>h1<span style="color: #000080;">&gt;</span>Hello World<span style="color: #000080;">!&lt;</span>/h1<span style="color: #000080;">&gt;&lt;</span>/body<span style="color: #000080;">&gt;</span>
         <span style="color: #000080;">&lt;</span>/html<span style="color: #000080;">&gt;</span>
     <span style="color: #F78811;">&#125;</span>
<span style="color: #F78811;">&#125;</span> on <span style="color: #F78811;">8080</span></pre></div></div>

</li>
<li>Get your server up and running by running (please change the version number if needed)
<pre>$ scala -cp crochet-0.1.4.jar:crochet-3dparty-libraries-0.1.X.jar hello-world.scala</pre>
</li>
<p>You just have your first _Crochet_ API up and running. You can check the API working by opening your browser and pointing it to <a href="http://localhost:8080/message">http://localhost:8080/message</a> and you should get the message <code>Hello World!</code> back.</p>
<h2>Where to go from here?</h2>
<p>You will find more information on the <a href="http://wiki.github.com/xllora/Crochet/">Crochet wiki</a> at <a href="http://github.com/xllora/Crochet">GitHub</a>. The wiki contains basic information as a QuickStart guide (which also includes how to deal with static content), descriptions of the basic concepts used in <em>Crochet</em>, and several examples that can get up and running fast. </p>
<p>Related posts:<ol>
<li><a href='http://www.xavierllora.net/2010/07/15/meandre-2-0-alpha-preview-scala-mongodb/' rel='bookmark' title='Meandre 2.0 Alpha Preview = Scala + MongoDB'>Meandre 2.0 Alpha Preview = Scala + MongoDB</a></li>
<li><a href='http://www.xavierllora.net/2009/12/01/meandre-is-going-scala/' rel='bookmark' title='Meandre is going Scala'>Meandre is going Scala</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.xavierllora.net/2010/01/21/fast-rest-api-prototyping-with-crochet-and-scala/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>On the road again for Internet2 and Bamboo</title>
		<link>http://www.xavierllora.net/2008/10/13/on-the-road-again-for-internet2-and-bamboo/</link>
		<comments>http://www.xavierllora.net/2008/10/13/on-the-road-again-for-internet2-and-bamboo/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 14:19:12 +0000</pubDate>
		<dc:creator>Xavier</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[meandre]]></category>
		<category><![CDATA[SEASR]]></category>

		<guid isPermaLink="false">http://www.xavierllora.net/?p=308</guid>
		<description><![CDATA[Yesterday I just got to New Orleans for the Internet2 fall meeting. I was invited to give a talk about work we are doing on the SEASR project at NCSA. SEASR fosters collaboration through empowering scholars to share data and research in virtual work environments. The SEASR project is funded by the Andrew W. Mellon [...]
Related posts:<ol>
<li><a href='http://www.xavierllora.net/2008/06/18/iceis-2008-blogging-summary-and-final-strings/' rel='bookmark' title='ICEIS 2008: Blogging summary and final strings'>ICEIS 2008: Blogging summary and final strings</a></li>
<li><a href='http://www.xavierllora.net/2008/11/15/meandre-semantic-driven-data-intensive-flows-in-the-clouds/' rel='bookmark' title='Meandre: Semantic-Driven Data-Intensive Flows in the Clouds'>Meandre: Semantic-Driven Data-Intensive Flows in the Clouds</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I just got to New Orleans for the <a href="http://events.internet2.edu/2008/fall-mm/">Internet2 fall meeting</a>. I was invited to give a talk about work we are doing on the <a href="http://seasr.org/">SEASR project</a> at <a href="http://www.ncsa.uiuc.edu/">NCSA</a>. SEASR fosters collaboration through empowering scholars to share data and research in virtual work environments. The <a href="http://seasr.org/">SEASR project</a> is funded by the <a href="http://www.mellon.org/">Andrew W. Mellon Foundation</a>. The last part of the week I will be at San Francisco joining the <a href="http://projectbamboo.org/">Project Bamboo</a> workshop, again representing the <a href="http://seasr.org/">SEASR project</a> seeking a better understanding of possible synergies.</p>
<p>Related posts:<ol>
<li><a href='http://www.xavierllora.net/2008/06/18/iceis-2008-blogging-summary-and-final-strings/' rel='bookmark' title='ICEIS 2008: Blogging summary and final strings'>ICEIS 2008: Blogging summary and final strings</a></li>
<li><a href='http://www.xavierllora.net/2008/11/15/meandre-semantic-driven-data-intensive-flows-in-the-clouds/' rel='bookmark' title='Meandre: Semantic-Driven Data-Intensive Flows in the Clouds'>Meandre: Semantic-Driven Data-Intensive Flows in the Clouds</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.xavierllora.net/2008/10/13/on-the-road-again-for-internet2-and-bamboo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

