<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sinatra on Tim Loughrist</title><link>https://timloughrist.com/category/sinatra/</link><description>Recent content in Sinatra on Tim Loughrist</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 10 Nov 2022 11:32:56 +0000</lastBuildDate><atom:link href="https://timloughrist.com/category/sinatra/index.xml" rel="self" type="application/rss+xml"/><item><title>Going beyond table data with Sinatra</title><link>https://timloughrist.com/2022/11/10/going-beyond-table-data-with-sinatra/</link><pubDate>Thu, 10 Nov 2022 11:32:56 +0000</pubDate><guid>https://timloughrist.com/2022/11/10/going-beyond-table-data-with-sinatra/</guid><description>&lt;p&gt;&lt;a href="https://github.com/sinatra/sinatra#serving-a-modular-application"&gt;Sinatra&lt;/a&gt; is a domain specific programming language designed to allow the HTTP request handling capacity of a web application to be built quickly and easily. Sinatra’s routes elegantly and eloquently combine an HTTP method, e.g., ‘get’, ‘post’, ‘patch’, and ‘delete’, with a URL matching pattern so that when the relevant HTTP request is made to the relevant URL, a block of code is executed.&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://guides.rubyonrails.org/active_record_basics.html"&gt;Active Record&lt;/a&gt; is an &lt;a href="http://en.wikipedia.org/wiki/Object-relational_mapping"&gt;object-relational mapper&lt;/a&gt;, linking the objects of a web-application to the data contained in the related database’s tables.&lt;/p&gt;</description></item></channel></rss>