In part one of this tutorial, we set Sinatra up and displayed some pages. Now the fun really starts – we will be using a database to store our tasks in. In this tutorial we will be using SQLite for the local…
Continue Reading… Up to this point in the Rails Deep Dive series, we’ve focused on digging down into the entrails of the framework, attempting to uncover some of the ways that Rails accomplishes its magic. Going forward, I want to create a Rails 3.1…
Continue Reading… In this tutorial, I’m going to show you just how quick and easy it easy to use Sinatra to create a simple To Do list app.
Continue Reading… Transitioning from .NET to Ruby: Hi there! I hear you want to make the transition from .NET to Ruby. It’s not a hard task, but it’s always nice to start with guidance. I too was once in your shoes. Master of .NET,…
Continue Reading… I first heard about Sinatra a couple of years ago and have been in love with it ever since. For those of you who haven’t heard of it, Sinatra is a DSL that is used to create web applications.
Continue Reading… Our resident PHP developer Mal Curtis checks out Ruby’s ability to group code with namespaces, and how it compares to PHP. Keep reading to check out how versatile Ruby is.
Continue Reading… This is my last post in the Code Safari series here on Ruby Source. I have really enjoyed writing it and trying out a new format which I hope you have found useful. For my concluding article, I want to leave you…
Continue Reading… Our resident PHP developer Mal Curtis looks at how you can dynamically alter the functionality of Ruby classes at runtime. Read on to learn about Monkey Patching.
Continue Reading… A few weeks ago, I wrote an article about splitting out work to be done into threads to improve performance of a URL checker. A commenter noted that the parallel gem could be used to achieve the same result, which got me…
Continue Reading… Our resident PHP developer Mal Curtis delves into the differences between PHP’s property visibility and Ruby’s attribute accessor visibility. Read on to learn about how fundamentally different Public, Protected, and Private visibility is between the two languages.
Continue Reading…