Sinatra has taken the stage on authr.co.uk

Posted by degsy
on Sunday, May 18

Taking yesterday's learnings with Ruby and Sinatra, I decided to make my app in less than 24 hours.

Now, the application is a starting point for a large app that I have in mind for authr.co.uk, and it only allows you to search and find articles on Wikipedia (so nothing amazing!)

I'm using Hpricot, the Wikipedia API.and the MediaCloth gem to cobble together something of use to me in a short timeframe.

I'll be improving the application over the next few days hopefully (given time) and adding features along with fixing bugs, but I'm impressed with my ability to stick to a plan (getting the app up) and learning new things fast!

Any feedback, please leave a comment.

Doing it My Way

Posted by degsy
on Saturday, May 17

Yesterday afternoon, after being sent home from work early, I thought I'd try out Sinatra as a way of learning more Ruby

I've been needing to learn more in-depth Ruby for a while, and looking for an excuse to do so, being bored yesterday was one reason, and Sinatra sounded cool, so I thought I'd give it a go!

It literally is as easy as it says in the docs, and below is all you need for your Hello, World! application:


  require 'rubygems'
  require 'sinatra' 

  get '/' do
    "Hello, World!" 
  end

Off to have more fun, and hoping to launch my first app before the weekend is out!