Giter VIP home page Giter VIP logo

big_band's Introduction

Project is no longer maintained, please use sinatra-contrib instead.

Sinatra::BigBand

BigBand is a stack of Sinatra extensions, most of them developed as part of BigBand, but usable without, each of available as a separate gem. All BigBand extensions follow the same release cycle.

Usage

Simply replace Sinatra::Base with Sinatra::BigBand in your application.

require 'sinatra/big_band'
class MyApp < Sinatra::BigBand
  # ...
end

The BigBand Stack

Sinatra Extensions

Sinatra tool integration:

  • AsyncRack – Makes standard rack middleware play nice with async.callback
  • Haml::More – Adds more functionality to Haml and Sass
  • monkey-lib – Thin layer over ruby extension libraries (like ActiveSupport) to make those pluggable
  • Sinatra::TestHelper – Adds helper methods and better integration for various testing frameworks
  • Sinatra::Extension – Mixin to ease Sinatra extension development.
  • Yard::Sinatra – Displays Sinatra routes (including comments) in YARD output

Besides those extensions, there are others in the BigBand stack, that are external:

General Goals

  • No sub-project relies on BigBand
  • All sub-projects should work with MRI/REE >= 1.8.6 (including 1.9.x), JRuby >= 1.4.0 (>= 1.6.0 recommended) and Rubinius >= 1.0
  • Some sub-projects should work with MagLev and IronRuby (partial MacRuby support planned for later release)
  • Ease to modify the stack

Setup via gem

Try:

gem install big_band

Running the specs / Manual setup

Try something like this:

# dependencies, rather mainstream. just in case you don't have one of those.
gem install sinatra rspec rack-test rake

# get the source
git clone git://github.com/rkh/big_band.git
rake setup:read_only

# run the specs
rake spec

# run with multiple ruby implementations using rvm
rvm specs ree,1.9.1,rbx,jruby

big_band's People

Contributors

rkh avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.