RubyGems Navigation menu

kaffe 0.0.4

# Kaffe Framework This is a minimalistic webframework inspired by sinatra and rails. ## Basic usage The idea is to use be able to create modular applications and forward requests between them. class Blog < Kaffe::Base use Rack::CommonLogger get '/?' do "Hello From Blog" end end class Admin < Kaffe::Base get '/login' do ... Login logics ... end error 400..500 do |code, message| .. show pretty error message .. end end class MyApp < Kaffe::Base route '/blog', Blog route '/admin', Admin end run MyApp ## API overview

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.4 - March 08, 2017 (10 KB)
Show all versions (2 total)

Runtime Dependencies (2):

rack ~> 1.5
tilt ~> 1.4

Development Dependencies (3):

bundler ~> 1.14
rake ~> 10.0
rspec ~> 3.0

Owners:

Authors:

  • Patrik Pettersson

SHA 256 checksum:

20a6d37aa30291365678acf8caeb024880779183303753a04b4e5eaff219791a

Total downloads 2,599

For this version 2,589

License:

MIT

Required Ruby Version: >= 0

Links: