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

  • How to Fix Rails Flash Rendering When Using Hotwire
  • Hotwire Fix for CORS Error when using Omniauth
  • Fix Installation of Ruby using rbenv on macOS Big Sur
  • RailsConf 2021 and the Future of Conferences
  • Fixing Out of Diskspace Errors on Amazon EC2

Categories

Services I Love

HatchBox - Easy Rails Deploys Fathom Analytics
Follow @rbazinet

Rob Bazinet
@rbazinet

  • Just for the record and anyone who might consider it...Godaddy is a complete mess and scammy. I don't think I would… https://t.co/755jpkLbnE
    about 3 days ago
  • This is so true and has been my personal take on people complaining they are busy - https://t.co/YW8NTQLXtl
    about 1 week ago
  • Wow…https://t.co/h94ia053sL
    about 1 week ago
  • My Bills lost today but more importantly so did the Dallas Cowboys. Nice seeing the ‘boys done for the season.
    about 2 weeks ago
  • It looks like the Apple Xcode command line tools is a bit bloated for it to take this long… https://t.co/U0HObTvzXf
    about 2 months ago
  • RSS - Posts
  • RSS - Comments