<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>REST on Thorsten Hans</title>
    <link>https://thorsten-hans.com/tags/rest/</link>
    <description>Recent content in REST on Thorsten Hans</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 28 Apr 2014 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://thorsten-hans.com/tags/rest/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Create a lightweight REST service using Sinatra</title>
      <link>https://thorsten-hans.com/create-a-lightweight-rest-service-using-sinatra/</link>
      <pubDate>Mon, 28 Apr 2014 00:00:00 +0000</pubDate>
      <guid>https://thorsten-hans.com/create-a-lightweight-rest-service-using-sinatra/</guid>
      <description>&lt;p&gt;Exposing data using a REST service is an easy task which can be achieved using almost any programming language. In the past, I&amp;rsquo;ve used ASP.NET MVC WebApi to achieve this.&lt;/p&gt;&#xA;&lt;p&gt;However, as soon as you&amp;rsquo;ve to run your service on different platforms, CLR isn&amp;rsquo;t the best option. Programming languages like Ruby and Python or Node.js are stronger when it comes to cross-platform support.&lt;/p&gt;&#xA;&lt;p&gt;I love the Ruby syntax, and that&amp;rsquo;s why I&amp;rsquo;ll show how to build a small REST Service exposing tasks using Ruby&amp;rsquo;s Sinatra framework. Sinatra doesn&amp;rsquo;t require a fix or predefined project structure. I want to organize all the artifacts a little bit. That&amp;rsquo;s why I&amp;rsquo;ve chosen the following structure&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
