Accidental Technologist

Musings about Entrepreneurship, Technology and Software Development

  • Home
  • About
  • Still River Software
  • Privacy Policy

Powered by Genesis

You are here: Home / Ruby / Learning Sinatra from a New Found Source

Learning Sinatra from a New Found Source

May 11, 2009 by Rob Bazinet Leave a Comment

Tweet

sinatra-logo

Sinatra is a relatively new DSL written in Ruby for creating web applications.  I only recently started working with Sinatra as an alternative to Ruby on Rails for the applications which are smaller and don’t need all the overhead of Rails.

The Sinatra web site has wealth of information on what Sinatra is, including a great wealth of documentation on many aspects of this DSL:

Options and Configuration

Detailed documentation on all of Sinatra’s built-in options and using set, enable, and disable to configure them.

Testing with Sinatra

Guide to testing Sinatra apps. Includes information on integrating Sinatra’s test helpers with test/unit, RSpec, Bacon, and test/spec.

Writing Extensions

How to add new functionality to Sinatra using the extension APIs.

API Documentation

Generated from Sinatra’s source with RDoc. The Rack API docs should also be consulted.

Also available with an alternate template at http://railsapi.com/sinatra.

Although the site is well put together and includes details which can help an experienced developer create new applications, the basics seem to be addressed a bit thin. A solution is in the works from a couple Sinatra folks, Bryan Woods and Markus Prinz, who are writing the Sinatra Book and doing so with an open audience on GitHub.  Up until a few days ago I was unaware of the book until a tweet by Bryan.

The book is obviously a work-in-progress but is a great start, as can be seen in the hyperlinked Table of Contents.  I haven’t gone through the book in its entirety but it is looking good and already proved its worth to me.  I wanted to point it out to the growing Sinatra fan base.

Technorati Tags: Sinatra,Sinatra Book,Ruby

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Email
  • More
  • Pinterest
  • Tumblr
  • Pocket
  • Reddit

Related

Filed Under: Ruby

Care about your privacy? I do and use Fathom Analytics on this site.

Fathom Analytics

Recent Posts

  • Status Bar in iTerm2
  • Supporting Multiple SSH Keys on macOS
  • Using the Microsoft Ergonomic Keyboard on macOS
  • 10 Steps to Survive Working from Home
  • “Are you building a business or learning a stack?”

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • I’ve been listening to Jason’s podcast since he started. It’s great and you should check it out. Go now. https://t.co/1l5wBKyYBo
    about 24 hours ago
  • It looks like my current contract is ending on 3/31. I will have some time to explore some new projects. I’m happy… https://t.co/E827oEF3UF
    about 1 day ago
  • RSS - Posts
  • RSS - Comments
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.