Tagged: Sinatra

It’s An Angular Life

It’s An Angular Life

The Game of Life A while back, I programmed the Game of Life. No, not the board game. The game of life is a cellular simulation, where you have a grid of cells, each of which is either alive or dead. At each turn, the following rules are executed: Any live cell with fewer than two live neighbours dies, as if caused...

Building a Home for an App

Building a Home for an App

Before the holidays, we spent some time at Flatiron learning Sinatra. This week, we took the plunge into Rails. Both Sinatra and Rails are Ruby Frameworks, which let you get your Ruby apps online. But even though they serve the same purpose, they go about it very differently. Let’s say you have an ideal image in your mind of what you want...

Singing with Sinatra

Singing with Sinatra

Sinatra is a Ruby framework. It helps you take your app and get it online, complete with a front-end. I’ve spent the past week making various Sinatra apps, and it’s been a lot of fun. My first was Are You Still Sad?, an emergency compliment site. A Sinatra app has a few basic components. An app.rb file, a views directory, and a...