Urls, Uniform Resource Locator, are fundamental to the web. These are the addresses that are used for finding web pages or, more specifically, ‘resources’ as they don’t actually need to be web pages, they can be anything from images, files or even…
Continue Reading… Asynchronously Adding and Deleting Resources in Sinatra In part one of this tutorial we went through how to add and delete robots into a database. In this tutorial I’m going to show how you can leverage the XMLHttpRequest to perform actions in…
Continue Reading… Adding and Deleting Resources in Sinatra In this tutorial I’m going to go through how to use Sinatra to add and remove resources to and from a database. To demonstrate this, I’m going to build a tiny web app called The Robot…
Continue Reading… If you’ve ever developed something using Ruby then you know it’s a blast to use. It flows well, reads well, and has lots of cool ways to get things done. Beyond the day-to-day APIs you might be used to, there lies a…
Continue Reading… Ruby is an opinionated language, and it has an opinionated community. This is a great thing. It keeps the language clean, understandable, and fun. Ruby can be antagonistic when it comes to a framework like .NET, and I’ll touch on that in…
Continue Reading… Today makes our first post in a new ongoing series called Ruby Colored Glasses. This series aims to briefly study items outside the Ruby community that are interesting. These items may have influenced or been influenced by Ruby. Here at Rubysource, we…
Continue Reading… In the last post in our series on Switching from .NET to Ruby, we looked at Classes. Classes were a real in depth topic since there’s a large number of class differences between .NET and Ruby. This post is going to take…
Continue Reading… Welcome to the last part of this series. The aim of this series of tutorials has been to take somebody who has never used Sinatra from creating an app to deploying it. You can find the other parts of the series at…
Continue Reading… In the previous post of this series .NET to Ruby: The Ruby Environment, we went through the fundamental tools that made up Ruby. If you recall we talked about running Ruby on the command line, using IRB, we wrote our first Hello…
Continue Reading… In Part 2 of this tutorial, we used DataMapper to save tasks to a database back end and created a web front end that used Sinatra to show, add, delete and complete tasks. In this tutorial we will make it look a…
Continue Reading…